this does not work. traffic separation works great for clients but not on the router itself, apparently it's all because of the openvpn route. if you add "pull-filter ignore redirect-gateway" a line to the config of the ovpn to ignore the server’s routes, then what routes should be added manually to the openvpn config?
None, cause then the vpn connection will take precedence over the wan.
but by default, doesn’t everything go through VPN?
Only if the gateway is redirected to VPN.
it turns out that it is redirected when I run on the router openvpn
If you ignore the routes pushed by the server it will not install the default gateway and the traffic will continue to go through your ISP.
so in the end it’s impossible to configure?
no use something else I will not. I asked about routes.besides what routes and where
Please use full sentences. It sounds like you refuse to ignore the route; and you refuse to setup PBR.
If that's the case, please feel free to mark the thread as solved.
yes it’s better not to create any sense at all.and without instructions what to do ok
Which procedure do you choose?
We can't guess what instructions you desire - you've been given 2 options.
???
I answered additional programs I will not use why then "vpn-policy-routing" option with port forwarding does not work!!
Port forwarding doesn't work because your reply traffic is routed thru the VPN. That is what you need to fix.
In WAN <> OUT VPN
Assign IP to PBR, use with Transmission - In WAN <> Out WAN
I already understood this even before creating the topic. we went around!!
OK. I guess you don't want to fix your issue.
Sorry for troubling you.
what is this PBR??
So:
- you make an interface on OpenWrt
- bind IP to Transmission
-
set PBR for said IP
- Done!
When you selected "Solved" (I assume accidental) - you started a 10-day countdown.
Not me.
I will flag your last posting.
LOL - You mentioned PBR in your first post!!!
You can install a package, or you can add the routes and rules into /etc/config/network
- https://openwrt.org/docs/guide-user/network/routes_configuration
- https://openwrt.org/docs/guide-user/network/ip_rules
Why don't you stop cursing and just ask?
(Again, I'll be flagging the post cursing at me again.)