Forward all trafic true vpn

Hey guys,

I am an vpn newbie and after 2 days of trying I am still stuck. I have a Asus router at home hosting a openvpn server at 192.168.1.1

When I connect via a openvpn client under Windows 10 the connection works flawless.

This is my ipconfig:

Unknown adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Windows Adapter V9 for OpenVPN Connect
Physical Address. . . . . . . . . : 00-FF-97-A1-0C-34
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::9ca3:eaa:bfba:9618%16(Preferred)
IPv4 Address. . . . . . . . . . . : 10.8.0.10(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 251723671
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-28-34-EB-24-A4-B1-C1-75-D0-2D
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . : lan
Description . . . . . . . . . . . : Intel(R) Wi-Fi 6 AX201 160MHz
Physical Address. . . . . . . . . : A4-B1-C1-75-D0-2D
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b889:f4d8:70a5:c6ae%18(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.10.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Monday, 24 May 2021 11:35:09
Lease Expires . . . . . . . . . . : Tuesday, 25 May 2021 01:20:14
Default Gateway . . . . . . . . . : 192.168.10.1
DHCP Server . . . . . . . . . . . : 192.168.10.1
DHCPv6 IAID . . . . . . . . . . . : 128233921
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-28-34-EB-24-A4-B1-C1-75-D0-2D
DNS Servers . . . . . . . . . . . : 192.168.10.1
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Bluetooth Network Connection:

When I connect the GL-AR750 with the same config file I receive the following.

The “Unknown adapter with the correct settings” isn’t there anymore, the button “Access Local Network” in the firmware is activated.

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . : lan
Description . . . . . . . . . . . : Intel(R) Wi-Fi 6 AX201 160MHz
Physical Address. . . . . . . . . : A4-B1-C1-75-D0-2D
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b889:f4d8:70a5:c6ae%18(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.10.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Monday, 24 May 2021 11:35:10
Lease Expires . . . . . . . . . . : Tuesday, 25 May 2021 01:20:14
Default Gateway . . . . . . . . . : 192.168.10.1
DHCP Server . . . . . . . . . . . : 192.168.10.1
DHCPv6 IAID . . . . . . . . . . . : 128233921
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-28-34-EB-24-A4-B1-C1-75-D0-2D
DNS Servers . . . . . . . . . . . : 192.168.10.1
NetBIOS over Tcpip. . . . . . . . : Enabled

So here is why I don’t understand anymore, there apears to be an vpn connection but thre is no internet and nog access to the local network with this connection. The config file is the same?

If I traceroute to openwrt.org via the windows vpn i Got:
C:\Users\Fluefiske>tracert openwrt.org

Tracing route to openwrt.org [139.59.209.225]
over a maximum of 30 hops:

1 21 ms 29 ms 29 ms 10.8.0.1 [10.8.0.1]
2 33 ms 27 ms 23 ms mijnmodem.kpn.home [192.168.2.254]
3 29 ms 28 ms 26 ms static.kpn.net [195.190.228.2]
4 * 28 ms 27 ms 213.46.186.38
5 * * * Request timed out.
6 * * 38 ms nl-ams17b-rc1-lag-12-0.aorta.net [84.116.139.129]
7 29 ms 28 ms 30 ms nl-srk03a-ri1-ae-3-0.aorta.net [84.116.135.149]
8 30 ms 30 ms 30 ms 213.46.182.142
9 40 ms 36 ms 34 ms ae-2-3102.edge3.London15.Level3.net [4.69.143.242]
10 * * * Request timed out.
11 * * * Request timed out.
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 42 ms 41 ms 40 ms wiki-01.infra.openwrt.org [139.59.209.225]

If I traceroute to openwrt.org via the gl-inet vpn i Got:

C:\Users\Fluefiske>tracert openwrt.org

Tracing route to openwrt.org [139.59.209.225]
over a maximum of 30 hops:

1 1 ms 1 ms 1 ms console.gl-inet.com [192.168.10.1]
2 * * * Request timed out.
3 * * * Request timed out.
4 46 ms 36 ms 31 ms static.kpn.net [195.190.228.2]
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 35 ms 38 ms 38 ms nl-srk03a-ri1-ae-3-0.aorta.net [84.116.135.149]
9 38 ms 38 ms 38 ms 213.46.182.142
10 47 ms 48 ms 47 ms ae-2-3102.edge3.London15.Level3.net [4.69.143.242]
11 * * * Request timed out.
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
16 49 ms 47 ms 47 ms wiki-01.infra.openwrt.org [139.59.209.225]

I looks like it reacht the desinated website but I can’t reach it by browser, I also can’t access my local network drives.

This is my ovpn file:

remote www.mydomain.com 1194
float
nobind
proto udp
dev tun
sndbuf 0
rcvbuf 0
keepalive 10 30

for OpenVPN 2.4 or older

comp-lzo yes

for OpenVPN 2.4 or newer

;compress lzo

auth-user-pass
client
auth SHA1
cipher AES-256-CBC
remote-cert-tls server

-----BEGIN CERTIFICATE-----
Secret
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE----- Secret -----END CERTIFICATE----- -----BEGIN PRIVATE KEY----- Secret -----END PRIVATE KEY-----

Everything is connected via a captive portal on a hotel wifi.

Can someone give me a hint while I start loosing it.

Kind regards,

André

First, the config you posted of windows config may not relate.

Second, you should give a screenshot of the router’s vpn connection page, indicating that vpn is connected.

Third, the ovpn seems fine. Pls note in Asus router vpn server settings there should be one option to route data, which should be checked