informatica:linux:vpn:pptp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
informatica:linux:vpn:pptp [2012/05/10 08:51] – javi | informatica: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 "/ | + | 2. Edit the "/ |
sudo vim / | sudo vim / | ||
Line 21: | Line 20: | ||
localip 192.168.1.5 | localip 192.168.1.5 | ||
remoteip 192.168.1.234-238, | remoteip 192.168.1.234-238, | ||
+ | debug | ||
Where the " | Where the " | ||
- | Edit the "/ | + | 3. Edit the "/ |
sudo vim / | sudo vim / | ||
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' | 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' | ||
- | Edit the chap secrets file: | + | 4. Edit the chap secrets file: |
sudo vim / | sudo vim / | ||
Line 46: | Line 46: | ||
username <TAB> * <TAB> users-password <TAB> * | username <TAB> * <TAB> users-password <TAB> * | ||
- | Restart the connection' | + | 5. Restart the connection' |
sudo / | sudo / | ||
Line 59: | Line 59: | ||
To achieve this we will be flipping the switch on the " | To achieve this we will be flipping the switch on the " | ||
- | Edit the " | + | 6. Edit the " |
sudo vim / | sudo vim / | ||
Line 90: | Line 90: | ||
Escojo la opcion por defecto ' | Escojo la opcion por defecto ' | ||
+ | |||
Line 96: | Line 97: | ||
Comprobar que el servicio pptpd escucha en el puerto 1723: | Comprobar que el servicio pptpd escucha en el puerto 1723: | ||
- | netstat -nlp | grep 1723 | + | |
tcp 0 0 0.0.0.0: | tcp 0 0 0.0.0.0: | ||
Desde el cortafuegos o el servidor pptpd: | Desde el cortafuegos o el servidor pptpd: | ||
- | tcpdump -i any | grep " | + | |
Aparecen lineas como: | Aparecen lineas como: | ||
Line 119: | Line 120: | ||
16: | 16: | ||
</ | </ | ||
- |
informatica/linux/vpn/pptp.1336639909.txt.gz · Last modified: 2015/04/13 20:19 (external edit)