Hi all,
I'm a monowall user, and I would like to know if the following is possible.
Could I have hotspot and VPN (PPTP Server) on same interface (WIFI Interface) ??
I would like to show a splash page to the visitors and if they need internet they have to stablish a PPTP Tunnel.
How could this be done??
Best regards to all.
Technically, yes, though you'll have to fiddle with the firewall and Captive Portal rules to make it work just like you mentioned.
Basically, get the PPTP up, test it, etc. Then get Captive Portal setup, but I guess since it doesn't matter for Internet access, don't bother with a username/password field. Set Captive Portal to allow anyone access just to your WAN for PPTP only (yes, that won't make any sense at first), then that is all you will need to make it work.
Basically, captive portal will allow access to PPTP on the WAN, but when they PPTP in, they will redirect through PPTP (make sure you have a firewall rule to allow PPTP outside access) and it will kind of a be a silly double rebound from CP to WAN to PPTP to WAN, but it will all be internal to m0n0wall, so you shouldn't suffer speed wise.