設定 OpenWrt

  1. 設定 5 ports<->interface

  2. /etc/config/network 裡有關於 config switch => option name

    • swconfig list 可找到相對應的 switch name
    • swconfig dev switch0 help 可以看到該晶片可用的功能
    • swconfig dev switch0 show 可以看到該晶片現在的設定
    • OpenWrt swconfig
  3. Allow specific wan IP use SSH

  4. Default gateway

    • route add default gw x.x.x.x
    • route delete default gw x.x.x.x

Comments

comments powered by Disqus