Friday, November 9, 2012

nat an internal address:port to the outside address:port

sudo iptables -t nat -A PREROUTING --in-interface virbr+ -d 169.254.169.254 --proto tcp --dport 80 -j DNAT --to-destination 192.168.11.1:8076

No comments: