iptables -t nat -A PREROUTING -p tcp --dport 8080 -j DNAT --to 127.0.0.1:8080
若要用 iptables 把 traffic 導到 localhost,需要比較新的 Kernel >= 3.6 才可以做到
需要設此參數為 1
sysctl -w net.ipv4.conf.all.route_localnet=1
RouterBoard 管理工具 WinBox 官方已經出 4.x 版 UI 比較漂亮,但也肥大許多(解開大於50M),還是習慣使用舊版(x64 只有 2.2M) WinBox 3.43 Legacy version of advanced desktop utility ...
沒有留言:
張貼留言