Rsync PortRedirection

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

 



Hi,
  How can i use rsync beetwen 2 computers in diferents networks? I
put an addicional ip address in the router to host this forward that i
will call _ip2

Computer A = 139.82.xxx.xx1
Computer B = 192.168.1.4
router_ip2 = 139.82.xxx.xx2

router_ip2 and computer A are onde the same network
router is on both networks, of course

rsync uses port 873 i guess

this is what i want to run:
rsync -razvp localhost:/home/ 139.82.xxx.xx2::backup/daily

139.82.xxx.xxx -> router -> 192.168.1.4 : 873

i tried:
iptables -t nat -A PREROUTING -d 139.82.xxx.xx2 -i eth0 -p tcp --dport
873 -j DNAT --to 192.168.1.4
...but didnt work

thanks


[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