Page 1 of 1
Trouble setting up OpenVPN server with Asus RT-N66u
Posted: Thu Mar 24, 2016 4:11 pm
by shure
I thought I'd already posted this but can't see it, so apologies if this comes up double
I'm trying to set up my Asus RT-N66u as a VPN server. The instructions seem straightforward enough, but I can't get the client to connect.
I have installed OpenVPN on the client. I have generated an OpenVPN config file and placed this in the OpenVPN config folder. So far so straightforward. I have not changed any settings in the Advanced tab. However, when I try to establish a connection it starts off with a couple of UDPv4 link local messages and then I get the following message:
[UNDEF] Inactivity timeout (--ping-restart), restarting
rinse, repeat.
Have I missed a step?
Re: Trouble setting up OpenVPN server with Asus RT-N66u
Posted: Fri Mar 25, 2016 1:09 pm
by Traffic
Please see the Forum rules (top of page)
Re: Trouble setting up OpenVPN server with Asus RT-N66u
Posted: Fri Mar 25, 2016 1:15 pm
by shure
Client Config below
Code: Select all
client
dev tun
proto udp
remote x.x.x.x 1194
float
comp-lzo adaptive
keepalive 15 60
auth-user-pass
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
</key>
resolv-retry infinite
nobind
Not sure where I would find the Server config files?
Re: Trouble setting up OpenVPN server with Asus RT-N66u
Posted: Fri Mar 25, 2016 1:27 pm
by shure
Would this be sufficient for the Server settings?

Re: Trouble setting up OpenVPN server with Asus RT-N66u
Posted: Fri Mar 25, 2016 1:32 pm
by shure
and finally, the log files. They are longer but essentially they just repeat all the lines after the Password line
Code: Select all
Thu Mar 24 17:24:05 2016 OpenVPN 2.3.10 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Mar 10 2016
Thu Mar 24 17:24:05 2016 Windows version 6.2 (Windows 8 or greater)
Thu Mar 24 17:24:05 2016 library versions: OpenSSL 1.0.1s 1 Mar 2016, LZO 2.09
Enter Management Password:
Thu Mar 24 17:24:20 2016 UDPv4 link local: [undef]
Thu Mar 24 17:24:20 2016 UDPv4 link remote: [AF_INET]x.x.x.x:1194
Thu Mar 24 17:25:20 2016 [UNDEF] Inactivity timeout (--ping-restart), restarting
Thu Mar 24 17:25:20 2016 SIGUSR1[soft,ping-restart] received, process restarting
Re: Trouble setting up OpenVPN server with Asus RT-N66u
Posted: Fri Mar 25, 2016 1:55 pm
by Traffic
Add
to your client config and post full log (remove private data)
Re: Trouble setting up OpenVPN server with Asus RT-N66u
Posted: Fri Mar 25, 2016 2:11 pm
by shure
apologies but don't know how to?
Re: Trouble setting up OpenVPN server with Asus RT-N66u
Posted: Fri Mar 25, 2016 2:25 pm
by Traffic
Please read this:
HOWTO: For OpenVPN Community Edition
shure wrote:Client Config below
Code:
client
dev tun
proto udp
remote x.x.x.x 1194
float
comp-lzo adaptive
keepalive 15 60
auth-user-pass
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
</key>
resolv-retry infinite
nobind
Traffic wrote:Add
to your client config and post full log (remove private data)
above ..