Archive for May, 2012

KVM and Ubuntu 11 i686 and iptables

Sunday, May 6th, 2012

I was creating virtual guests in KVM on my Ubuntu 11 host. The problem I was experiencing was not having the ability to connect to the guest from outside the host’s console.

The guest was a Window’s Server 2008 Standard. I needed to connect to the server via RDP. Here were the two lines I ran against iptables to get it to work:

sudo iptables -t nat -I PREROUTING -p tcp –dport 3389 -j DNAT –to-destination 192.168.122.187:3389
(more…)