IPTABLES port forwarding under NAT?
I'm trying to forward a range of ports (6112-6119) from my NAT gateway running IPTABLES to my desktop P.C. However, I seem to be doing something wrong, because I'm not seeing any results. The syntax I'm using is:
iptables -t nat -A PREROUTING -i eth0 -p udp -d 192.168.0.248 --dport 6112 \
-j DNAT --to 192.168.0.248:6112
I put in one entry per each port I wanted to forward. What am I doing wrong? Current Mood: annoyed