Skip navigation

JSI Tip 1529. How can I set PPTP to only accept calls from specific IP addresses?

You can specify a list of valid IP addresses by using Regedt32 to navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RASPPTPE\Parameters\Configuration

On the Edit menu, Add Value name AuthenticateIncomingCalls, as a type REG_DWORD. In the DWORD Editor, set the data to 1. The default is 0. Then, Add Value name PeerClientIPAddresses, as a type REG_MULTI_SZ. Type each valid IP address on a separate line in the Multi-String Editor.

Shutdown and restart your PPTP server.

NOTE: PeerClientIPAddresses is only used if AuthenticateIncomingCalls is set to a 1.

NOTE: If AuthenticateIncomingCalls is set to a 1 and PeerClientIPAddresses is missing or empty, no clients will be able to connect.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish