firewall problem again

I.Ioannou roryt at hol.gr
Sun Feb 14 00:19:51 EET 1999


Epanerxomai se kati pou ksanarwthsa, sorry, alla paw na trelathw :

Se firewall me IP x.x.x.7 thelw na afhsw mhxanhma pou einai
 panw sthn eth1 kai exei IP x.x.x.8. Taytoxrona kanw kai 
masquarading se mixanimata me 192.168.0.x sthn eth0 . Deinw :

ipfwadm -F -p deny
ipfwadm -F -f

ipfwadm -F -i accept -V x.x.x.7 -W eth1 -b -S 0.0.0.0/0 \ 
-D x.x.x.8/255.255.255.252

ipfwadm -F -i accept -V x.x.x.7 -W eth1 -b \ 
-S x.x.x.8/255.255.255.252 -D 0.0.0.0/0 

ipfwadm -F -i m -S 192.168.0.0/255.255.255.255 -D 0.0.0.0/0

To ipfwadm -F -l mou ta deixnei swsta, kai to ipfwadm -F -c , 
me sygkekrimena paketa, apo kai pros to static x.x.x.8 mou leei oti
einai accepted. Alla enw to masquarading einai ok, to static IP den
paizei para mono an balw default policy accept (aparadekto). 

Ti mou diafeygei ? Kamia idea ?

---
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