-
Notifications
You must be signed in to change notification settings - Fork 0
VirtualBox
SaeHie Park edited this page Aug 2, 2017
·
3 revisions
Adapter1: NAT
- Set port forwarding as below
Adapter2: Host-only
- for accessing from host computer
If you want to connect, through SSH, use "port forwarding"
- Open VM VirtualBox Manager
- Select Machine
- Click Settings
- Select Network
- Click "Advanced" > "Port Forwarding" button
- Add a new Rule
- Protocol: TCP
- Host IP: empty
- Host Port: (any port, say 7070)
- Guest IP: 10.0.2.15 (IP of the guest system)
- Guest Port: service port you want to forward
- OK
Connect from another machine
ssh -p 7070 user@virtualboxhost