[glux] iptables aprire porte
mario rossi
legazzelle2004@yahoo.it
Mer 26 Ott 2005 22:10:33 CEST
--- mario rossi <legazzelle2004@yahoo.it> ha scritto:
ecco la guida:
Using SuSE Linux as a client machine
If you run SuSE Linux on your client machine which
runs a firewall itself, you need to do the following
to allow the correct ports to come through:
You basically need to allow TCP and UDP ports 4662 and
4672 to be open.
Open /etc/sysconfig/SuSEfirewall2, and locate
FW_SERVICES_EXT_TCP and FW_SERVICES_EXT_UDP. Now add
to both of these the above ports:
FW_SERVICES_EXT_TCP="4662 4672"
FW_SERVICES_EXT_UDP="4662 4672"
Devo aggiungere queste 2 righe?
Laguida prosegue:
Using SuSE Linux as a router/firewall
If you use SuSE Linux on your router/firewall to
connect to the internet you can do the following to
forward the ports used by aMule/eMule/etc to your
client:
Set your firewall to forward all connections coming to
it thorugh ports 4662 and 4672 in TCP and UDP to your
internal client machine.
Open /etc/sysconfig/SuSEfirewall2 and locate
FW_FORWARD_MASQ (it's in 14.). Now, assuming your
client's IP is 192.168.0.3, set this to this value:
FW_FORWARD_MASQ="0/0,192.168.0.3,tcp,4662
0/0,192.168.0.3,udp,4662 0/0,192.168.0.3,tcp,4672
0/0,192.168.0.3,udp,4672"
Note that a rule like "0/0,192.168.0.3,tcp,4662"
simply means that incoming TCP connections through
port 4662 from any address (0/0) will be forwarded to
your the machine 192.168.0.3 on the same port.)
For this to work, you have to have FW_ROUTE (in 5.)
set to "yes" in the same file.
After making these changes, save the file.
Dato il mio pessimo inglese e la mia paura nel mettere
mani in tali file, vi chiedo conferma:
Devo solo inserire quelle stringhe in
etc/sysconfig/SUSEfirewall2 ?
Grazie ancora
Mario
:-)
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
Maggiori informazioni sulla lista
glux