trying to set up a remote backup site with rsync over ipsec vpn tunnel. first tried rsync between two linux machines within the local subnet. works fine. then set up a VPN with two linksys BEFVP41 vpnrouters. The tunnel is connected and the pair of machines can ping each other. but tried the same rsync command, hang up:
#rsync --port=8753 --list-only 156.12.11.100::
rsync: failed to connect to 156.12.11.100:Connection timed out(100)
rsync error: error in socket IO (code 10) at clientserver.c(104)
Note: I use TCP 8753 port for rsync. The above command should show the rsync content on the server. no clues at all. any assistance would be greatly appreciated.
Make sure that the port 8753 is not blocked for communication. A simple test could be to run
and see if you get rsync daemon strings.
tried "telnet 156.12.11.100 8753". it seems the communication is blocked:
telnet: connect to address 156.12.11.100: connection timed out
telnet: unable to connect to remote host: connection timed out.
port 8753 is already open by command "iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 8753 -j ACCEPT" on both server and client machines firewall. Otherwise rsync wouldn't have been successful within the local subnet.
then what could block the communication?