Hi,
I did all according to this guide https://wiki.teltonika.lt/view/OpenVPN_traffic_split. Only changes was in /etc/config/network/
config interface 'vpnas'
option proto 'none'
option ifname 'tun_c_Home'
config route
option interface 'vpnas'
option target '0.0.0.0'
option netmask '0.0.0.0'
option gateway '10.8.0.5'
option table 'main'
config rule
option in 'lan'
option src '192.168.1.0/25'
option lookup 'rt'
option priority '10'
Config in the router should be default. Only added few wlans, openvpn client and changed login password.
The one thing i did not get in the guide that if my mobile traffic went through VPN before this configuration and then i added this configuration that only specific IP range should go through VPN. Then how configuration change route for the rest of the IP address and route it straight to "internet".
Here is also main table routes:
master@Teltonikaaa-RUT950:~# ip route show table main
0.0.0.0/1 via 10.8.0.5 dev tun_c_Home
default via 10.143.198.7 dev wwan0
10.8.0.0/24 via 10.8.0.5 dev tun_c_Home
10.8.0.5 dev tun_c_Home proto kernel scope link src 10.8.0.6
10.143.198.0/29 dev wwan0 proto static scope link metric 10
10.143.198.7 dev wwan0 proto static scope link src 10.143.196.2 metric 10
91.154.7.99 via 10.143.198.7 dev wwan0
128.0.0.0/1 via 10.8.0.5 dev tun_c_Home
192.168.1.0/24 dev br-lan proto kernel scope link src 192.168.1.1
193.13.150.72 via 10.143.198.7 dev wwan0
212.248.152.72 via 10.143.198.7 dev wwan0