Comments (5)
@013231 If the VPN clients are connected to the server via IPsec/L2TP, they should be assigned IPs within the VPN subnet 192.168.42.0/24. For example, the VPN server is at 192.168.42.1, and VPN clients are at 192.168.42.10, 192.168.42.11, 192.168.42.12, etc. In the default configuration, VPN clients can communicate with each other using the IP addresses as mentioned above.
from docker-ipsec-vpn-server.
@hwdsl2 Thanks. I know the subnet ips, but these clients really cannot communicate with each other.
ping 192.168.42.1
(ping server from client0):
PING 192.168.42.1 (192.168.42.1) 56(84) bytes of data.
64 bytes from 192.168.42.1: icmp_seq=1 ttl=64 time=6.75 ms
64 bytes from 192.168.42.1: icmp_seq=2 ttl=64 time=6.21 ms
ping 192.168.42.1
(ping server from client1):
PING 192.168.42.1 (192.168.42.1) 56(84) bytes of data.
64 bytes from 192.168.42.1: icmp_seq=1 ttl=64 time=6.59 ms
64 bytes from 192.168.42.1: icmp_seq=2 ttl=64 time=6.34 ms
ping 192.168.42.10
(ping client0 from server):
PING 192.168.42.10 (192.168.42.10): 56 data bytes
64 bytes from 192.168.42.10: icmp_seq=0 ttl=64 time=8.417 ms
64 bytes from 192.168.42.10: icmp_seq=1 ttl=64 time=6.512 ms
ping 192.168.42.11
(ping client1 from server):
PING 192.168.42.11 (192.168.42.11): 56 data bytes
64 bytes from 192.168.42.11: icmp_seq=0 ttl=64 time=7.997 ms
64 bytes from 192.168.42.11: icmp_seq=1 ttl=64 time=6.219 ms
ping 192.168.42.11
(ping client1 from client0):
PING 192.168.42.11 (192.168.42.11) 56(84) bytes of data.
7 packets transmitted, 0 received, 100% packet loss, time 5999ms
And I found the solution:
http://unix.stackexchange.com/questions/110436/pptp-allow-remote-clients-to-communicate-with-each-other
from docker-ipsec-vpn-server.
@013231 Thanks for the update, and happy to hear you got it working. I still think that the IPTables rules in run.sh should take care of this. See run.sh#L210-L224
from docker-ipsec-vpn-server.
@hwdsl2 Sorry, I use an old image without run.sh#L216 😓
from docker-ipsec-vpn-server.
@013231 Ah I see where the problem is. I suggest that you update to the latest image using docker pull hwdsl2/ipsec-vpn-server
, and deploy a new container using instructions from the README. You may need to stop or destroy the old container before this step.
from docker-ipsec-vpn-server.
Related Issues (20)
- 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
- 部署连接成功无法访问 HOT 3
- 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
- 关于android使用strong swan连接校验失败的问题 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.