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
-
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.
-
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.
-
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..
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