WFP?

Post Reply
glate
Posts: 1
Joined: Tue Mar 14, 2023 9:34 pm

WFP?

Post by glate »

I can't seem to figure out how to apply network restrictions. I have tried in both 1.7.2 and 1.8.0 and can't get either to work.

What I'd like to do:

1. Allow one program (for this example telnet.exe) internet access on port 443 to the IP 142.250.69.195
2. Block the program from any other internet access
3. Block all remaining programs from accessing the internet at all

The more recent settings I attempted:

1. Set Network Options to Block using Windows Filtering Platform
2. Added telnet.exe with mode Allow on the Process Restrictions tab.
3. Added a Network Firewall allow rule for telnet.exe on port 443 for IP *
4. Added an All Programs Block rule on Port * and IP *
- not sure if rule order matters but all programs is below telnet
5. Also tried editing the INI to use Block *,443 as per https://sandboxie-plus.com/sandboxie/blockport/

I searched website/github/etc and found nothing that would help with this WFP configuration. Apologies if I missed something

User avatar
DavidXanatos
Posts: 340
Joined: Fri Mar 19, 2021 11:26 am

Re: WFP?

Post by DavidXanatos »

Hello,

BlockPort is deprecated and no logner used.

try this:

AllowNetworkAccess=!<InternetAccess>,n
AllowNetworkAccess=<BlockNetAccess>,n
ProcessGroup=<InternetAccess>,telnet.exe
ClosedFilePath=<BlockNetDevices>,InternetAccessDevices
NetworkAccess=telnet.exe,Block;Port=1-79,81-65000;Protocol=Any
NetworkAccess=telnet.exe,Allow;Port=80;Protocol=Any

example for telent and port 80

Post Reply