[SOLUCIONADO] Configuración de VPN (vpntunnel)

Iniciado por jukathaido, Junio 11, 2012, 03:47:51 PM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Junio 11, 2012, 03:47:51 PM Ultima modificación: Mayo 15, 2015, 10:50:26 AM por Expermicid
Hola...he instalado una VPN (vpntunnel) siguiendo la guia paso a paso...pero no puedo navegar después...no me funciona ningún navegador....alguien me puede ayudar? Lo he instalado en BT 5 R2.

Root@bt:~# apt-get install openvpn resolvconf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
openvpn is already the newest version.
The following packages were automatically installed and are no longer required:
  libecryptfs0 libdmraid1.0.0.rc16 libdebconfclient0 ecryptfs-utils cryptsetup rdate bogl-bterm
  libdebian-installer4 reiserfsprogs dmraid python-pyicu
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  resolvconf
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 56.4kB of archives.
After this operation, 279kB of additional disk space will be used.
Get:1 No tienes permitido ver los links. Registrarse o Entrar a mi cuenta revolution/main resolvconf 1.45ubuntu1 [56.4kB]
Fetched 56.4kB in 1s (48.8kB/s)     
Preconfiguring packages ...
Selecting previously deselected package resolvconf.
(Reading database ... 225227 files and directories currently installed.)
Unpacking resolvconf (from .../resolvconf_1.45ubuntu1_all.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up resolvconf (1.45ubuntu1) ...
mkdir: created directory `/var/run/resolvconf'
mkdir: created directory `/var/run/resolvconf/interface'
update-rc.d: warning: resolvconf stop runlevel arguments (none) do not match LSB Default-Stop values (0 6)

root@bt:~# cd etc
bash: cd: etc: No such file or directory
root@bt:~# cd ..
root@bt:/# cd etc
root@bt:/etc# cd openvpn
root@bt:/etc/openvpn# ls
cert.zip  Linux-confs.zip  update-resolv-conf
root@bt:/etc/openvpn# unzip No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
Archive:  No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
   creating: cert/
  inflating: cert/.DS_Store         
   creating: __MACOSX/
   creating: __MACOSX/cert/
  inflating: __MACOSX/cert/._.DS_Store 
  inflating: cert/ca-uk.crt         
  inflating: cert/ca-us.crt         
  inflating: cert/ca.crt             
  inflating: cert/ro.crt             
  inflating: cert/ru.crt             
root@bt:/etc/openvpn# unzip No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
Archive:  No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
   creating: Linux-confs/
  inflating: Linux-confs/.DS_Store   
   creating: __MACOSX/Linux-confs/
  inflating: __MACOSX/Linux-confs/._.DS_Store 
  inflating: Linux-confs/Blackhole.conf 
  inflating: Linux-confs/openvpn-DE.conf 
  inflating: Linux-confs/openvpn-NL.conf 
  inflating: Linux-confs/openvpn-RO.conf 
  inflating: Linux-confs/openvpn-RU.conf 
  inflating: Linux-confs/openvpn-Swe.conf 
  inflating: Linux-confs/openvpn-UK.conf 
  inflating: Linux-confs/openvpn-US.conf 
root@bt:/etc/openvpn# mkdir keys
root@bt:/etc/openvpn# ls
cert  cert.zip  keys  Linux-confs  Linux-confs.zip  __MACOSX  update-resolv-conf
root@bt:/etc/openvpn# cd cert
root@bt:/etc/openvpn/cert# ls
ca.crt  ca-uk.crt  ca-us.crt  ro.crt  ru.crt
root@bt:/etc/openvpn/cert# mv ca.crt /openvpn/keys/
mv: cannot move `ca.crt' to `/openvpn/keys/': No such file or directory
root@bt:/etc/openvpn/cert# mv ca.crt etc/openvpn/keys/
mv: cannot move `ca.crt' to `etc/openvpn/keys/': No such file or directory
root@bt:/etc/openvpn/cert# mv ca.crt /etc/openvpn/keys/
root@bt:/etc/openvpn/cert# ls
ca-uk.crt  ca-us.crt  ro.crt  ru.crt
root@bt:/etc/openvpn/cert# cd ..
root@bt:/etc/openvpn# cd  keys
root@bt:/etc/openvpn/keys# ls
ca.crt
root@bt:/etc/openvpn/keys# cd ..
root@bt:/etc/openvpn# ls
cert  cert.zip  keys  Linux-confs  Linux-confs.zip  __MACOSX  update-resolv-conf
root@bt:/etc/openvpn# cd Linux-confs
root@bt:/etc/openvpn/Linux-confs# ls
Blackhole.conf   openvpn-NL.conf  openvpn-RU.conf   openvpn-UK.conf
openvpn-DE.conf  openvpn-RO.conf  openvpn-Swe.conf  openvpn-US.conf
root@bt:/etc/openvpn/Linux-confs# mv openvpn-NL.conf /etc/openvpn/
root@bt:/etc/openvpn/Linux-confs# cd ..
root@bt:/etc/openvpn# ls
cert  cert.zip  keys  Linux-confs  Linux-confs.zip  __MACOSX  openvpn-NL.conf  update-resolv-conf
root@bt:/etc/openvpn# openvpn /etc/openvpn/openvpn-NL.conf
Mon Jun 11 22:17:44 2012 OpenVPN 2.1.0 x86_64-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 20 2010
Enter Auth Username:*******
Enter Auth Password:
Mon Jun 11 22:18:03 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Jun 11 22:18:03 2012 LZO compression initialized
Mon Jun 11 22:18:03 2012 UDPv4 link local: [undef]
Mon Jun 11 22:18:03 2012 UDPv4 link remote: [AF_INET]***.***.*.**:30001
Mon Jun 11 22:18:03 2012 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Mon Jun 11 22:18:04 2012 [server] Peer Connection Initiated with [AF_INET]***.***.*.***:30001
Mon Jun 11 22:18:07 2012 TUN/TAP device tun0 opened
Mon Jun 11 22:18:07 2012 /sbin/ifconfig tun0 **.***.**.***pointopoint **.***.**.***mtu 1500
Mon Jun 11 22:18:07 2012 Initialization Sequence Completed

Un saludo
A POR ELLOS!!!!

tratastes desinstalando solo el openvpn y reinstalandolo pero esta vez descargalo al directorio que creastes y te creara los certificados nuevamente para los clientes no deberias tener problemas..

salu2
"Human Stupidity that's why Hackers always win."
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta importante ahora es subir el # de post en un foro wtf 😂
😂 CTRL + p
DORK