masquerade + static IP

Vasilis Vasaitis mod at hal.csd.auth.gr
Fri Feb 12 00:27:43 EET 1999


On Thu, Feb 11, 1999 at 06:22:46AM +0200, I.Ioannou wrote:
> 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>

  Fantazomai oti prepei na valeis kai to antistrofo, diladi:

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

Vasilis Vasaitis
vvas at egnatia.ee.auth.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