Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: shenhuitao2000 on September 01, 2010, 11:52:59 AM

Title: about vpn server
Post by: shenhuitao2000 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.
Title: Re: about vpn server
Post by: janet 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.
Title: Re: about vpn server
Post by: Stefano 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