Skip to content

Network access from host to debian (vz) #3414

Answered by AkihiroSuda
mshlain asked this question in Q&A
Discussion options

You must be logged in to vote
  • Option 1. Access the port via localhost (127.0.0.1). This should be the easiest option.

  • Option 2. Enable vzNAT. The IP will change.

networks:
- vzNAT: true
  • Option 3: Enable socket_vmnet. The setup steps are relatively complex. The IP will be allocated from 192.168.105.0/24.

  • Option 4: Use limactl tunnel

$ limactl tunnel default
WARN[0000] `limactl tunnel` is experimental             
Open <System Settings> → <Network> → <Wi-Fi> (or whatever) → <Details> → <Proxies> → <SOCKS proxy>,
and specify the following configuration:
- Server: 127.0.0.1
- Port: 52014
The instance can be connected from the host as <http://lima-default.internal> via a web browser.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by AkihiroSuda
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
3 participants