Can connect to OpenVPN Server but loose access
-
well it seemed to work.. if it doesnt work then how you make the kill switch so if vpn service is down no interenet traffic may goto that computer..
and my tunnel network is 192.168.0.100/24 and my local is 192.168.0.0/24
and i have set the do not pull routes under the nordvpn
-
Sorry but if something is working how you want, its not because of that rule.. Sorry but that rules says block if you source is 192.168.0.5 as the IP and its dest is your wan address.. Lets say that is 1.2.3.4 then block it.. It has ZERO use or need of a gateway since its a block rule to start with.
And going to say 4.5.6.7 some public IP on the internet is NOT your wan address of 1.2.3.4 so that rule would not even trigger..
What I suggest you do is read the book on policy routing and how rules are evaluated on the firewall..
Rules are evaluated top down, first rule to trigger wins, no other rules are evaluated. There is plenty of info on a "kill switch" Derelict I believe did a whole long how to on it somewhere.. There might even be a hangout on it? Which are now available on youtube vs those hey bring traffic to my site because I have pfsense in my subject..
-
im sure im done this wrong.. and not trying to get you mad.. just learning as i go
and ok ill check out that stuffreason i put the block on is.. its below the NordVPN and doesnt that mean
yes when NordVPN service is working it does that rule.. but if the NordVPN is offline it would skip that rule right ..or does it still keep that rule... as thats the reason i put that block below nordvpn incase the service would shut off then the rule gets skipped and goes to allow it..
because the last line is your Default Lan so when the NordVPN goes down.. i still can use the internet im just not behind it anymore...so thats how i thought it worked
NordVPN up -----> all computers are behind vpn
NordVPN goes down -----> blocks the 1 computer... ---->runs last rule that allows rest of the computers to access the internet...thought thats how those rules worked i have set....
as for the block of the tunnell here is the image but im sure i did it wrong.. but im trying and ill google the info you mentioned thanks so far