# HG changeset patch # User Oliver Maurhart # Date 1414670317 -3600 # Node ID e3ae01d2898a3bd176137fdaa7642f6e0bccfcf9 # Parent 6f73753677aa04a42d8109e1e9034e3b2a5e7079 extended firewall ruleset diff -r 6f73753677aa -r e3ae01d2898a OpenSecurity/bin/firewall-install.bat --- a/OpenSecurity/bin/firewall-install.bat Wed Oct 29 18:22:39 2014 +0100 +++ b/OpenSecurity/bin/firewall-install.bat Thu Oct 30 12:58:37 2014 +0100 @@ -1,4 +1,16 @@ @echo off echo 'adding firewall rules for OpenSecurity...' netsh advfirewall firewall add rule name="Osec Communication Rule" dir=in action=allow profile=any localip=192.168.56.1 remoteip=192.168.56.0/24 localport=8090 remoteport=any protocol=tcp +netsh advfirewall firewall add rule name="Osec python" program="%CD%\python27\python.exe" dir=in action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=tcp +netsh advfirewall firewall add rule name="Osec python" program="%CD%\python27\python.exe" dir=in action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=udp +netsh advfirewall firewall add rule name="Osec python" program="%CD%\python27\python.exe" dir=out action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=tcp +netsh advfirewall firewall add rule name="Osec python" program="%CD%\python27\python.exe" dir=out action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=udp +netsh advfirewall firewall add rule name="Osec pythonw" program="%CD%\python27\pythonw.exe" dir=in action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=tcp +netsh advfirewall firewall add rule name="Osec pythonw" program="%CD%\python27\pythonw.exe" dir=in action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=udp +netsh advfirewall firewall add rule name="Osec pythonw" program="%CD%\python27\pythonw.exe" dir=out action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=tcp +netsh advfirewall firewall add rule name="Osec pythonw" program="%CD%\python27\pythonw.exe" dir=out action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=udp +netsh advfirewall firewall add rule name="Osec xwin" program="%CD%\cygwin64\bin\XWin.exe" dir=in action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=tcp +netsh advfirewall firewall add rule name="Osec xwin" program="%CD%\cygwin64\bin\XWin.exe" dir=in action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=udp +netsh advfirewall firewall add rule name="Osec xwin" program="%CD%\cygwin64\bin\XWin.exe" dir=out action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=tcp +netsh advfirewall firewall add rule name="Osec xwin" program="%CD%\cygwin64\bin\XWin.exe" dir=out action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=udp diff -r 6f73753677aa -r e3ae01d2898a OpenSecurity/bin/firewall-uninstall.bat --- a/OpenSecurity/bin/firewall-uninstall.bat Wed Oct 29 18:22:39 2014 +0100 +++ b/OpenSecurity/bin/firewall-uninstall.bat Thu Oct 30 12:58:37 2014 +0100 @@ -1,4 +1,7 @@ @echo off echo 'removing firewall rules for OpenSecurity...' netsh advfirewall firewall delete rule name="Osec Communication Rule" +netsh advfirewall firewall delete rule name="Osec python" +netsh advfirewall firewall delete rule name="Osec pythonw" +netsh advfirewall firewall delete rule name="Osec xwin"