Describe Howto specify predefined IP pool for the PPTP VPN here.

Author: Contribs Docteam
Contributor: cc_skavenger
Release supported: 6.0
Last update: 13. October 2004
Forum post: http://forums.contribs.org/viewtopic.php?t=23278&sid=a9fa9e3cab50ac64794179dbfac77a5e

mkdir -p /etc/e-smith/templates-custom/etc/pptpd.conf

touch /etc/e-smith/templates-custom/etc/pptpd.conf/remoteip

remoteip <ip-range>

ip-range will be the range of IPs that you want to use. It must be in this format:
10.0.0.230-240 would specify IPs 230 through 240 are usable

/sbin/e-smith/expand-template /etc/pptp.conf

service pptpd restart

Note: Make sure that the IP range you specified above matches the number you specify in the Remote Access portion of the Server Manager.


Back to Howto