Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rem Install a new service for rsync and start it
- cygrunsrv.exe -I rsyncd -e CYGWIN=nontsec -p c:/rsyncd/rsync.exe -a "--config=c:/rsyncd/rsyncd.conf --daemon --no-detach"
- cygrunsrv.exe --start rsyncd
- rem Les Stott notes you can setup the WinXP firewall to allow
- rem port 873 TCP connections to rsync with the following script
- rem lines. Remove the rem lines to run these three commands.
- rem
- rem netsh firewall set allowedprogram program = c:\rsyncd\rsync.exe name = rsync mode = enable scope = CUSTOM addresses = LocalSubnet
- rem netsh firewall set portopening protocol = TCP port = 873 name = rsyncd mode = enable scope = CUSTOM addresses = LocalSubnet
- rem netsh firewall set icmpsetting 8 enable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement