Comments (3)
@lxmicode 你好!请参见自定义 VPN 子网。在你的 vpn.env
文件中自定义 L2TP 子网时,必须指定所有三个变量,例如:
VPN_L2TP_NET=192.168.1.0/24
VPN_L2TP_LOCAL=192.168.1.10
VPN_L2TP_POOL=192.168.1.120-192.168.1.254
VPN_L2TP_LOCAL 是在 IPsec/L2TP 模式下的 VPN 服务器的内网 IP,你可以根据需要修改。在 vpn.env
文件中指定所有三个变量后,需要删除并重新创建 Docker 容器才能生效。
from docker-ipsec-vpn-server.
@hwdsl2 调整配置后正常,部分软件网络正常,浏览器页面和内网网络还是无法访问
#调整后的配置
VPN_IPSEC_PSK=Ipsec4Psktest
VPN_USER=test
VPN_PASSWORD=Ipsec4pwd
#dns
VPN_DNS_SRV1=192.168.1.1
VPN_DNS_SRV2=223.5.5.5
# ip pool
VPN_L2TP_NET=192.168.1.0/24
VPN_L2TP_LOCAL=192.168.1.10
VPN_L2TP_POOL=192.168.1.120-192.168.1.254
from docker-ipsec-vpn-server.
@lxmicode 可能是DNS的问题,你更换其他DNS服务器试试看。关于Esxi系统上的配置我不熟悉,你再自己尝试一下。
from docker-ipsec-vpn-server.
Related Issues (20)
- 不能访问vpn容器加入到其他network下的容器 HOT 1
- Can i setup IPsec tunnel between two pods HOT 1
- 如何使用账号密码链接IKEv2 HOT 1
- Default mobileconfig OnDemandRules have been changed HOT 1
- centos8以上iptables的问题 HOT 1
- vpn服务器使用docker部署 客户端使用苹果手机vpn连接ipsec模式 突然连不上了,前段时间是可以的 这种情况是被墙了吗 HOT 1
- Some Linux clients cannot connect HOT 1
- multi-client vpn server HOT 1
- [Support] Accessing the host network and public internet via the IKEv2 VPN HOT 3
- Docker vs. Bare Metal Performance HOT 1
- 禁止同一个 VPN 账户在多个设备上同时登录 HOT 1
- 请增加IPV6支持 HOT 2
- How do I generate new password? HOT 1
- VPN分流在windows11不起作用 HOT 5
- 宿主机nc命令无法连接500和4500端口 HOT 6
- 使用阿里云机器配置代理,服务端显示启动成功,mac和ios连接都显示connecting HOT 2
- Question - macOS Sonoma High Performance Screen Sharing HOT 2
- [Question] How hard would it be to configure this vpn server to give access to the server local network ( as it already does ) but don't route traffic outside server local network through the server ? HOT 1
- 部署成功 连接成功,但是无法联网,之前没问题 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-ipsec-vpn-server.