-
After the issue #45 was resolved with the pull-request #283 (thanks to @AkihiroSuda, this is a great improvement for macOS!) Lima rejects connections from non-loopback interfaces (look for "pseudoloopback forwarder: rejecting non-loopback remoteAddr" cases in #283). While this policy is a example of secure-by-default behavior, it would be beneficial to have control over it. Would it be possible to introduce a VM configuration option for this? E.g. a top-level parameter I'm sure there is more than one use case for this, but currently I'm looking into connecting to a containerized service running on a macOS machine in Lima from a smartphone (mobile software development and debugging). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can do this with a simple portForwards:
- guestPortRange: [1, 65535]
hostIP: 0.0.0.0 Or create specific rules for the ports you want to expose externally. |
Beta Was this translation helpful? Give feedback.
You can do this with a simple
portForwards
rule:Or create specific rules for the ports you want to expose externally.