Re: DNAT not working

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

 



Payal Rathod wrote:
Hi,
My gateway server is Ubuntu 6.06.1 LTS, iptables v1.3.3. By ifconfig I have added one more ip say 1.2.3.4 (eth0:1). iptables-save gives me the output at,
http://pastebin.ca/446625

# cat /proc/sys/net/ipv4/ip_forward
1


But when I connect to 1.2.3.4 port 25, instead of redirecting me to 10.10.200.2 it connects me to port 25 of the gateway machine. I am totally confused, can anyone help me out please?

Try -d 1.2.3.4 instead of -s.

HTH,
M4



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux