linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is it possible to use secret file to assign each user an ip while auto negociate?
@ 2014-12-12  6:36 ryd994
  0 siblings, 0 replies; only message in thread
From: ryd994 @ 2014-12-12  6:36 UTC (permalink / raw)
  To: linux-ppp

To whom can help with this uncommon case:

I'm setting up a pptp server for a small group of users. For security,
I want all activity across my server can be traced,
so I want username one-to-multi mapped to address assigned.

I first tried with only one static address for each user. It works out
well until second connection with same username joined.
All clients used same username to authenticate got same address negotiated.

Then I used a subnet range, e.g. 192.168.2.128/25 . It failed because
pppd can't propose an address
to client while client didn't requesting one either. The log shows:
"
Could not determine remote IP address: defaulting to 10.64.64.65
Peer is not authorized to use remote address 10.64.64.65
"
Then server disconnected.

I also tried add a plus sign 192.168.2.128/25+ , and it didn't work
either, pppd can't determine a remote address.

What is the typical use of the "plus sign" format? and how should I
build a server-assigned one-to-multi mapping
from user to address?

Thank you,


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-12  6:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-12  6:36 Is it possible to use secret file to assign each user an ip while auto negociate? ryd994

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).