How to forward a local port to another IP (kernel 2.6.12)
Hi!
I'm trying to forward all (locally generated) traffic through a (local) port to the same port on a remote machine. Until recently the following lines in the iptables config file did the job perfectly: *nat -A OUTPUT -p tcp -d localhost --dport yy -j DNAT --to xx.xx.xx.xx:yy COMMIT But since the last kernel update I get the following error at iptables startup: kernel: NAT: no longer support implicit source local NAT kernel: NAT: packet src xx.xx.xx.xx -> dst 127.0.0.1 Does anybody know what went wrong? I'm running the kernel 2.6.12-1.1372_FC3. Thanks for any help. saba |
You are using the table parameter right?
-t nat -A .... |
As I understood the structure of the configuration file (/etc/sysconfig/iptables in the FC3 distro) everything between the lines '*nat' and 'COMMIT' goes into the nat table. Am I right?
|
Quote:
Thanks! |
All times are GMT -5. The time now is 10:07 AM. |