OPNsense Forum

English Forums => General Discussion => Topic started by: kai on February 23, 2018, 01:52:41 pm

Title: OpnSense doing dual firewall and VPN access server duties?
Post by: kai on February 23, 2018, 01:52:41 pm
Hi all,

I have an OPNsense firewall on my ESXi server acting as a transparent bridging firewall beween my secure net with all my hosts on it and the external interface. It's working great. Basic layout is

internet <--> VMWARE external int <-> WAN int <-> transparent bridge <-> LAN Int <-> VMWARE secure network switch <-> hosts

I do all my filtering/firewall on the transparent bridge and it works great. I noticed that OPNsense can also be an OpenVPN termination point. Usually to allow remote users to VPN into a local Lan.

But since I have this VM sitting out there just being a firewall. Would it be possible to set up an OpenVPN on the OPNSense box to take OpenVPN connections from, say my mobile, and forward the traffic out the WAN interface to the general internet? Basically hairpin my device traffic through the interface. To act like a VPN for my device to the internet to protect my mobile/ tablet on public WIFI and the like? Or does the OpenVPN server only facilitate connections in through to the LAN?

Is this feasible?