Skip to content

How to disable portforwarding completely #2421

Answered by jandubois
Ranjandas asked this question in Q&A
Discussion options

You must be logged in to vote

Just in case anybody comes here later, the correct way to disable all portforwards in Lima 1.0 and later is

portForwards:
- ignore: true
  proto: any
  guestIP: 0.0.0.0

The proto: any part is not supported in older Lima versions, but those didn't forward UDP anyways, so the default of tcp was good enough.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@Ranjandas
Comment options

@suspenss
Comment options

@jandubois
Comment options

Comment options

You must be logged in to vote
2 replies
@RafalSkolasinski
Comment options

@jandubois
Comment options

Answer selected by nirs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants