Code Monkey home page Code Monkey logo

Comments (3)

hwdsl2 avatar hwdsl2 commented on May 27, 2024

@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.

lxmicode avatar lxmicode commented on May 27, 2024

@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.

hwdsl2 avatar hwdsl2 commented on May 27, 2024

@lxmicode 可能是DNS的问题,你更换其他DNS服务器试试看。关于Esxi系统上的配置我不熟悉,你再自己尝试一下。

from docker-ipsec-vpn-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.