Virutalbox Portforwading [NAT] help

This is for discussing general topics about how to use VirtualBox.
Post Reply
jakes9x
Posts: 7
Joined: 29. Oct 2010, 17:00
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: windows xp

Virutalbox Portforwading [NAT] help

Post by jakes9x »

I want to forward both tcp and upd ports on virtualbox
I successfully forwarded tcp port using this command
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe modifyvm "vbox" --natpf1 "guestssh,tcp,,81,,81"
And i got sucess. I checked it at http://canyouseeme.org

But i also want to forward udp ports
I tried to forward udp ports using this command
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe modifyvm "vbox" --natpf1 "guestssh,udp,,81,,81"
But it showed me an error " A NAT rule of this name already exists"

What do i do ?
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: Virutalbox Portforwading [NAT] help

Post by Technologov »

change rule name to "guestsshudp" or something...

in v4.0 there is a GUI making it straightforward
Post Reply