System Linux Network : SLN

Quelques configurations ! ;)


Configurer les fichiers suivants !


[ ] /etc/pptpd.conf
[ ] /etc/ppp/chap-secrets
[ ] /etc/ppp/options


pptpd.conf

################################################################################
#
# Sample PoPToP configuration file
#
# for PoPToP version 1.1.3
#
################################################################################

# TAG: speed
#
#	Specifies the speed for the PPP daemon to talk at.
#
speed	115200

# TAG: option
#
#	Specifies the location of the PPP options file.
#	By default PPP looks in '/etc/ppp/options'
#
option	/etc/ppp/options

# TAG: debug
#
#	Turns on (more) debugging to syslog
#
debug

# TAG: localip
# TAG: remoteip
#
#	Specifies the local and remote IP address ranges.
#
#	You can specify single IP addresses seperated by commas or you can
#	specify ranges, or both. For example:
#
#		192.168.0.234,192.168.0.245-249,192.168.0.254
#
#	IMPORTANT RESTRICTIONS:
#
#	1. No spaces are permitted between commas or within addresses.
#
#	2. If you give more IP addresses than MAX_CONNECTIONS, it will
#	   start at the beginning of the list and go until it gets
#	   MAX_CONNECTIONS IPs. Others will be ignored.
#
#	3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,
#	   you must type 234-238 if you mean this.
#
#	4. If you give a single localIP, that's ok - all local IPs will
#	   be set to the given one. You MUST still give at least one remote
#	   IP for each simultaneous client.
#
localip	192.168.1.61
remoteip	192.168.1.62-70


options

noauth
lock
noipdefault
usepeerdns
mppe-40
mppe-128
mppe-stateless
refuse-pap
refuse-chap
login
refuse-chapms
refuse-chapms-v2
proxyarp
debug
kdebug 4
domain system-linux.net
ms-dns helios.system-linux.net
ms-dns dns-sln-lyon.system-linux.net
192.168.1.61:192.168.1.62 #dernière connexion de vpn-server.system-linux.net à vpn-192-168-1-62.system-linux.net
192.168.1.61:192.168.1.63
192.168.1.61:192.168.1.64
192.168.1.61:192.168.1.65
192.168.1.61:192.168.1.66
192.168.1.61:192.168.1.67
192.168.1.61:192.168.1.68 #3eme connexion de vpn-server.system-linux.net à vpn-192-168-1-68.system-linux.net
192.168.1.61:192.168.1.69 #2eme connexion de vpn-server.system-linux.net à vpn-192-168-1-69.system-linux.net
192.168.1.61:192.168.1.70 #1ere connexion de vpn-server.system-linux.net à vpn-192-168-1-70.system-linux.net


(ch)(p)ap-secrets

# Secrets for authentication using CHAP
# client	server	secret			IP addresses
user1  serverVPN  passwd1  "*"
user2  serverVPN  passwd2  "*"
Voilà c'est fait !
Ouala !!!

Et ben non !
Si vous montez votre serveur VPN sur le Firewall il faut configurer votre Firewall comme tel :
Config avancée shorewall

Navigation Précédent     index10.html     Suite
Informations légales

Valid HTML 4.01! Valid CSS!