If you need services to be availble on multiple ports, you can use:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 1000 -j REDIRECT --to-port 25 --match comment --comment "Explain."
This makes port 1000 and 25 the same service.
Smokes your problems, coughs fresh air.
If you need services to be availble on multiple ports, you can use:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 1000 -j REDIRECT --to-port 25 --match comment --comment "Explain."
This makes port 1000 and 25 the same service.
© 2024 BigSmoke
Theme by Anders Noren — Up ↑
Recent Comments