OPNsense Forum

English Forums => Virtual private networks => Topic started by: kopling21 on September 24, 2020, 04:29:49 AM

Title: OPNSense as VPN Server Only(One Leg)?
Post by: kopling21 on September 24, 2020, 04:29:49 AM
Hi All,

it is possible to deploy opnsense as vpn server with only one leg ? if possible what role the one interface wan ?
and how about the 'private vpn ip address in the opnsense server' to connect to internal ?

Thanks
Title: Re: OPNSense as VPN Server Only(One Leg)?
Post by: Patrick M. Hausen on September 24, 2020, 08:14:01 AM
I run this confuguration. OPNsense behind my Fritzbox router.

I only have a LAN interface, bridge0 with all 4 Gbit interfaces as members, so I don't need another small switch. Firewall is globally disabled, no NAT.

I run an IPSec tunnel to my company office and WireGuard to connect from remote when I am in the road.

Please sketch what you are trying to achieve and I can probably help. "VPN" is many different things ;)
Title: Re: OPNSense as VPN Server Only(One Leg)?
Post by: kopling21 on September 29, 2020, 05:25:32 PM
Hi pmhausen,

Great, thank for you reply. Indeed vpn is broadterm. Here's i attach what i want to achieve with 'one leg'. Just like openvpn server. 'Connected' wireguard vpn user, will get 10.19.95.10-20 ip, and with that ip will travel through environment.

Thanks