Port Forwarding memungkinkan Host terhubung ke Guest meskipun NAT tidak mendukung ping langsung.
Buka VirtualBox > Settings > Network > Adapter 1 (NAT) > Advanced > Port Forwarding.
Tambahkan aturan baru:
- Name: SSH
- Protocol: TCP
- Host IP: 127.0.0.1
- Host Port: 2222
- Guest IP: 10.0.2.15
- Guest Port: 22
Restart Guest OS.
SSH dari Host ke Guest:
No comments:
Post a Comment