-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Andreas, es funzt .. :o) Ich danke dir für die Hilfe, (und gebe dir hiermit ein Getränk deiner Wahl aus :o). Kannst du mir erklären warum ich den ganzen iptables-Hokuspokus machen muß ? Ich verstehe nicht, warum das beim ippp0-Device von sich aus funzt, bei eth1 nicht .. Wie kann ich diese Regeln am besten "permanent" machen, sodaß sie nach dem Booten wieder aktiv sind ? Ich verwende die SuseFirewal2 .. Danke nochmal .. Grüße Harry Andreas Koenecke schrieb:
Hallo Harry.
* Montag, 17. April 2006 um 19:46 (+0200) schrieb Harry Rüter:
Andreas Koenecke schrieb:
('iptables -t nat -I 1 POSTROUTING -o eth1 -d 192.168.2.50 -j MASQUERADE') Ich bin leider kein iptables-Spezialist ... da stimmt was nicht :
---schnipp--- newserver:/proc/sys/net/ipv4 # iptables -t nat -I 1 POSTROUTING -o eth1 -d 192.168.2.50 -j MASQUERADE iptables v1.2.9: Invalid rule number `POSTROUTING' Try `iptables -h' or 'iptables --help' for more information. ---schnipp---
Irgendwann lerne ich es auch noch... ;)
'iptables -t nat -I POSTROUTING 1 -o eth1 -d 192.168.2.50 -j MASQUERADE'
Gruß
Andreas
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) iD8DBQFEQ99o7ttRafA1ej8RAoaRAJ9gRn41Xwa3CUhxhpYlRc1Ab3pV8ACgi1cg 71l+P9MiqlSDCePaqdVmW9A= =gAHW -----END PGP SIGNATURE-----