When editing chap-secrets
, I can assign an ip address to the account. One of the things that I notice is that, when a new connection is made, the PPTP server automatically creates a route to that ip.
What I need though, is a route to the far network and not just to the far router, so I was wondering if I could configure chap-secrets
to accept connections from a network, instead of a single ip, so that the route would be configured accordingly, but values like 192.168.1.0/24
or other attempts don't seem to be accepted.
Is there a way to do that automatically?