1

I have a router running DD-WRT with a PPTP Server working fine, but every PPTP client gets assigned IP like this one:

IPv4 Address  . . . . . . . . . . . . : 192.168.210.2
Subnet Mask . . . . . . . . . . . . : 255.255.255.255

As long as I know, that kind of mask does not allow the clients to connect between them.
I can configure the clients to manual IP, so they have IPs like:

IPv4 Address. . . . . . . . . . . . . . : 192.168.210.2
Subnet Mask . . . . . . . . . . . . . . : 255.255.255.0

But it would be nice if the server could assign automatically that network mask via DHCP. I have not found such option at DD-WRT documentation.
Does anyone knows about any way to configure it?

1 Answers1

2

VPN connections are point-to-point connections in encrypted tunnels. On a point-to-point connection, an "all (binary) ones" (i.e. /32, 255.255.255.255) subnet mask is correct.

A /24 subnet mask (255.255.255.0) would only be correct if you had up to 254 devices on the same shared-medium data-link-layer (layer 2) network, such as an Ethernet LAN.

If your VPN clients can't talk to each other, it's because your VPN server isn't being a good router and routing the traffic correctly between the VPN links. Look at your route tables and firewall rules and your VPN server software configuration and see if you can determine why packets aren't being routed between VPN links.

Spiff
  • 110,156