Integrating OpenWISP-Captive-Portals-Manager in the OpenWisp Controller

755 views
Skip to first unread message

Alberto Crespo

unread,
Mar 22, 2017, 12:05:07 PM3/22/17
to OpenWISP
Hi everybody.

I am a Java, Android, JS and PHP developer with knowledge in Python. I am very new using Ansible, Django, Ruby and Rails so, maybe the question I am going to ask makes no sense:

I have successfully installed OpenWisp Controller and registered into it several OpenWRT routers with openwisp-config. 

It is possible to integrate  OpenWISP-Captive-Portals-Manager in the OpenWisp-Controller with the intention of redirect de wlan clients of these routers to the captive portal?

Thank you.

Federico Capoano

unread,
Mar 22, 2017, 5:14:21 PM3/22/17
to Alberto Crespo, OpenWISP

Yes it is possible, although since we are not actively maintaining OWCPM I suggest you to use an alternative solution like PfSense which has a bigger community, more features, better support - like we and other openwisp users do.

Federico


--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alberto Crespo

unread,
Mar 23, 2017, 9:21:11 AM3/23/17
to OpenWISP
I have been reading a little bit in the PfSense official site but I have still with doubts.

So, integrating PfSense with OpenWispController is possible?

Federico Capoano

unread,
Mar 23, 2017, 9:32:52 AM3/23/17
to Alberto Crespo, OpenWISP
Yes many people including me and my colleagues use it regularly in production, even very large ones.

You may also check packetfence and covachili.

Federico

Xavier Maysonnave

unread,
Mar 23, 2017, 9:42:33 AM3/23/17
to OpenWISP
Hi All,
I read a paper about this integration here https://www.ironwifi.com/pfsense-with-captive-portal\
However I'm wondering if all the traffic goes through pfSense,
With Coova-chilli there is a tunnel towards the controller as the captive portal could be local at the router level or remote towards its controller.
Once authorized the openwrt local wan could be used. (in case you host your pfsense remotely while your router is connected to some ISPs.
With pfSense I've no idea. More informations om how to implement different topologies with pfSense will be interresting.
Right now I use Coova-chilli however performance problem are reported on some architecture while xt_coova is not yet ready for production.
As far as I understand NAT are a performance issue.

Federico Capoano

unread,
Mar 24, 2017, 6:42:52 AM3/24/17
to Xavier Maysonnave, OpenWISP
Hi Xavier,

thank you for sharing the link, initially when I clicked on it it didn't work (404), I had to edit slightly the trailing slash of the URL to:
This one works.

Federico

Xavier Maysonnave

unread,
Mar 24, 2017, 7:21:05 AM3/24/17
to OpenWISP
Hi Federico,
Thanks for the update. 
I installed pfSense on a VPS who let me install an iso and in my spare time I try to figure out how it works.
Right now I have a basic setup one Wan and one Lan.
Let's say that you plug your set of routers through a VPN on the LAN side. 
That way you have a nice vpn'ized local network over the public Internet.
However this imply that all the traffic is routed through pfSense and goes out the Wan as the Freeradius integration also happen at the pfSense level.
I don't like too much this topology as all the traffic will be accounted on the VPS.
For a real local network it could make sense but not for a hosted solution.
My topology is a set of routers who have a regular ISP wan output.
Thanks

Alberto Crespo

unread,
Apr 11, 2017, 3:09:25 PM4/11/17
to OpenWISP
Xavier,

could you pass a Tutorial for installing this PfSense? I have googled for a time and I am not able to install the captive portal.

Thank you so much.

Alberto Crespo

unread,
Apr 11, 2017, 3:18:18 PM4/11/17
to OpenWISP
How can integrate it on OpenWisp Federico??

Thank you


El viernes, 24 de marzo de 2017, 8:21:05 (UTC-3), Xavier Maysonnave escribió:

Xavier Maysonnave

unread,
Apr 11, 2017, 10:48:55 PM4/11/17
to OpenWISP
Hi Alberto,
I don't have any specific tutorial.
I installed pfSense on a VPS @ vultr.com
With this provider you can load your iso or use one provided by them.
Then I did the installation.
1 - While installing your iso is mounted as an usb device. 
Once installed do not forget to umount the iso otherwise your will endlessly boot over the iso.
2 - The terminal console is not password protected so it should be done once the installation is done.
Just a few thoughts about the install.
3 - Could you be more specific about your issues ?
Thanks

Federico Capoano

unread,
Apr 12, 2017, 6:31:01 AM4/12/17
to open...@googlegroups.com
Alberto, there are no written tutorials at the moment on how to do this.

If anyone wants to write one, get involved! This is a good way to start contributing to make openwisp easier to use and grow the community around it. The more active contributors there are, the easier it will be to add features, fix bugs, write documentation and tutorials.

Federico


--
Reply all
Reply to author
Forward
0 new messages