Showing posts with label iptables. Show all posts
Showing posts with label iptables. Show all posts

Iptables Port forwarding for VNC

 
 /sbin/iptables -A PREROUTING -t nat -p tcp -d $NATIP --dport 5900 -m 
state --state NEW,ESTABLISHED,RELATED -j DNAT --to 192.168.0.2:5900