mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-27 02:25:51 +03:00
[GH-ISSUE #308] client on local network of the server #285
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @diotta88 on GitHub (Sep 8, 2022).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/308
Checklist
Hi,
I’ve been following your documentation to create a server-vpn with docker and it works perfectly,
but I need to know if there is the possibility to give clients the local IP-address of the server network address to easily access the remote interfaces of my remote-hardware from my pcs.
So imagine that I have locally the class 192.168.50.1/24 and the server vpn is at 192.168.50.200 but every client of the vpn take not only a specific vpn-ip like 192.168.42.1/24 but also an IP address from my dhcp server in the class 192.168.50.1/24.
Greatings
@hwdsl2 commented on GitHub (Sep 8, 2022):
@diotta88 Hello! The feature you mentioned is not supported. However, you can customize VPN subnet(s) using instructions at:
https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/docs/advanced-usage.md#customize-vpn-subnets
For example, you can specify a custom VPN subnet
192.168.50.0/24for IPsec/XAuth and IKEv2 VPN clients. Note that this may or may not enable the VPN clients to communicate with other devices on the192.168.50.0/24subnet.