can add a vpn, also says check script in not working as well as iptables
also says check script in not working as well as iptables. im on ubuntu and idk whats up
Can you provide more info? which error do you have when add a vpn? The fail of iptables check may be related to missing/incorrect installation steps. Have you exceuted correctly all the steps reported at https://github.com/alpha-si/vpnman/wiki/Installation#install-frontend ?
Yea all the commands were there just the errors: check script error [error1] and iptables check one [error1]. I was on Ubuntu 16.04 Lts, do I download openvpn and easy-rsa? When ever I tried to make a vpn it would say also cannot find file template/srvcnfg.tmpl or something along those lines
On Friday, January 19, 2018, Federico Sartini [email protected] wrote:
Can you provide more info? which error do you have when add a vpn? The fail of iptables check may be related to missing/incorrect installation steps. Have you exceuted correctly all the steps reported at https://github.com/alpha-si/vpnman/wiki/Installation#install-frontend ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alpha-si/vpnman/issues/3#issuecomment-359052591, or mute the thread https://github.com/notifications/unsubscribe-auth/AhvS9Knb-ElECpDIiQsnGJhAF0-ab_WAks5tMOEmgaJpZM4Rck_I .
Yes, openvpn must be installed on your system. The template/srvcfg.tmpl error may be due to missing path. Have you correctly set the VPN_ROOT_PATH in the "Edit Configuration" form? you must set the absolute path to the vpnman's vpn folder (for example, if you have installed vpnman under "/var/www/html/", VPN_ROOT_PATH should be set to "/var/www/html/vpnman/vpn/")
figured that out, do i leave /etc/openvpn blank then? it just has update-resolv-conf in it i think.
On Sat, Jan 20, 2018 at 1:13 AM, Federico Sartini [email protected] wrote:
Yes, openvpn must be installed on your system. The template/srvcfg.tmpl error may be due to missing path. Have you correctly set the VPN_ROOT_PATH in the "Edit Configuration" form? you must set the absolute path to the vpnman's vpn folder (for example, if you have installed vpnman under "/var/www/html/", VPN_ROOT_PATH should be set to "/var/www/html/vpnman/vpn/")
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alpha-si/vpnman/issues/3#issuecomment-359154951, or mute the thread https://github.com/notifications/unsubscribe-auth/AhvS9BSWil-XVmvP-6ZBbVRz0EEvpedCks5tMaAYgaJpZM4Rck_I .
also you can check it out i cant get a vpn to run the url is freedommail.ga
On Mon, Jan 22, 2018 at 6:08 PM, Jeff King [email protected] wrote:
figured that out, do i leave /etc/openvpn blank then? it just has update-resolv-conf in it i think.
On Sat, Jan 20, 2018 at 1:13 AM, Federico Sartini < [email protected]> wrote:
Yes, openvpn must be installed on your system. The template/srvcfg.tmpl error may be due to missing path. Have you correctly set the VPN_ROOT_PATH in the "Edit Configuration" form? you must set the absolute path to the vpnman's vpn folder (for example, if you have installed vpnman under "/var/www/html/", VPN_ROOT_PATH should be set to "/var/www/html/vpnman/vpn/")
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alpha-si/vpnman/issues/3#issuecomment-359154951, or mute the thread https://github.com/notifications/unsubscribe-auth/AhvS9BSWil-XVmvP-6ZBbVRz0EEvpedCks5tMaAYgaJpZM4Rck_I .
It seems that ovpnctrl daemon is missing. Have you succesfully compiled the ovpnctrl daemon? Instructions are here: https://github.com/alpha-si/vpnman/wiki/Installation#compile-ovpnctrl-daemon After "make install" the ovpnctrl binary is automatically copied under vpn/bin/ The vpn page doesn't show your vpn due to a bug when ovpnctrl daemon is not correctly installed. I plan to fix it as soon as possible.
yea everything compiled accordingly, i mean i followed everything to the T there were no error messages when compiling the daemon.
On Tue, Jan 23, 2018 at 2:25 AM, Federico Sartini [email protected] wrote:
It seems that ovpnctrl daemon is missing. Have you succesfully compiled the ovpnctrl daemon? Instructions are here: https://github.com/alpha-si/ vpnman/wiki/Installation#compile-ovpnctrl-daemon After "make install" the ovpnctrl binary is automatically copied under vpn/bin/ The vpn page doesn't show your vpn due to a bug when ovpnctrl daemon is not correctly installed. I plan to fix it as soon as possible.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alpha-si/vpnman/issues/3#issuecomment-359730393, or mute the thread https://github.com/notifications/unsubscribe-auth/AhvS9BZo6SciCvS1HxHi43uREvIdm8sqks5tNaWggaJpZM4Rck_I .
Have you used the correctly apache user with visudo? the installation instructions use "apache" but some OS may use a different user (for example "www-data")
Ya i use apache on ubuntu its user is www-data. So in visudo i add www-data to sudoers. Im curious is all the vpn config files and certs stored in the web root directory? And then openvpn just gets its directives from there?
On Jan 25, 2018 3:52 AM, "Federico Sartini" [email protected] wrote:
Have you used the correctly apache user with visudo? the installation instructions use "apache" but some OS may use a different user (for example "www-data")
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alpha-si/vpnman/issues/3#issuecomment-360431865, or mute the thread https://github.com/notifications/unsubscribe-auth/AhvS9B3EMpnj4sVOSvuRhQI7FhXQYZEeks5tOF0BgaJpZM4Rck_I .
Vpn configs and certs are create and stored in the vpnman's vpn folder. Openvpn server is started using these configuration files. Openvpn server up-script is used to start the ovpnctrl daemon, it's a bridge between openvpn server and vpnman web platform. In your case there are some troubles starting this daemon. You can try to manually start the openvpn server from terminal (from vpnman's vpn folder): ./bin/openvpn.sh start ./vpnXX/vpnXX_server.conf (XX is your vpn id)