enabling port forward redirection from single external IP
Hy Guys
I need help with enabling port forward redirection from single external IP port 80 to internal network port 4090.
this rule works for me but as i mentioned above I need to restrict access to only one external IP to be able to communicate to internal network port 4090
iptables -t nat -A PREROUTING -i ppp0 -p tcp -d X.X.X.X --dport 80 -j DNAT --to-destination 192.168.2.25:4090
Thanks in advance
|