Community discussions

just joined
Topic Author
Posts: 5
Joined: Tue Oct 24, 2017 5:22 am

How to bypass the VPN for a specific website?

Fri Nov 09, 2018 10:56 pm

I'm using an L2TP/IPsec VPN. I configured the client according to this guide and it works fine.
The problem is that the ip address of the VPN host (Google Compute Engine) is banned by some websites, so I have to use my ISP's IP address for those sites.

I tried to this:
ip route add distance=1 dst-address=[ip of the problematic website] gateway=[WAN interface]

...but this does not seem to work. Any help would be appreciated.
Frequent Visitor
Frequent Visitor
Posts: 69
Joined: Wed Jan 03, 2018 10:17 am

Re: How to bypass the VPN for a specific website?

Sun Nov 11, 2018 12:05 pm

I think if you follow that guide all you need is add !dst address for the mangle rule which the dst address is the ip you don't want to go throught the VPN, you can use a dst address list instead.

Who is online

Users browsing this forum: No registered users and 12 guests