Hello, can you please help me to install openvpn on openpli 6.2 ?
I probably succeeded because I can see the openvpn bin file in /etc/init.d but now I don't know how to go on.
My vpn provider is nordvpn
Posted 13 October 2018 - 00:45
Hi,
you need first the directory /etc/openvpn on your box - if it doesn't exists create it.
then you need the server files from nordvpn as example "de421.nordvpn.com.tcp" - put this file in your directory /etc/openvpn (maybe you must rename it to "openvpn.conf"
but here it was enough to renamed it to "de421.nordvpn.com.tcp.conf" and it works.
you need also a second file in /etc/openvpn with name "auth.txt", in this file you must write your account dates from nordvpn in two lines
first line -> your login name (email)
second line -> your password
and at last you must edit the "de421.nordvpn.com.tcp.conf" respectivlely "openvpn.conf" in fact the line with auth-user-pass
to auth-user-pass /etc/openvpn/auth.txt , and then reboot your box.
openvpn must running (autostart) and if you create or edit files do this only with a linux compatible editor as example with notepad++
- that's all
if you want it comfortablier then google for the plugin nordvpnconnector - with this plugin you can change the servers
with your remotecontrol on your box directly and more.
regards
Biki3
Edited by Biki3, 13 October 2018 - 00:47.
Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K
Image: OpenPLI-8.3
Posted 13 October 2018 - 19:23
Hi,
you need first the directory /etc/openvpn on your box - if it doesn't exists create it.
then you need the server files from nordvpn as example "de421.nordvpn.com.tcp" - put this file in your directory /etc/openvpn (maybe you must rename it to "openvpn.conf"
but here it was enough to renamed it to "de421.nordvpn.com.tcp.conf" and it works.
you need also a second file in /etc/openvpn with name "auth.txt", in this file you must write your account dates from nordvpn in two lines
first line -> your login name (email)
second line -> your password
and at last you must edit the "de421.nordvpn.com.tcp.conf" respectivlely "openvpn.conf" in fact the line with auth-user-pass
to auth-user-pass /etc/openvpn/auth.txt , and then reboot your box.
openvpn must running (autostart) and if you create or edit files do this only with a linux compatible editor as example with notepad++
- that's all
if you want it comfortablier then google for the plugin nordvpnconnector - with this plugin you can change the servers
with your remotecontrol on your box directly and more.
regards
Biki3
Thanks. I've tried, at the beginning it has partly worked but the problem is that when I rebooted the box I lost the vpn ip.
I tried to use this sintax
/etc/init.d/openvpn start or
update-rc.d openvpn defaults
but there is somenthing strange. I tried several times repeting it from the beginning but there wasn't nothing to do.
Is it a compatibility problem?
I am using Zgemma h7s
Posted 13 October 2018 - 20:16
if you start openvpn manually with /etc/init.d/openvpn start then openvpn is running ?
if yes try in telnet;
cd /etc/rcS.d ln -s ../init.d/openvpn S99openvpn
and restart your box.
Edited by Biki3, 13 October 2018 - 20:19.
Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K
Image: OpenPLI-8.3
Posted 13 October 2018 - 21:43
update-rc.d openvpn defaults
should work fine. But OpenVPN will only start if there is a valid config, so you may have to bump the log level and check what is going on.
This issue has been fixed in the upcoming release btw...
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 14 October 2018 - 12:16
I've retried, but something doesn't work. The problem is when I reboot my box, I loose vpn and even if I start it manually on telnet , nothing changes.
I also tried
cd /etc/rcS.d
ln -s ../init.d/openvpn S99openvpn
nothing changes.
I updated to the last 6.2 release
I can't understand why the first time I do all the procedure it works fine, while when I reboot there is no way to make it work. The only way is doing everything from the beginning
Posted 14 October 2018 - 14:16
The init link should be in /etc/rc3.d, not in /etc/rcS.d. Which is where update-rc.d will create it.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
0 members, 1 guests, 0 anonymous users