iptables question

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

 



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




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux