Difference between revisions of "Configuring firewall to enable access to container vm"
From MyWiki
(Created page with "Configure access for natted virtual machine: iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 5903 -j DNAT --to-destination 10.0.3.197:5901") |
|||
Line 1: | Line 1: | ||
− | Configure access for natted virtual machine: | + | Configure access for natted virtual machine:<br> |
iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 5903 -j DNAT --to-destination 10.0.3.197:5901 | iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 5903 -j DNAT --to-destination 10.0.3.197:5901 |
Latest revision as of 10:30, 18 May 2015
Configure access for natted virtual machine:
iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 5903 -j DNAT --to-destination 10.0.3.197:5901