geres
July 24, 2023, 9:13am
1
What I would like to do is bypass the vpn with a device.
I have read this page 20 times but I don't know anything.
https://docs.openwrt.melmac.net/pbr/#use-resolvers-set-support
Could someone tell me how to do it, here I leave the photos so that you know the version that I use and exactly the steps that I must take.
The vpn is wireguard
Thanks in advance
egc
July 24, 2023, 9:51am
2
If you want one of you LAN clients to use the WAN instead of the VPN then start with giving that LAN client a static lease.
The Static lease is used in the PBR.
See this example where I have one of my LAN clients (192.168.9.123) using the WAN:
Note: you are probably not using ipset/nftset so set the "Use resolver set support for domains" to disabled
geres
July 24, 2023, 12:18pm
3
edit: Some web pages do not load but others do and ping correctly
If I connect it to a vpn client from the pc, the pages work, which is something from the router
I edit again routed to a wifi router in android goes well
1 Like
egc
July 24, 2023, 1:01pm
4
Not exactly sure what the problem is but can you show output of:
cat /etc/config/network
cat /etc/config/firewall
cat /etc/config/pbr
Use the preformatted text </> to format the output before posting
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
Reference for others: Bypass vpn wireguard
(In the future, feel free to discuss in the original thread instead of making a new one.)
1 Like
geres
July 24, 2023, 1:45pm
6
I have restarted the router and solved
thank you very much for your attention
2 Likes
system
Closed
August 3, 2023, 1:46pm
7
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.