Koozali.org: home of the SME Server

about vpn server

shenhuitao2000

about vpn server
« on: September 01, 2010, 11:52:59 AM »
I build a pptp VPN server with SME, does anyone know how to do that please:
when connect to VPN server, will get a static IP address, not a random IP address.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: about vpn server
« Reply #1 on: September 01, 2010, 12:05:38 PM »
shenhuitao2000

SME server already has VPN built in by default.
Just enable access on a per user basis in server manager, and then connect from a remote VPN client eg Windows VPN client using hostname (www.yourdomain.com) or static IP.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: about vpn server
« Reply #2 on: September 01, 2010, 12:09:33 PM »
mary, I think OP just want vpn client to have a fixed ip, not a dhcp one..


shenhuitao2000

adjust the following code according to your needs..

Code: [Select]
db accounts setprop username PPTPIP 192.168.1.5
signal-event remoteaccess-update

NOTE:
- ip is a user property, so the same pc will get different ip if logging with different user
- ip must be in your lan address range