Changes between Version 29 and Version 30 of jazz/10-05-17
- Timestamp:
- May 19, 2010, 1:21:30 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/10-05-17
v29 v30 130 130 jazz@jazzbook:~$ VBoxManage controlvm "Lenny" poweroff 131 131 }}} 132 * 如果要讓 VirtualBox 的 VM 可以經過 tap0 連線外界,要記得加 NAT 的規則 133 {{{ 134 jazz@Wdebian:~$ sudo VBoxTunctl 135 Set 'tap0' persistent and owned by uid 0 136 jazz@Wdebian:~$ sudo ifconfig tap0 192.168.125.254 137 jazz@Wdebian:~$ sudo iptables -t nat -A POSTROUTING -s 192.168.125.1/32 -j MASQUERADE 138 }}}