Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have a ubuntu host system with virtualbox running a windows server. In Virtualbox i have configured the network with a NAT interface and port forwarding for the RDP deamon running inside the vm.

That works really well - i can connect to the windows rdp service over the internet. TCP *:3389 -> *:3389

Now i like to restrict the access to the rdp service to only 3 public ip addresses and have no idea how to do that via iptables / shorewall.

Something like:

ACCEPT net:91.x.x.x fw tcp 3389

(shorewall rule) isn't working.

Would be glad for any hint.

share|improve this question
You're using VirtualBox to host a production Windows VM? – MDMarra Jul 8 '12 at 12:16
That's the plan. It's just a desktop for 3 employees running a business software in terminal mode. – Roose Jul 8 '12 at 12:22

Solved ... I had a typo in my IP address.

Everything works like a charm now I fixed that.

share|improve this answer
Glad you resolved this issue. Please be sure to mark your answer as "accepted" when you are able. – jscott Jul 14 '12 at 15:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.