Page -> Diferencia entre revisiones de «PPTP-Ubuntu» | Vistas : Página Discusión Ver fuente Historial |
De DIT-CDC
(→Ubuntu 6.10) |
(→Ubuntu 6.10) |
||
Línea 81: | Línea 81: | ||
poff DIT | poff DIT | ||
route delete -host 138.4.5.200/32 gw $ROUTER | route delete -host 138.4.5.200/32 gw $ROUTER | ||
− | route delete -net 138.4.0.0/16 gw 138.4.5.199 | + | #route delete -net 138.4.0.0/16 gw 138.4.5.199 |
</ul> | </ul> |
Revisión de 19:06 31 mar 2007
Configuración de túneles PPTP en Ubuntu
Ubuntu 6.06
En construcción
Ubuntu 6.10
Existe un fallo conocido en Ubuntu 6.10 que impide que funcionen correctamente los túneles.
Para solucionarlo hay que:
- Bajarse la una versión anterior de ppp (2.4.3) de aquí
- Instalarla mediante:
dpkg -i ppp_2.4.3-20050321+2ubuntu1.1_i386.deb
A partir de aquí en procedimiento es:
- Instalar pptp-linux
apt-get install pptp-linux
- Añadir la fuente de pptpconfig a /etc/apt/sources.list:
- actualizar:
- instalar PPTP Client GUI:
echo -e '\n# PPTP GUI\ndeb http://quozl.netrek.org/pptp/pptpconfig ./' >> /etc/apt/sources.list
apt-get update
apt-get install pptpconfig
> pptpconfig
Solapa Server: Name: DIT Server: rpv.dit.upm.es Domain: Username: fulanito Password: clavedefulanito
Solapa Encryption: Seleccionar "Require Microsoft Point-to-Point (MPPE)"
- pon-dit:
#!/bin/bash ROUTER=`route -n | grep "^0.0.0.0" | awk '{printf $2}'` echo "ROUTER=$ROUTER" sleep 10 pon DIT echo route add -host 138.4.5.200/32 gw $ROUTER route add -host 138.4.5.200/32 gw $ROUTER sleep 5 echo route add -net 138.4.0.0/16 gw 138.4.5.199 route add -net 138.4.0.0/16 gw 138.4.5.199
#!/bin/bash ROUTER=`route -n | grep "^0.0.0.0" | awk '{printf $2}'` poff DIT route delete -host 138.4.5.200/32 gw $ROUTER #route delete -net 138.4.0.0/16 gw 138.4.5.199
chmod +x pon-dit poff-dit