Displaying 1 result from an estimated 1 matches for "ipatbles".
Did you mean:
  ipables
  
2005 Jun 01
0
SNAT (or MASQUERADING) and DNAT question
...873     -
DNAT     loc:192.168.254.100   loc:192.168.254.107         tcp     873     -
So I would prefer to redirect all rsync traffic from network. An other 
important thing is that all my harware are on the same subnet (gateway, 
server, workstations).
I''ve tried to use SNAT and DNAT ipatbles rules to do that but without any 
succes :
iptables -t nat -A POSTROUTING -d 192.168.254.1 -o eth0 -p tcp --dport 873 -j 
SNAT --to-source 192.168.254.1
iptables -t nat -A POSTROUTING -d 192.168.254.1 -o eth0 -p udp --dport 873 -j 
SNAT --to-source 192.168.254.1
iptables -t nat -A PREROUTING -d 19...