Windows 7 firewall: how to block all connections except TeamViewer?
I need help in setting up firewall on Windows 7 Home Edition. I want to block all traffic – inbound and outbound for everything except one application: TeamViewer.exe
To accomplish this, I’ve created 2 inbound rules:
- Allow the connection for this program C:\Program Files (x86)\TeamViewer\TeamViewer.exe
- Computers: Authorized computers and Exceptions are unchecked;
- Advanced: All profiles; All Interface Types; Block edge traversal;
- Scope: Any IP Local or remote;
- Protocols: Any;
- Allow the connection for this program C:\Program Files (x86)\TeamViewer\TeamViewer_Service.exe.exe
- Everything Else same as in rule 1;
Also I’ve created 2 outbound rules identical to the inbound rules.
I’ve checked that there are no active “Block the connection” rules exits in both inbound and outbound folders. All default rules are stays intact.
Finally I’ve opened “Windows Firewall Properties” and set Outbound connections to “Block” on Domain, Private and Public profiles tabs.
I’ve clicked Apply and immediately lost connection to TeamViewer. After reboot, TeamViewer on another machine shows this computer status “Offline”. I had to revert Outbound connections to “Allow”.
What I am doing wrong? How can I setup Windows 7 firewall to how to block all connections except one application (TeamViewer)?
Please note computer has Windows 7 Home Edition installed and does not have Group Policy Editor.
Comments
-
Do you mean a RDP (Remote Desktop Connection)? If so theoretically nothing. If they are on the same network. If you are trying to do it from a different network then you need to set up router forwarding so in the router settings forward TCP port: 3389 to the IP address of the windows 7 pc. Make sure their are no firewall restrictions on RDP’s on windows firewall and any additional software you may have. Also if on the same network or not you need to have configured the connection correctly. Best way is to start from scratch using your 7 machine setting username and password etc and saving the connection and then sending it to the windows 10 pc. You may just have an issue with 2 different logins/usernames or no password or 1 linked to a Microsoft account. Just setup a new connection that you set the parameters to and you should have no problems. If it isn’t an RDP then I need more info.
0