lewtrocki
New Around Here
Hello all,
This is my first post in here. I try to connect only one device in my network to access internet over OpenVPN client (tun15 interface in my case). I do it on Asus RT-AX53U router with ASUSWRT (Operation Mode:Wireless router Firmware Version:3.0.0.4.386_68691) by uploading .ovpn config. I got OpenVPN server on my TP-link router on different location. Without adding a route and no-pull VPN works fine on all devices. So I have added this:
So my .ovpn config file that Im uploading to Asus web interface looks like this:
With this configuration, I have a normal connection (without VPN) on the rest of devices but on the device with an IP address of 192.168.60.162, I have a connection to the WiFi, but no internet connection.
After clicking activate, on OpenVPN client tab it creates a config.ovpn file which looks like this:
So maybe the issue is connected with that Asuswrt is adding route-noexec parameter to this file? Do you have any suggestions for what I can look for to fix this?
This is my first post in here. I try to connect only one device in my network to access internet over OpenVPN client (tun15 interface in my case). I do it on Asus RT-AX53U router with ASUSWRT (Operation Mode:Wireless router Firmware Version:3.0.0.4.386_68691) by uploading .ovpn config. I got OpenVPN server on my TP-link router on different location. Without adding a route and no-pull VPN works fine on all devices. So I have added this:
Code:
route-nopull
route 192.168.60.162 255.255.255.255
Code:
client
dev tun
auth-nocache
proto udp
float
nobind
cipher AES-128-CBC
comp-lzo adaptive
resolv-retry infinite
persist-key
persist-tun
verb 3
remote example.tplinkdns.com 1194
route-nopull
route 192.168.60.162 255.255.255.255
<ca>
My ca here
</ca>
<cert>
my cert here
</cert>
<key>
my key here
</key>
With this configuration, I have a normal connection (without VPN) on the rest of devices but on the device with an IP address of 192.168.60.162, I have a connection to the WiFi, but no internet connection.
After clicking activate, on OpenVPN client tab it creates a config.ovpn file which looks like this:
Code:
/ # cat /etc/openvpn/client5/config.ovpn
# Automatically generated configuration
# Tunnel options
remote example.tplinkdns.com
resolv-retry infinite
nobind
proto udp
port 1194
dev tun15
route-up '/etc/openvpn/ovpn-route-up'
route-pre-down '/etc/openvpn/ovpn-route-pre-down'
route-noexec
sndbuf 0
rcvbuf 0
persist-tun
persist-key
up '/etc/openvpn/ovpn-up'
down '/etc/openvpn/ovpn-down'
setenv ovpn_type 1
setenv unit 5
setenv adns 1
setenv route_net_defdev eth1
setenv nat 1
script-security 2
daemon vpnclient5
verb 3
status-version 2
status status 10
comp-lzo adaptive
# Client Mode
client
# Data Channel Encryption Options
auth SHA1
cipher AES-128-CBC
# TLS Mode Options
ca ca.crt
cert client.crt
key client.key
# Custom Configuration
auth-nocache
float
route-nopull
route 192.168.60.162 255.255.255.255
So maybe the issue is connected with that Asuswrt is adding route-noexec parameter to this file? Do you have any suggestions for what I can look for to fix this?
Last edited: