[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Regola IpTables



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Sep 13, 2005, at 2:46 PM, WannaBe wrote:

Ho la necessità di permettere ad un pc della mia rete di scaricarsi la posta dal sito libero.it e volevo costruire una regola di iptables ad hoc.
Ho scritto:
iptables -t nat -A POSTROUTING -j MASQUERADE -s 10.1.17.1 -d 193.70.192.70 --dport 110

Sei sicuro che te la prende la regola scritta in questo modo? Non mi risulta sia la sintassi giusta... l'opzione "--dport" e "--sport" richiedono di specificare il protocollo con "-p"

Prova questa:

iptables -t nat -A POSTROUTING -j MASQUERADE -p tcp -s 10.1.17.1 -d 193.70.192.70 --dport 110

- - Riccardo Tortorici -
Linux Registered User #365170
Count yourself @ http://counter.li.org/ !
- --
HTML email can be dangerous, is not always readable, wastes bandwidth
and is simply not necessary please don't send them to me!

http://www.georgedillon.com/web/netiquette.shtml





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDJtlGSiJn2/P84wYRAvVIAJ0XgxD7UMuoEqGBtIr3GBbqEPdHjwCfadiT
tkdEQ5guNzA1vajRHnJht2o=
=HrWl
-----END PGP SIGNATURE-----



Reply to: