ufw-docker
ufw-docker copied to clipboard
What do I need to do to expose the container to only one IP, please? Thanks.
I did not find the corresponding option.
Another problem: I found that when I unexpose the port, I need to restart the VPS for it to take effect.
Hi Odup. I use route allow from {IP_ADDRESS} to any port {PORT} proto tcp
You can find the full discussion here. Hope this help.
嗨,奥杜普。我使用
route allow from {IP_ADDRESS} to any port {PORT} proto tcp您可以在此处找到完整的讨论。希望这有帮助。
Thank you for your reply.