User Tools

Site Tools


informatica:linux:vpn:pptp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
informatica:linux:vpn:pptp [2012/05/15 10:21] javiinformatica:linux:vpn:pptp [2015/04/13 20:19] (current) – external edit 127.0.0.1
Line 5: Line 5:
  
  
-===== Instalar y configurar el servidor ===== 
  
-Server Setup+===== Instalar y configurar el servidor =====
  
-Install the pptp server package:+1. Install the pptp server package:
  
   sudo aptitude install pptpd   sudo aptitude install pptpd
  
-Edit the "/etc/pptpd.conf" configuration file:+2. Edit the "/etc/pptpd.conf" configuration file:
  
   sudo vim /etc/pptpd.conf   sudo vim /etc/pptpd.conf
Line 21: Line 20:
   localip 192.168.1.5   localip 192.168.1.5
   remoteip 192.168.1.234-238,192.168.1.245   remoteip 192.168.1.234-238,192.168.1.245
 +  debug
  
 Where the "localip" is the address of the server, and the remoteip are the addresses that will be handed out to the clients, it is up to you to adjust these for your network's requirements. Where the "localip" is the address of the server, and the remoteip are the addresses that will be handed out to the clients, it is up to you to adjust these for your network's requirements.
  
-Edit the "/etc/ppp/pptpd-options" configuration file:+3. Edit the "/etc/ppp/pptpd-options" configuration file:
  
   sudo vim /etc/ppp/pptpd-options   sudo vim /etc/ppp/pptpd-options
Line 38: Line 38:
 Where the IP used for the ms-dns directive is the DNS server for the local network your client will be connecting to and, again, it is your responsibility to adjust this to your network's configuration. Where the IP used for the ms-dns directive is the DNS server for the local network your client will be connecting to and, again, it is your responsibility to adjust this to your network's configuration.
  
-Edit the chap secrets file:+4. Edit the chap secrets file:
  
   sudo vim /etc/ppp/chap-secrets   sudo vim /etc/ppp/chap-secrets
Line 46: Line 46:
   username <TAB> * <TAB> users-password <TAB> *   username <TAB> * <TAB> users-password <TAB> *
  
-Restart the connection's daemon for the settings to take affect:+5. Restart the connection's daemon for the settings to take affect:
  
   sudo /etc/init.d/pptpd restart   sudo /etc/init.d/pptpd restart
Line 59: Line 59:
 To achieve this we will be flipping the switch on the "forwarding" parameter of the system. To achieve this we will be flipping the switch on the "forwarding" parameter of the system.
  
-Edit the "sysctl" file:+6. Edit the "sysctl" file:
  
   sudo vim /etc/sysctl.conf   sudo vim /etc/sysctl.conf
informatica/linux/vpn/pptp.1337077302.txt.gz · Last modified: 2015/04/13 20:19 (external edit)