need assistence for PREROUTING
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello,
Quoted 4 lines · Seferovic Edvin
Quoted 2 lines
$IPTABLES -t nat -A PREROUTING -i $ETH -p tcp --sport $UNPRIVPORTS --dport 4444 -d xxx.xxx.xxx.xxx -j DNAT --to-destination 192.168.178.32
You need port here !!! --to-destination 192.168.178.32:80
Also, 192.168.178.112 must be the gateway for the return packets so they are properly un-DNATed.