forwarding/masquerading

Startseite
Anhänge:
Nachricht
+ (text/plain)
Nachricht löschen
Nachricht beantworten
Autor: Wolf Drechsel
Datum:  
To: Linux-Gruppe Schwabach
Betreff: forwarding/masquerading
Hallo Kollegen,

inzwischen läuft auf meiner Kiste relativ viel - mit dem neuen Kernel...

nur leider das IP-Forwarding/Masquerading nicht mehr.

Mit dem Knoppix-Kernel habe ich es (zufällig) mit zwei übel
beleumundeten Zeilen hingekriegt (jajaichweiß, sicherheitstechnisch
katastrophal, aber in meiner Situation vertretbar):


iptables -A POSTROUTING -t nat -j MASQUERADE -o ippp0
echo 1 > /proc/sys/net/ipv4/ip_forward

Wenn ich das aufrufe, passiert folgendes:

root@P166:/etc# iptables -A POSTROUTING -t nat -j MASQUERADE -o ippp0
iptables v1.2.7a: can't initialize iptables table `nat': Table does
not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.


root@P166:/etc# echo 1 > /proc/sys/net/ipv4/ip_forward
-bash: /proc/sys/net/ipv4/ip_forward: No such file or directory

root@P166:/etc# lsmod
Module Size Used by
sr_mod 14712 0 (autoclean)
cdrom 22296 0 (autoclean) [sr_mod]
vfat 9660 0 (autoclean)
fat 30680 0 (autoclean) [vfat]
sg 25580 1 (autoclean)
parport_pc 13540 2 (autoclean)
lp 6112 0 (autoclean)
parport 9664 2 (autoclean) [parport_pc lp]
appletalk 20672 17 (autoclean)
hisax 131552 5
isdn 96544 6 [hisax]
slhc 5088 2 [isdn]
ide-scsi 7824 1
3c509 8724 1
apm 9468 0 (unused)

Das sind meine Module, hat jemand eine Idee, welches Modul ich noch
dazuladen muß?

Mit Dank und herzlichen Grüßen

Wolf
--
++++++++++++++++++++++++++++++++++++++++++
+ Gesellschaft für fahrgastorientierte Verkehrsplanung b.R.
+ Köhnstr. 54
+ D-90478 Nürnberg
+ Tel.:0911/4 71 98 49
+ drechsel@???
+ www.verkehrsplanung.com
++++++++++++++++++++++++++++++++++++++++++