Open semeion opened 6 years ago
same question
It works on Centos7. I have set up OpenVPN through PrivateInternetAccess on ethernet then set up create-ap on wifi, just pointed create-ap to share internet from ethernet and it works through OpenVPN and PIA server (tested). Create-ap uses nat, i am afraid that bridge would take openvpn out. Just create-ap uses virtual ap whatever it is and it seems that my wifi doesn't like it. It seems to work after restart as long as there is something connected but fails if there is not, i.e. over night and sevice cannot be restarted.
Edit: the problem is probably that on netbook where the setup is the wifi goes to power-save mode if there is no client connected. Previously the create_ap.service restarted and added another virtual AP till it crashed after 9th virtual AP added. Now with no-virtual=1 in create_ap.conf the ap works, but still connection to the internet through OpenVPN gets severed after some time if no client is connected to the AP. Power saving cannot be switched off in bios. I guess it comes from bios rather than from CentOs because wifi is listed as unmanaged now.
Works on Ubuntu for me. When I use OpenVPN it creates a virtual interface (TAP or TUN depending on your settings). When you start create_ap, just use this interface as the Source
or Ethernet
interface.
so the command becomes create_ap wlan0 tun0 MyAccessPoint MyPassPhrase
.
How to integrate create_ap and OpenVPN to work together? Can someone tell me if is it possible?
Thanks in advance