How to prevent computer from accessing internet if your VPN crash.

Security

✨ Staff Member ✨
Staff member
Verified Vendor
Joined
May 20, 2019
Messages
1,235
Likes
870
Points
980
Ok,this is really small thing,but this thing can save you ass bigtime,there were few times when my VPN crashed and my real net was pinging all websites while it was reconnecting,and this is VERY VERY BAD thing,or some other softwares leaks or whatever,its big mess,enjoy and be safe.

To make long story short and reasons for using Comodo Firewall behind, let me get straight to the topic.

Now everyone is using VPN these days, no matter what It is PPTP, L2TP, OpenVPN or anything else. The problem occurs when connection is dropped and you're fully exposed. In order to prevent that kind of a situation you need to completely block all non-VPN traffic using firewall (Comodo in this case, but works with any other firewall as well). You've got to create the following global rule by doing the following:

Comodo Firewall -> Firewall -> Network Security Policy -> Global Rules -> Add

Action: Block
Protocol: IP
Direction: In/Out
Source Address: Network Zone - (You Internet Access zone, ex. home #1)
Destination Address: Exclude - IPv4 Single Address - Entry address of server

Now the Entry address of server would be the remote IP of the VPN server you're connecting to. OpenVPN for example will reflect that IP in *.ovpn config file under "remote" string.

Small, but highly important add-on to your security.
 

Limam

New Member
Registered User
Joined
May 20, 2019
Messages
2
Likes
0
Points
1
Thank you for this man, really HQ !
Greets, Gee.
 
Top Bottom