pfsense VM + VPN routing

Marlinjones

New Member
Sep 11, 2020
1
0
1
32
Hello. I have a scenario I'm struggling with. I'm setting up a Proxmox Host with pfsense as a VM to handle all network traffic. I want to restrict a different container to only connect to the VPN and disconnect from the internet if the VPN goes down (i.e. kill switch).

What would be the proper settings to use to achieve this functionality? I know I could set up a VPN instance inside the container and kill switch from there but I would rather handle it from the router level.

The VPN provider is Mullvad if that matters any.
 
This needs a complicated setup, you need:

- 1 Additional bridge on Proxmox
- Connect the container to only that bridge
- A bridge inside pfsense
- connect the VPN with pfsense to the pfsense bridge
- connect the pfsense to the proxmox bridge and connect this interface to the pfsense bridge

So outbound Networking goes like that:

Container -> Promox Bridge -> pfSense interface -> pfSense bridge -> VPN.
 
  • Like
Reactions: Marlinjones

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!