[GH-ISSUE #3] can add a vpn, also says check script in not working as well as iptables #3

Open
opened 2026-02-25 20:30:27 +03:00 by kerem · 10 comments
Owner

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

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
Author
Owner

@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 ?

<!-- gh-comment-id:359052591 --> @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 ?
Author
Owner

@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:

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
.

<!-- gh-comment-id:359151688 --> @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: > 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> > . >
Author
Owner

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

<!-- gh-comment-id:359154951 --> @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/")
Author
Owner

@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:

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
.

<!-- gh-comment-id:359633594 --> @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: > 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> > . >
Author
Owner

@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:

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:

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
.

<!-- gh-comment-id:359638256 --> @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: > 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: > >> 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> >> . >> > >
Author
Owner

@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.

<!-- gh-comment-id:359730393 --> @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.
Author
Owner

@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:

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
.

<!-- gh-comment-id:360188237 --> @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: > 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> > . >
Author
Owner

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

<!-- gh-comment-id:360431865 --> @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")
Author
Owner

@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:

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
.

<!-- gh-comment-id:360643246 --> @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: > 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> > . >
Author
Owner

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

<!-- gh-comment-id:361221934 --> @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)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vpnman#3
No description provided.