利用iptables prerouting可以實現埠重定向以及IP的重定向,測試看看。 ... iptables -t nat -A PREROUTING -p tcp --dport 2222 -j REDIRECT ...
確定! 回上一頁