masquerade + static IP

I.Ioannou roryt at hol.gr
Thu Feb 11 06:22:46 EET 1999


Exw to para katw sxima :

internet<->modem<->Linux<->eth0<->192.168.0.x
                     |
                     <->eth1<->aaa.aaa.aaa.aaa (static)

To diktio 192.168.0.x to pernaga mexri twra apo masquerade, kai oi
firewall rules htane 

ipfwadm -F -p deny
ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0/0

poio kanona (h ti allo) prepei na prosthesw wste to ypodiktio
aaa.aaa.aaa.aaa pou pernaei apo thn eth1 na einai full syndedemeno
sto internet me static IPs kai oxi me masquerade ? 
Arkei kati tetoio ? :

ipfwadm -F -a accept -S aaa.aaa.aaa.0/24 -D 0.0.0/0

(enoeitai h eth1 einai setarismenh ok, to route table toy linux blepei
kai to 192.168 kai to aaa.aaa.aaa, kernel 2.0.36)

TIA

---
I.Ioannou <roryt at hol.gr>
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list