Replies: 4 comments 1 reply
-
I can configure postfix to restrict itself to only certain address ranges, which I have done. But I really need the port to not even be reachable from the host's physical network |
Beta Was this translation helpful? Give feedback.
-
You can specify The following will only be reachable on port
|
Beta Was this translation helpful? Give feedback.
-
Hmm yes I was doing that in my compose file with:
and it was still listening on *.25 on the host:
I changed to 2525 and for some reason that works, binding it to 127.0.0.1:
|
Beta Was this translation helpful? Give feedback.
-
Okay, thanks for your help! I can close this discussion now, unless you're planning on looking into the issue further. |
Beta Was this translation helpful? Give feedback.
-
Colima's automatic port forwarding is very convenient, requiring no additional configuration. But I would like to restrict what interfaces or addresses on the host those ports are reachable on.
For example, I have a postfix container that allows me to reach 127.0.0.1:25 from the host. But now I can also reach port 25 on the host from other physical machines on the network.
Is there a way to restrict the port forwarding to only the host's loopback interface and/or address?
Beta Was this translation helpful? Give feedback.
All reactions