I bought a rt-n66u and installed Merlin 378.55 firmware. Then I enabled the openvpn server1. After the vpn server is enabled. I found I can't access some website. Such as 14.17.32.229.
I checked the route table. It's
admin@RT-N66U-6BA0:/tmp/home/root# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
171.214.206.1 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 br0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
8.0.0.0 * 248.0.0.0 U 0 0 0 tun21
default 171.214.206.1 0.0.0.0 UG 0 0 0 ppp0
default 192.168.1.1 0.0.0.0 UG 1 0 0 eth0
I think it's "8.0.0.0/248.0.0.0" of the vpn interface that make me can't access 14.17.32.229.
Then I disabled the vpn server and the "8.0.0.0/248.0.0.0" rule gone and everything is OK.
I use static key for openvpn.
# Automatically generated configuration
daemon
topology subnet
ifconfig 10.10.0.1 10.10.0.2
proto udp
rcvbuf 0
sndbuf 0
port 34568
dev tun22
comp-lzo adaptive
keepalive 15 60
verb 3
secret static.key
status-version 2
status status
# Custom Configuration
The vpn server itself works well.
So how can I fix the route issue? I need the vpn server. Thanks!
I checked the route table. It's
admin@RT-N66U-6BA0:/tmp/home/root# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
171.214.206.1 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 br0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
8.0.0.0 * 248.0.0.0 U 0 0 0 tun21
default 171.214.206.1 0.0.0.0 UG 0 0 0 ppp0
default 192.168.1.1 0.0.0.0 UG 1 0 0 eth0
I think it's "8.0.0.0/248.0.0.0" of the vpn interface that make me can't access 14.17.32.229.
Then I disabled the vpn server and the "8.0.0.0/248.0.0.0" rule gone and everything is OK.
I use static key for openvpn.
# Automatically generated configuration
daemon
topology subnet
ifconfig 10.10.0.1 10.10.0.2
proto udp
rcvbuf 0
sndbuf 0
port 34568
dev tun22
comp-lzo adaptive
keepalive 15 60
verb 3
secret static.key
status-version 2
status status
# Custom Configuration
The vpn server itself works well.
So how can I fix the route issue? I need the vpn server. Thanks!