Configuring a "fail-secure" OpenVPN connection
-
Hello,
I've been exploring some of the options for using pfSense as an OpenVPN client. I'm new to this aspect of pfSense, so please excuse my ignorance.
If I want to connect remote devices to a "home" network, or even a commercial VPN solution, I can create a self-signed CA, add the config and auth details to OpenVPN, then add a NAT mapping to route traffic between the local device and the "home" VPN concentrator. Great, now the user can access internal ("home") resources from a remote location. However, I'm uncertain how this operates in a failure case.
If the VPN server goes down for maintenance (or other reasons) and there is no load balancer or other redundancy to keep everything working, what happens to the remote user? pfSense cannot connect to the VPN server, so...does the outbound connection for users break (meaning all outside access is essentially lost), or does it just fall back to a direct connection to the WAN?
For this use case, I would want to ensure that it fails secure, meaning that if the VPN concentrator cannot be reached, remote clients connected to pfSense would simply be denied WAN access. Does it do this already? If not, how can I configure it this way? A firewall rule to block port "LAN" from connecting to port "WAN"? Or is there a more elegant solution?
Thank you!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy