28th Mar, 2007

同時接收不同 port 的 iptables rule

# below rule listen to redirect port 81 to port 80

# therefore, both port 80 and port 81 connect to the same service

iptables -t nat -A PREROUTING -p tcp –dport 81 -j REDIRECT –to-ports 80

相關文章

你的回應






Your response: