mirror of
https://github.com/alpha-si/vpnman.git
synced 2026-04-25 02:55:59 +03:00
[GH-ISSUE #3] can add a vpn, also says check script in not working as well as iptables #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tigomonkey on GitHub (Jan 12, 2018).
Original GitHub issue: https://github.com/alpha-si/vpnman/issues/3
also says check script in not working as well as iptables. im on ubuntu and idk whats up
@federico-alphasi commented on GitHub (Jan 19, 2018):
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 commented on GitHub (Jan 20, 2018):
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 notifications@github.com
wrote:
@federico-alphasi commented on GitHub (Jan 20, 2018):
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 commented on GitHub (Jan 23, 2018):
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 notifications@github.com
wrote:
@tigomonkey commented on GitHub (Jan 23, 2018):
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 sslfreenet@gmail.com wrote:
@federico-alphasi commented on GitHub (Jan 23, 2018):
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 commented on GitHub (Jan 24, 2018):
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 notifications@github.com
wrote:
@federico-alphasi commented on GitHub (Jan 25, 2018):
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 commented on GitHub (Jan 26, 2018):
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" notifications@github.com
wrote:
@federico-alphasi commented on GitHub (Jan 29, 2018):
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)