How to set default gateway unchanged? - OpenWrt Forum
forum.openwrt.org › t › how-to-set-default-gatewayAug 04, 2020 · I am using vpn-policy-routing. I have 2 default gateways: wan and tun. The tun here is openvpn client. While the openvpn client is up and running the default gateway is set to tun. When the client is down, the default gateway is automatically set to wan. How do I configure it such that the default gateway is always fixed to tun, regardless of the openvpb client's state? The vpn-policy-routing ...
[OpenWrt Wiki] UCI networking options cheatsheet
openwrt.org › docs › guide-userSep 08, 2019 · UCI networking options cheatsheet This is a cheatsheet for quick lookup of networking UCI options, useful for experienced users. Options valid for all protocol types config interface 'lan' option type 'bridge' option ifname 'eth0.1' option proto 'static' option netmask '255.255.255.0' option ip6assign '60' option ipaddr '192.168.1.1' config interface 'wan' option ifname 'eth0.2' option proto ...
[OpenWrt Wiki] Network basics /etc/config/network
openwrt.org › docs › guide-userThe default OpenWrt network stack of a typical home router looks like this: Your device may vary slightly in features or numbering scheme. A minimal network configuration for a router usually consists of at least two interfaces ( lan and wan) and their associated devices ( br-lan and eth0 ), as well as a switch section if applicable.