Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. rem Install a new service for rsync and start it
  2.  
  3. cygrunsrv.exe -I rsyncd -e CYGWIN=nontsec -p c:/rsyncd/rsync.exe -a "--config=c:/rsyncd/rsyncd.conf --daemon --no-detach"
  4. cygrunsrv.exe --start rsyncd
  5.  
  6. rem Les Stott notes you can setup the WinXP firewall to allow
  7. rem port 873 TCP connections to rsync with the following script
  8. rem lines. Remove the rem lines to run these three commands.
  9. rem
  10. rem netsh firewall set allowedprogram program = c:\rsyncd\rsync.exe name = rsync mode = enable scope = CUSTOM addresses = LocalSubnet
  11. rem netsh firewall set portopening protocol = TCP port = 873 name = rsyncd mode = enable scope = CUSTOM addresses = LocalSubnet
  12. rem netsh firewall set icmpsetting 8 enable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement