Setting OpenVPN with R700 router

This forum is for admins who are looking to build or expand their OpenVPN setup.

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.
Post Reply
daytooner
OpenVpn Newbie
Posts: 6
Joined: Wed Jun 16, 2021 2:28 pm

Setting OpenVPN with R700 router

Post by daytooner » Mon Jun 28, 2021 10:45 pm

The question says it all.

I have read other's post here, so it seems as though it should work. But...

I have repeatedly gone through all of the steps listed on R7000 admin page, as well as everything else on their site. I have tried this with Android (GS8), WIn10, and linux (Fedora 34) . I even tried opening a ticket with netgear support, (which is ongoing), but they seem to only answer my questions from a book - which are basically all of the steps I have done.

All that happens for me is that the device (phone, linux box, win10 box) waits for a response from the router, then times out. FWIW, this is the config for my android phone:

Server Config

client
dev tun
proto udp
remote looney.mynetgear.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
cipher AES-128-CBC
comp-lzo
verb 5


I have set up various port forwardings on the router (ftp, ssh, vnc, etc), and they all work fine.

Any help would be greatly appreciated.

TIA
ken

(NOTE: I changed in the R7000 admin page, the port to 1194, which is standard; I did try it with the original 12973, tho).

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Setting OpenVPN with R700 router

Post by TinCanTech » Tue Jun 29, 2021 12:01 am

After you did all that, what did you do next ?

300000
OpenVPN Expert
Posts: 685
Joined: Tue May 01, 2012 9:30 pm

Re: Setting OpenVPN with R700 router

Post by 300000 » Tue Jun 29, 2021 7:55 am

If I bought router I will return it . It not works as they said and take money buy other that work.

daytooner
OpenVpn Newbie
Posts: 6
Joined: Wed Jun 16, 2021 2:28 pm

Re: Setting OpenVPN with R700 router

Post by daytooner » Tue Jun 29, 2021 3:48 pm

TinCanTech wrote:
Tue Jun 29, 2021 12:01 am
After you did all that, what did you do next ?
What 'next' is there to do :?:

I'm actually on hold w/ netgear support, trying to speak with some who knows something technical.

btw: thanks for the reply.

ken

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: Setting OpenVPN with R700 router

Post by openvpn_inc » Tue Jun 29, 2021 3:52 pm

daytooner wrote:
Tue Jun 29, 2021 3:48 pm
I'm actually on hold w/ netgear support, trying to speak with some who knows something technical.
Shibboleet! ;)

https://xkcd.com/806/

one of my favorites -- rob0 :)
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Setting OpenVPN with R700 router

Post by TinCanTech » Tue Jun 29, 2021 4:29 pm

daytooner wrote:
Tue Jun 29, 2021 3:48 pm
What 'next' is there to do
If you have to ask then you will not like the answer ... read your server log ..........

daytooner
OpenVpn Newbie
Posts: 6
Joined: Wed Jun 16, 2021 2:28 pm

Re: Setting OpenVPN with R700 router

Post by daytooner » Tue Jun 29, 2021 9:38 pm

TinCanTech wrote:
Tue Jun 29, 2021 4:29 pm
daytooner wrote:
Tue Jun 29, 2021 3:48 pm
What 'next' is there to do
If you have to ask then you will not like the answer ... read your server log ..........
The 'server log' is the R7000 log. There is not much in there. Actually, nothing abut a vpn connection.

But, using the hidden debug.htm page, I did get a packet capture on WAN side of the router. VPN packet goes in. No reply comes out. Packet in, no packet out. You can get the idea.

Oh, and on the client end, here is a snippet from the android openvpn log:

Code: Select all

17:34:25.919 -- ----- OpenVPN Start -----

17:34:25.919 -- EVENT: CORE_THREAD_ACTIVE

17:34:25.921 -- OpenVPN core 3.git:released:662eae9a:Release android arm64 64-bit PT_PROXY

17:34:25.921 -- Frame=512/2048/512 mssfix-ctrl=1250

17:34:25.938 -- UNUSED OPTIONS
4 [resolv-retry] [infinite] 
5 [nobind] 
6 [persist-key] 
7 [persist-tun] 
13 [verb] [9] 

17:34:25.938 -- EVENT: RESOLVE

17:34:26.048 -- Contacting 70.123.145.220:10194 via UDP

17:34:26.049 -- EVENT: WAIT

17:34:26.053 -- Connecting to [looney.mynetgear.com]:10194 (70.123.145.220) via UDPv4

17:34:35.939 -- Server poll timeout, trying next remote entry...

17:34:35.983 -- EVENT: RECONNECTING

17:34:35.988 -- EVENT: RESOLVE

17:34:36.090 -- Contacting [2607:7700:0:20::467b:91dc]:10194 via UDP

17:34:36.091 -- EVENT: WAIT

17:34:36.103 -- Connecting to [looney.mynetgear.com]:10194 (2607:7700:0:20::467b:91dc) via UDPv6

17:34:45.942 -- Server poll timeout, trying next remote entry...

17:34:45.989 -- EVENT: RECONNECTING

17:34:45.997 -- EVENT: RESOLVE

17:34:46.067 -- Contacting 70.123.145.220:10194 via UDP

17:34:46.068 -- EVENT: WAIT

17:34:46.070 -- Connecting to [looney.mynetgear.com]:10194 (70.123.145.220) via UDPv4

17:34:55.945 -- Server poll timeout, trying next remote entry...

17:34:55.984 -- EVENT: RECONNECTING

17:34:55.988 -- EVENT: RESOLVE

17:34:56.056 -- Contacting 70.123.145.220:10194 via UDP

17:34:56.057 -- EVENT: WAIT

17:34:56.060 -- Connecting to [looney.mynetgear.com]:10194 (70.123.145.220) via UDPv4

17:35:05.948 -- Server poll timeout, trying next remote entry...

17:35:05.968 -- EVENT: RECONNECTING

17:35:05.970 -- EVENT: RESOLVE

17:35:05.971 -- Contacting 70.123.145.220:10194 via UDP

17:35:05.972 -- EVENT: WAIT

17:35:05.973 -- Connecting to [looney.mynetgear.com]:10194 (70.123.145.220) via UDPv4

17:35:10.615 -- EVENT: DISCONNECTED

17:35:10.615 -- Tunnel bytes per CPU second: 0

17:35:10.615 -- ----- OpenVPN Stop -----

09:18:29.012 -- ----- OpenVPN Start -----

09:18:29.012 -- EVENT: CORE_THREAD_ACTIVE

09:18:29.015 -- OpenVPN core 3.git:released:662eae9a:Release android arm64 64-bit PT_PROXY

09:18:29.016 -- Frame=512/2048/512 mssfix-ctrl=1250

09:18:29.021 -- UNUSED OPTIONS
4 [resolv-retry] [infinite] 
5 [nobind] 
6 [persist-key] 
7 [persist-tun] 
13 [verb] [5] 

09:18:29.021 -- EVENT: RESOLVE

09:18:29.157 -- Contacting 70.123.149.68:12974 via UDP

09:18:29.158 -- EVENT: WAIT

09:18:29.162 -- Connecting to [looney.mynetgear.com]:12974 (70.123.149.68) via UDPv4

09:18:39.024 -- Server poll timeout, trying next remote entry...

09:18:39.105 -- EVENT: RECONNECTING

09:18:39.108 -- EVENT: RESOLVE

09:18:39.136 -- Contacting [2607:7700:0:20::467b:9544]:12974 via UDP

09:18:39.137 -- EVENT: WAIT

09:18:39.142 -- Connecting to [looney.mynetgear.com]:12974 (2607:7700:0:20::467b:9544) via UDPv6

09:18:49.028 -- Server poll timeout, trying next remote entry...

09:18:49.066 -- EVENT: RECONNECTING

09:18:49.072 -- EVENT: RESOLVE

09:18:49.075 -- Contacting 70.123.149.68:12974 via UDP

09:18:49.075 -- EVENT: WAIT

09:18:49.077 -- Connecting to [looney.mynetgear.com]:12974 (70.123.149.68) via UDPv4

09:18:59.033 -- Server poll timeout, trying next remote entry...

09:18:59.073 -- EVENT: RECONNECTING

09:18:59.075 -- EVENT: RESOLVE

09:18:59.078 -- Contacting 70.123.149.68:12974 via UDP

09:18:59.079 -- EVENT: WAIT

09:18:59.083 -- Connecting to [looney.mynetgear.com]:12974 (70.123.149.68) via UDPv4

09:19:09.036 -- Server poll timeout, trying next remote entry...

09:19:09.065 -- EVENT: RECONNECTING

09:19:09.067 -- EVENT: RESOLVE

09:19:09.070 -- Contacting [2607:7700:0:20::467b:9544]:12974 via UDP

09:19:09.071 -- EVENT: WAIT

09:19:09.074 -- Connecting to [looney.mynetgear.com]:12974 (2607:7700:0:20::467b:9544) via UDPv6

09:19:19.043 -- Server poll timeout, trying next remote entry...

09:19:19.088 -- EVENT: RECONNECTING

09:19:19.092 -- EVENT: RESOLVE

09:19:19.094 -- Contacting 70.123.149.68:12974 via UDP

09:19:19.094 -- EVENT: WAIT

09:19:19.099 -- Connecting to [looney.mynetgear.com]:12974 (70.123.149.68) via UDPv4

09:19:29.070 -- EVENT: CONNECTION_TIMEOUT

09:19:29.082 -- EVENT: DISCONNECTED

09:19:29.082 -- Tunnel bytes per CPU second: 0

09:19:29.082 -- ----- OpenVPN Stop -----

09:19:45.146 -- ----- OpenVPN Start -----

09:19:45.146 -- EVENT: CORE_THREAD_ACTIVE

09:19:45.148 -- OpenVPN core 3.git:released:662eae9a:Release android arm64 64-bit PT_PROXY

09:19:45.149 -- Frame=512/2048/512 mssfix-ctrl=1250

09:19:45.156 -- UNUSED OPTIONS
4 [resolv-retry] [infinite] 
5 [nobind] 
6 [persist-key] 
7 [persist-tun] 
13 [verb] [5] 

09:19:45.157 -- EVENT: RESOLVE

09:19:45.275 -- Contacting 70.123.149.68:12974 via UDP

09:19:45.276 -- EVENT: WAIT

09:19:45.282 -- Connecting to [looney.mynetgear.com]:12974 (70.123.149.68) via UDPv4

09:19:55.158 -- Server poll timeout, trying next remote entry...

09:19:55.201 -- EVENT: RECONNECTING

09:19:55.206 -- EVENT: RESOLVE

09:19:55.303 -- Contacting [2607:7700:0:20::467b:9544]:12974 via UDP

09:19:55.304 -- EVENT: WAIT

09:19:55.309 -- Connecting to [looney.mynetgear.com]:12974 (2607:7700:0:20::467b:9544) via UDPv6

09:20:05.164 -- Server poll timeout, trying next remote entry...

09:20:05.202 -- EVENT: RECONNECTING

09:20:05.205 -- EVENT: RESOLVE

09:20:05.275 -- Contacting [2607:7700:0:20::467b:9544]:12974 via UDP

09:20:05.275 -- EVENT: WAIT

09:20:05.277 -- Connecting to [looney.mynetgear.com]:12974 (2607:7700:0:20::467b:9544) via UDPv6

09:20:15.167 -- Server poll timeout, trying next remote entry...

09:20:15.212 -- EVENT: RECONNECTING

09:20:15.216 -- EVENT: RESOLVE

09:20:15.222 -- Contacting 70.123.149.68:12974 via UDP

09:20:15.223 -- EVENT: WAIT

09:20:15.229 -- Connecting to [looney.mynetgear.com]:12974 (70.123.149.68) via UDPv4

09:20:25.174 -- Server poll timeout, trying next remote entry...

09:20:25.219 -- EVENT: RECONNECTING

09:20:25.227 -- EVENT: RESOLVE

09:20:25.238 -- Contacting [2607:7700:0:20::467b:9544]:12974 via UDP

09:20:25.239 -- EVENT: WAIT

09:20:25.242 -- Connecting to [looney.mynetgear.com]:12974 (2607:7700:0:20::467b:9544) via UDPv6

09:20:35.181 -- Server poll timeout, trying next remote entry...

09:20:35.262 -- EVENT: RECONNECTING

09:20:35.271 -- EVENT: RESOLVE

09:20:35.280 -- Contacting [2607:7700:0:20::467b:9544]:12974 via UDP

09:20:35.281 -- EVENT: WAIT

09:20:35.290 -- Connecting to [looney.mynetgear.com]:12974 (2607:7700:0:20::467b:9544) via UDPv6

09:20:45.186 -- EVENT: CONNECTION_TIMEOUT

09:20:45.204 -- EVENT: DISCONNECTED

09:20:45.205 -- Tunnel bytes per CPU second: 0

09:20:45.220 -- ----- OpenVPN Stop -----

I tried "Shibboleet! " and now I am finally (really!) going to speak with a real tech at netgear. Hopefully he/she knows something...

as always,

thx,

ken

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Setting OpenVPN with R700 router

Post by TinCanTech » Tue Jun 29, 2021 10:16 pm

Your firewall is blocking you ..

daytooner
OpenVpn Newbie
Posts: 6
Joined: Wed Jun 16, 2021 2:28 pm

Re: Setting OpenVPN with R700 router

Post by daytooner » Wed Jun 30, 2021 10:54 am

TinCanTech wrote:
Tue Jun 29, 2021 10:16 pm
Your firewall is blocking you ..
OK.

But which firewall, where? There is nothing between the modem and the router gateway. Do I need to open/forward/trigger something on the router itself.? As I said, I do see packets from my client at the WAN interface of the router.

I'm definitely now confused :? .

thx,

ken

300000
OpenVPN Expert
Posts: 685
Joined: Tue May 01, 2012 9:30 pm

Re: Setting OpenVPN with R700 router

Post by 300000 » Wed Jun 30, 2021 8:12 pm

Why do you try to connect directly to your public ip address? It should try to see if it work or not .

Post Reply