Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can add a vpn, also says check script in not working as well as iptables #3

Open
tigomonkey opened this issue Jan 12, 2018 · 10 comments

Comments

@tigomonkey
Copy link

also says check script in not working as well as iptables. im on ubuntu and idk whats up

@federico-alphasi
Copy link
Contributor

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 ?

@tigomonkey
Copy link
Author

tigomonkey commented Jan 20, 2018 via email

@federico-alphasi
Copy link
Contributor

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/")

@tigomonkey
Copy link
Author

tigomonkey commented Jan 23, 2018 via email

@tigomonkey
Copy link
Author

tigomonkey commented Jan 23, 2018 via email

@federico-alphasi
Copy link
Contributor

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.

@tigomonkey
Copy link
Author

tigomonkey commented Jan 24, 2018 via email

@federico-alphasi
Copy link
Contributor

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")

@tigomonkey
Copy link
Author

tigomonkey commented Jan 26, 2018 via email

@federico-alphasi
Copy link
Contributor

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants