forwarding traffic to different hosts

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

 



Hi,

Sorry, another question, things aren't working well for me tonight.  If
I want traffic to port 777 on a host to be redirected to another host on
the same LAN, will this do the job?

I'm on host 198.81.129.100, and I want all traffic from IP address
207.155.252.12 to port 777 to be redirected to a different host, .101 on
the same network, if I try this rule it fails:

iptables -t nat -I PREROUTING --source 207.155.252.12 -p tcp --dport 777
-j DNAT --to-destination 198.81.129.101

But I don't see anything in the logs.  I tried permitting all traffic to
port 777 in for FORWARD and OUTPUT tables, but that didn't make a
difference.

Any ideas?

-- 
mors omnia vincit


[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