Skip to content

Upgrade 0.22.0 to 1.0.2 (macOS 15.1.1): host VPN does not work within vzNAT VM (but slirp does) #2984

Open
@marcelbeumer

Description

@marcelbeumer

Description

Description

Host macOS 15.1.1 (24B91) with VPN from corporate that uses HTTP proxy.

With 0.22.0 vzNAT worked fine in combination with VPN+proxy.

default networking works:

limactl start \
  --name=proxytestok \
  --cpus=4 \
  --memory=8 \
  --vm-type=vz \
  --rosetta \
  --mount-type=virtiofs \
  --mount-writable
  template://ubuntu
  
.... inside VM

curl -x <proxy> http://www.google.com -v
(works)

vzNAT does not work:

limactl start \
  --name=proxytestbad \
  --cpus=4 \
  --memory=8 \
  --vm-type=vz \
  --rosetta \
  --mount-type=virtiofs \
  --mount-writable \
  --network=vzNAT \
  template://ubuntu

... inside VM

curl -x <proxy> http://www.google.com -v

*   Trying <proxyip>:8080...
* Connected to <proxyip> (<proxyip>) port 8080
> GET http://www.google.com/ HTTP/1.1
> Host: www.google.com
> User-Agent: curl/8.9.1
> Accept: */*
> Proxy-Connection: Keep-Alive
> 
* Request completely sent off

(hangs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/vzdocumentationImprovements or additions to documentationregressionUsed to work but has been broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions