[Solved] unable to perform port forwarding...
Posted: 10. Mar 2009, 22:35
Hello! Will someone please tell me where I am going wrong in my steps? I am using a FRESH Ubuntu 8.10 (not even updates), the VBOX GUI, iptables rules flushed, and all CLI commands are ran from a non-root user account...
1. create xp from iso (created new virtual disk)
2. close out VirtualBox GUI
3. run user@ubuntu:~$ VBoxManage setextradata "xp2" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/web/GuestPort" 81
4. run user@ubuntu:~$ VBoxManage setextradata "xp2" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/web/HostPort" 81
5. run user@ubuntu:~$ VBoxManage setextradata "xp2" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/web/Protocol" TCP
6. output of VBoxManage getextradata "xp2" enumerate
Key: GUI/SaveMountedAtRuntime, Value: yes
Key: GUI/LastWindowPostion, Value: 1647,371,640,527
Key: GUI/Fullscreen, Value: off
Key: GUI/Seamless, Value: off
Key: GUI/AutoresizeGuest, Value: on
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/web/GuestPort, Value: 81
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/web/HostPort, Value: 81
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/web/Protocol, Value: TCP
7. start VBOX GUI and verify xp vm settings are NAT
8. Start xp VM
9. VirtualBox error - failed to start vm xp2
NAT#0: configuration error: failed to set up redirection of 81 to 10.0.2.15:81. Probably a conflict with existing services or other rules (VERR_NAT_REDIR_SETUP).
Unknown error creating VM (VERR_NAT_REDIR_SETUP).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Console
Interface:
IConsole {e3c6d4a1-a935-47ca-b16d-f9e9c496e53e}
I think I'm doing what the white papers say. Any help would be much appreciated. Thanks...
1. create xp from iso (created new virtual disk)
2. close out VirtualBox GUI
3. run user@ubuntu:~$ VBoxManage setextradata "xp2" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/web/GuestPort" 81
4. run user@ubuntu:~$ VBoxManage setextradata "xp2" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/web/HostPort" 81
5. run user@ubuntu:~$ VBoxManage setextradata "xp2" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/web/Protocol" TCP
6. output of VBoxManage getextradata "xp2" enumerate
Key: GUI/SaveMountedAtRuntime, Value: yes
Key: GUI/LastWindowPostion, Value: 1647,371,640,527
Key: GUI/Fullscreen, Value: off
Key: GUI/Seamless, Value: off
Key: GUI/AutoresizeGuest, Value: on
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/web/GuestPort, Value: 81
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/web/HostPort, Value: 81
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/web/Protocol, Value: TCP
7. start VBOX GUI and verify xp vm settings are NAT
8. Start xp VM
9. VirtualBox error - failed to start vm xp2
NAT#0: configuration error: failed to set up redirection of 81 to 10.0.2.15:81. Probably a conflict with existing services or other rules (VERR_NAT_REDIR_SETUP).
Unknown error creating VM (VERR_NAT_REDIR_SETUP).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Console
Interface:
IConsole {e3c6d4a1-a935-47ca-b16d-f9e9c496e53e}
I think I'm doing what the white papers say. Any help would be much appreciated. Thanks...