1. 主路由的网关,dns 改成旁路由ip
  2. 旁路由设置静态ip,网关设置成主路由,dns设置常用dns,取消DHCP,取消桥接,防火墙规则添加自定义规则:
    iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
Last modification:March 30th, 2021 at 02:00 pm
If you think my article is useful to you, please feel free to appreciate