JustinJudd / lxd-port-forward

MIT License
12 stars 2 forks source link

Syntax clarification needed #2

Closed shark0der closed 6 years ago

shark0der commented 7 years ago

It is not totally clear which port is on the container and which is on the host. I wanted to forward the port 1080 on my machine to port 80 in the container so I had to guess which one's which. It seems that this syntax worked:

---
lamp:
- protocol: tcp
  "1080": 80
---
JustinJudd commented 6 years ago

Thanks, I added this to the README.