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
Cloudflare WARP 的底層是用 WireGuard tunnel wgcf 工具可以把它匯出成 WireGuard config curl -sL https://github.com/ViRb3/wgcf/releases/download/v2.2.29/w...
沒有留言:
張貼留言