Cleanup Outgoing Control
Cleanup
Remove tortoise SVN saved credentials and application
Remove port-forwarding rules and firewall exceptions
We created some port forwarding rules so that the laser controller and video encoder were using their production configuration (static IP addresses on the machine network) but were also accessible to developer machines while under development.
REM Laser Controller
netsh interface portproxy add v4tov4 listenaddress=172.16.18.105 listenport=24687 connectaddress=192.168.208.70 connectport=24687
netsh advfirewall firewall add rule name="Port-Forward: Keyence Laser Controller" dir=in description="The firewall exception for a corresponding port forwarding action. (netsh interface portproxy show all)" action=allow enable=yes protocol=tcp localport=24687
REM Video Encoder
netsh interface portproxy add v4tov4 listenaddress=172.16.18.105 listenport=554 connectaddress=192.168.208.75 connectport=554
netsh interface portproxy add v4tov4 listenaddress=172.16.18.105 listenport=8080 connectaddress=192.168.208.75 connectport=80
netsh advfirewall firewall add rule name="Port-Forward: Bosch VideoJet" dir=in description="The firewall exception for a corresponding port forwarding action. (netsh interface portproxy show all)" action=allow enable=yes protocol=tcp localport=8080,554
To clean up, remove the forwarding and firewall rules.
REM Laser Controller
netsh interface portproxy delete v4tov4 listenaddress=172.16.18.105 listenport=24687
netsh advfirewall firewall delete rule name="Port-Forward: Keyence Laser Controller"
REM Video Encoder
netsh interface portproxy delete v4tov4 listenaddress=172.16.18.105 listenport=554
netsh interface portproxy delete v4tov4 listenaddress=172.16.18.105 listenport=8080
netsh advfirewall firewall delete rule name="Port-Forward: Bosch VideoJet"