Bypass VPN for exactly 1 particular destination ip


#1

Hello,

ich would like to keep VPN allways on with the force VPN option.

Now i have 1 destination ip, that shall not go through the VPN.

At the moment i would try this, what do you think?:

ip rule add to 8.8.8.8 lookup 20
ip route add table 20 default via 192.168.0.1 dev eth0


Bypass VPN for certain websites
#2

I combine your command and

iptables -A zone_lan_forward -d 8.8.8.8 -o eth0 -j ACCEPT

it works.

You can comfirm the result by

ping 8.8.8.8

cat /proc/net/nf_conntrack | grep icmp | grep 8.8.8.8

and check the second dst field.

 


#3

Hi,

i used the Static IPv4 Routes Interface GUI in the Advanced settings and it works.


#4

GUI interface for VPN bypass