#1 2018-12-20 17:27:25

BobZombiE
Trusted Member
Registered: 2018-12-20
Posts: 5

Nyr OpenVpn automatic installer

Today i tried to install Nyr openVpn auto installer  on a fresh NAT VPS ubuntu 16.04
But for me it needs 2 modifications
I thought maybe others need this fix , so i'm posting it here :

1-
comment out the LimitNPROC line in /lib/systemd/system/[email protected]

2- error: no tun/tap.  even after enabling it in control panel
fix:

cd /dev
mkdir net
cd net
mknod tun c 10 200
chmod 666 tun

Offline

#2 2018-12-20 18:34:08

MM552
MR Status
From: I am not 100% sure
Registered: 2018-03-13
Posts: 118
Website

Re: Nyr OpenVpn automatic installer

Thanks for sharing the info. I am sure it will help someone out!

Offline

#3 2018-12-24 23:29:38

BobZombiE
Trusted Member
Registered: 2018-12-20
Posts: 5

Re: Nyr OpenVpn automatic installer

unfortunately , after every vps reboot
both OpenConnect (ocserv) and OpenVPN stop working because of TUN problem
and after every reboot i have to use these commands :
cd /dev
mkdir net
cd net
mknod tun c 10 200
chmod 666 tun

and then restart openconnect & openvpn services

OS : ubuntu 16.04
Linux  3.10.0-862.11.6.vz7.64.7 #1 SMP Thu Aug 23 19:33:51 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux

can some one please recommend me a permanent fix ?
i tried the os re-install , and re-configure the TUN/TAP in the vps control panel , but still same problem

Offline

#4 2019-01-19 07:41:41

foxy
Trusted Member
Registered: 2018-04-16
Posts: 4

Re: Nyr OpenVpn automatic installer

I am also having trouble setting up a VPN server using this script.

I set up a LES VPS with centos 7 about a year ago using the script and it worked fine, but with centos 7, yum will not work reliably in the amount of RAM available. 

So I recently made a new install on the same VPS using a debian distribution, and initially all seems to be fine, and openvpn clients can connect, but there is never any data transferred through the tunnel.  I have tried again with centos 6, and the symptoms are the same.

I don't think that it is the same problem as above, as the /net/tun file exists.

Offline

#5 2019-01-19 17:23:21

AnthonySmith
Low End Boss
From: ~/
Registered: 2013-02-13
Posts: 3,924
Website

Re: Nyr OpenVpn automatic installer

Given that he has not maintained it for years, I think people should really stop using it, if you insist on using it please use the support section of his git repo to report bugs.


https://upto32.com retro gaming and nostalgia forum that does not take itself to seriously smile

Offline

#6 2019-01-26 22:31:08

Simonindia
Moderator and your buddy
From: India
Registered: 2015-06-05
Posts: 604

Re: Nyr OpenVpn automatic installer

OR use this one same script, I mean fork of Nyr's script. https://github.com/angristan/openvpn-install


Just trying my best to help. ♥ |
----------------------------------------------------------------------------------
“Remember to always be yourself. Unless you suck.” -Joss Whedon“Do what you can, with what you have, where you are.”-Theodore Roosevelt

Offline

Board footer

Powered by FluxBB