Hi,
I'm new here. New on openwrt. I've tried to find what I'm looking on the forum but it is not enough clear to me yet. I configured my VPN on my davidc502 build, open vpn. But I try to bypass , I want one of my device without VPN. I've read on split tunneling, vpn bypass, policy routing , static route etc.. everything seems to me the same. Dont know if someone would be able to help me. If I want that ip device bypassing: 192.168.1.138, do you need many more infos?
Maybe in private?
Thanks
b.bo
February 9, 2020, 8:20pm
2
I'm following.
It may also be useful to me.
1 Like
Jamesbe12:
vpn bypass
Yes, what package are you going to use?
I've already have vpn by pass. I tried to download vpn policy routing but it does not work. I saw on this forum someone else with that problem. Impossible to find the policiy routing on luci.
ulmwind
February 10, 2020, 7:44am
5
How have you derived, that it doesn't work? How have you tried to install it? Please, note, that both of that packages should not be installed simultaneously, because they conflict with each other.
Yes I saw that. I uninstalled the policy to use VPN bypass.. but when i uninstall bypass I cant find policy anyway.
ulmwind
February 10, 2020, 5:40pm
7
What does it mean "I can't find policy anyway"?
ulmwind
February 10, 2020, 8:36pm
9
I don't understand, what you are trying to find.
# VPN Policy-Based Routing
## Description
This service allows you to define rules (policies) for routing traffic via WAN or your L2TP, Openconnect, OpenVPN, PPTP or Wireguard tunnels. Policies can be set based on any combination of local/remote ports, local/remote IPv4 or IPv6 addresses/subnets or domains. This service supersedes the [VPN Bypass](https://github.com/openwrt/packages/blob/master/net/vpnbypass/files/README.md) service, by supporting IPv6 and by allowing you to set explicit rules not just for WAN interface (bypassing OpenVPN tunnel), but for L2TP, Openconnect, OpenVPN, PPTP and Wireguard tunnels as well.
## Features
### Gateways/Tunnels
- Any policy can target either WAN or a VPN tunnel interface.
- L2TP tunnels supported (with protocol names l2tp\*).
- Openconnect tunnels supported (with protocol names openconnect\*).
- OpenVPN tunnels supported (with device names tun\* or tap\*).<sup>[1](#footnote1)</sup> <sup>[2](#footnote2)</sup>
- PPTP tunnels supported (with protocol names pptp\*).
- Wireguard tunnels supported (with protocol names wireguard\*).
### IPv4/IPv6/Port-Based Policies
- Policies based on local names, IPs or subnets. You can specify a single IP (as in ```192.168.1.70```) or a local subnet (as in ```192.168.1.81/29```) or a local device name (as in ```nexusplayer```). IPv6 addresses are also supported.
This file has been truncated. show original
I just want to bypass vpn with my smart TV and iPad.
Policy routing is what you want. To get access to the GUI you must install luci-app-vpn-policy-routing in addition to vpn-policy-routing
1 Like
Yeah.. I tried and i installed the package but when i go to VPN or service in luci, nothing is there. I can't find it.
.? I don't understand?
English is not my first language ....
Can you post a screenshot of the VPN page and what you see there?
@stangri is the package maintainer perhaps he can figure out what is going on from that screenshot or provide some further advice.
opkg install --force-reinstall luci-app-vpn-policy-routing
maybe
I don't know where it shows up, but maybe it shows up under "network" rather than VPN or services.
I checked everywhere..
Nothing
ulmwind
February 11, 2020, 7:42am
20
Login by ssh, and post welcome-screen. Your version of OpenWRT looks like not native.