OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: cake on December 22, 2016, 03:27:36 am

Title: Guest Network / Captive Portal + OpenVPN Client
Post by: cake on December 22, 2016, 03:27:36 am
Hello,
Not sure what I am doing wrong. I have 2 things setup, but can't get them to work together.

--First setup is Guest Network with Captive Portal--
I have followed tutorial "Set up a Guest Network"--> https://docs.opnsense.org/manual/how-tos/guestnet.html
Works great for interface named GUESTNET which is a AP. Very nice.

--Second Setup (Captive Portal disabled) Sending GUESTNET traffic through OpenVPN Client (OVPNC1)--
I have the interface GUESTNET (AP) set up to go through the OVPNC1. That works great.

What am I doing wrong because when I enable captive portal- GUESTNET bypasses it. GUESTNET still uses OPVNC1 interface which is good.
If I change IPv4 * GUESTNET net * * * OVPNC1_VPNV4 to the example in the tutorial, Captive Portal works, but traffic is not sent out through VPN client anymore.

(https://www.pinky-craft.com/images/J1900.png)

Any suggestions please?