Posted: Tue May 25, 2021 11:03 Post subject: IP: advanced router / IP: policy routing (kernel)
Hello
My router is:
Router Model - Dlink DIR-825
Firmware Version - DD-WRT v3.0-r37305 std (10/10/18)
Kernel Version - Linux 3.10.108-d6 #65369 Wed Oct 10 04:39:34 CEST 2018 mips
How to know, if my kernel support ?:
- IP: advanced router (CONFIG_IP_ADVANCED_ROUTER)
- IP: policy routing (CONFIG_IP_MULTIPLE_TABLES)
Not going to post all the search results. Again, upgrade because most of what you need to work may be broken or not present in that 2-year-old firmware version.
_________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Firmware Version - DD-WRT v3.0-r46750 (05/25/21)
Kernel Version - Linux 3.10.108-d11 #81661 Tue May 25 02:17:28 +07 2021 mips
i resolved my problem.
Just putted to: OpenVPN Client -> Policy based Routing - 192.168.1.148/32 and all ok.
Also i tried configure policy routing via console, something like this:
Code:
ip route delete 0.0.0.0/1 via 10.122.18.1 dev tun1 #from main
ip rule add from 192.168.1.148 table 120
ip route add 0.0.0.0/1 via 10.122.18.1 dev tun1 table 120
Everything worked instantly, unlike the tedious fiddling with the previous firmware. Apparently on the old firmware there are big problems with PBR. (But i didn't try gui)
kernel-panic69, egc - thanks! 🍻
p.s. strange error in open vpn log sometimes:
--mtu-disc is not supported on this OS.