Quote:
Originally posted by ppuru
if it is external traffic going to another system
Code:
iptables -t nat -A PREROUTING -i <external nic> -p tcp --dport 443 \
-j DNAT --to-destination <ipaddress>:7502
|
yup, but don't forget the accompanying FORWARD rule needed to make that work:
Code:
iptables -A FORWARD -p tcp -d <ipaddress> --dport 7502 -j ACCEPT