Changes between Version 2 and Version 7 of Ticket #6403
- Timestamp:
- Apr 13, 2010 7:58:37 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6403 – Description
v2 v7 3 3 1.1.1.x are public/outside addresses in this example. 4 4 5 eth0 - primary hostos IP 1.1.1.1 5 eth0 - primary hostos IP 1.1.1.1[[BR]] 6 eth0:2 - secondary hostos IP 1.1.1.2[[BR]] 7 eth0:3 - secondary hostos IP 1.1.1.3[[BR]] 6 8 7 eth0:2 - secondary hostos IP 1.1.1.2 8 9 eth0:3 - secondary hostos IP 1.1.1.3 10 11 Hostos has tcp/22 bound specifically to 1.1.1.1 with sshd using the "ListenAddress 1.1.1.1" directive in sshd_config. 9 Hostos has tcp/22 bound specifically to 1.1.1.1 with sshd using the "!ListenAddress 1.1.1.1" directive in sshd_config. 12 10 13 11 Now setting the guestos to bind to 1.1.1.2: 14 12 {{{ 15 13 VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/BindIP" "1.1.1.2" 16 17 14 VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP 18 19 15 VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22 20 21 16 VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 22 22 17 }}} … … 26 21 {{{ 27 22 VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP 28 29 23 VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22 30 31 24 VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 23 32 25 }}} … … 36 29 37 30 For instance, should I want to bind 1.1.1.2:80 to guestosA and 1.1.1.3:80 to guestosB, you cannot, as the first guestos that starts will bind to all 0.0.0.0:80. The BindIP should limit what IP address the NAT's are bound to. 38