Sign inSign up

chaiyd/openvpn

By chaiyd

•Updated almost 4 years ago

Image
0

2.1K

chaiyd/openvpn repository overview

⁠openvpn

⁠docs

⁠添加SNAT

iptables -t nat -A POSTROUTING -s 172.16.1.0/24 -o eth0 -j MASQUERADE

⁠说明
  • 由于服务特殊性,需要考虑给予容器privileged
  • network_mode: "host"
  • 镜像已经初步完善,已经实现自动创建证书等服务
  • 通过判断/etc/openvpn/key 目录是否为空要确定是否创建证书
  • 默认证书有效期更改为3650

Tag summary

Content type

Image

Digest

sha256:7ebe88154…

Size

6.5 MB

Last updated

almost 4 years ago

docker pull chaiyd/openvpn