iptables question

Gregory Nowak greg at romuald.net.eu.org
Sun Jul 4 10:30:03 EDT 2004


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

Hello again.

Well, what do you know, I got it working (big smile).

Doing some web searching turned up the fact that I needed to enable
CONFIG_IP_NF_NAT_LOCAL. So what I finally ended up with in my firewall
script is

iptables -t nat -A OUTPUT -p tcp -o eth0 --dport 25 -j DNAT
- --to-destination  aaa.bbb.ccc.ddd-eee.fff.ggg.hhh

(watch the line wrapping if you use this), and it works
flawlessly. Thanks to all those who helped and offered suggestions.

Greg


- -- 
Free domains: http://www.eu.org/ or mail dns-manager at EU.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFA6BRr7s9z/XlyUyARAi47AJ9iVplyL6hpymD9B7T6ptExoXzlzgCgmq3L
n7+PfoLZ3B8S9JvQC10pDyg=
=SC3F
-----END PGP SIGNATURE-----




More information about the Speakup mailing list