hashilton
(usa Debian)
Enviado em 23/09/2010 - 11:57h
[5]+ Stopped ping 10.0.0.2
Servidor-FE:/etc/openvpn# ifconfig tun0
tun0 Link encap:Não Especificado Endereço de HW 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet end.: 10.0.0.2 P-a-P:10.0.0.1 Masc:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Métrica:1
RX packets:74 errors:0 dropped:0 overruns:0 frame:0
TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:100
RX bytes:6172 (6.0 KiB) TX bytes:6528 (6.3 KiB)
Servidor-FE:/etc/openvpn# openvpn --config /etc/openvpn/server.conf
Thu Sep 23 12:00:47 2010 OpenVPN 2.1_rc11 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Sep 18 2008
Thu Sep 23 12:00:47 2010 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Thu Sep 23 12:00:47 2010 WARNING: you are using user/group/chroot without persist-tun -- this may cause restarts to fail
Thu Sep 23 12:00:47 2010 WARNING: you are using user/group/chroot without persist-key -- this may cause restarts to fail
Thu Sep 23 12:00:47 2010 /usr/sbin/openvpn-vulnkey -q static.key
Thu Sep 23 12:00:47 2010 WARNING: file 'static.key' is group or others accessible
Thu Sep 23 12:00:47 2010 TCP/UDP: Socket bind failed on local address [undef]:1194: Address already in use
Thu Sep 23 12:00:47 2010 Exiting
- Permissoes da pasta!!
drwxrwxrwx 2 root root 4096 Set 23 11:43 .
drwxr-xr-x 97 root root 4096 Set 22 12:51 ..
-rwxrwxrwx 1 root root 97 Set 23 11:43 server.conf
-rwxrwxrwx 1 root root 114 Set 23 11:40 server.conf~
-rwxrwxrwx 1 root root 636 Set 22 12:03 static.key
-rwxrwxrwx 1 root root 1352 Set 17 2008 update-resolv-conf
Consigo criar a vpn, a questão é a porcaria da criptografia... e ja liberei todas as permissoes na pasta /etc/openvpn.
O problema maioor ta na chave static.key... algumas sugestão?