Virtual Box Bridge
1. VirtualBox 2.1.2 Network Howto ¶¹öö¹Ú½ºÀÇ NAT ³×Æ®¿öÅ©´Â ¹ö±×¶§¹®¿¡ ÀÚÁÖ Á×½À´Ï´Ù.
°Ô´Ù°¡ ¼Óµµµµ ´À¸®´Ï Host Interface ·Î »ç¿ëÇÏ´Â ¹æ¹ýÀ» Àû½À´Ï´Ù. - ¼ÛÈ¿Áø 1.2. Wireless ¶
modprobe vboxdrv modprobe vboxnetflt modprobe tun tunctl ifconfig tap0 up route add -host 192.168.0.101 dev tap0 sysctl net.ipv4.ip_forward=1 sysctl net.ipv4.conf.wlan0.proxy_arp=1 sysctl net.ipv4.conf.tap0.proxy_arp=1 iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE VBoxManage modifyvm GuestName -hostifdev1 tap0 1.3. NAT ¶
1.3.1. Port Forwarding ¶
VBoxManage setextradata "WindowsXP" "VBoxInternal/Devices/e1000/0/LUN#0/Config/terminal/Protocol" TCP VBoxManage setextradata "WindowsXP" "VBoxInternal/Devices/e1000/0/LUN#0/Config/terminal/GuestPort" 3389 VBoxManage setextradata "WindowsXP" "VBoxInternal/Devices/e1000/0/LUN#0/Config/terminal/HostPort" 3389 |
Even the boldest zebra fears the hungry lion. |