Forward eth0-ippp0

Andre Landwehr andre.landwehr at gmx.net
Mon Nov 22 21:54:53 CET 1999


On Mon, Nov 22, 1999 at 09:44:29PM +0100, Matthias Hovestadt wrote:
> Kannst Du mir ganz eventuell einen kleinen Tip geben, wie ich die Firewall
> dann konfigurieren muss? Der Linux-Rechner hat die IP 192.168.1.1, die
> anderen lokalen Rechner entsprechend die Adressen 192.168.1.x.
> 
hab auch nicht so die riesen Ahnung davon, aber für den Anfang sollte sowas
hier reichen:

ipchains -A forward -p all -s 192.168.1.0/24 -d 0.0.0.0/0 -j MASQ

             ^^       ^^        ^^                ^^          ^^
           an die    alle     von wo             nach wo    jump target
          forward    ports                     jeweils mit   (macht das
        chain hängen                            netmask      masquerading)



Gruß
Andre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/19991122/3e5406d7/attachment.sig>


More information about the Linux mailing list