Trouble setting up OpenVPN server with Asus RT-N66u
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Mar 24, 2016 4:00 pm
Trouble setting up OpenVPN server with Asus RT-N66u
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?
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?
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Trouble setting up OpenVPN server with Asus RT-N66u
Please see the Forum rules (top of page)
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Mar 24, 2016 4:00 pm
Re: Trouble setting up OpenVPN server with Asus RT-N66u
Client Config below
Not sure where I would find the Server config files?
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
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Mar 24, 2016 4:00 pm
Re: Trouble setting up OpenVPN server with Asus RT-N66u
Would this be sufficient for the Server settings?


-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Mar 24, 2016 4:00 pm
Re: Trouble setting up OpenVPN server with Asus RT-N66u
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
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Trouble setting up OpenVPN server with Asus RT-N66u
Add to your client config and post full log (remove private data)
Code: Select all
verb 4
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Mar 24, 2016 4:00 pm
Re: Trouble setting up OpenVPN server with Asus RT-N66u
apologies but don't know how to?
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Trouble setting up OpenVPN server with Asus RT-N66u
Please read this:
HOWTO: For OpenVPN Community Edition
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
above ..Traffic wrote:Addto your client config and post full log (remove private data)Code: Select all
verb 4