桥接模式创建的docker无法外网访问


Recommended Posts

4 hours ago, Lulu33068 said:

docker创建时选用birdge桥接模式后无法外网访问,已经有公网ip并做了端口映射。网络模式选择host就可以外网用ip+端口 访问。因部分docker有端口冲突无法采用host模式,有办法解决桥接模式的外网访问吗?

这个问题应该考虑是否没有开放桥接涉及主机的端口映射,再次检查。另外为何不用vpn方式安全访问内网,不管是硬路由或者软路由都可以设置vpn服务器,连接vpn后在通过内网地址就可以访问服务了,既简单也安全。

Link to comment
  • 2 months later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.