Problème openvpn

Bonjour,

Voila j’ai installé depuis peu de temps un vpn en client sur ma machine via le tutorial du site du vpn et tout fonctionnait bien j’ai tenté d’installer tor+privoxy et tout fonctionnait bien jusqu’à ce que je reboot .

Je vous link ici tout ce que je sais :

# uname -a
Linux  3.2.0-2-amd64 #1 SMP Tue Mar 20 18:36:37 UTC 2012 x86_64 GNU/Linux
# route -n
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
# ifconfig -a
eth0      Link encap:Ethernet  HWaddr f4:6d:04:d4:89:5f  
          inet adr:192.168.1.13  Bcast:192.168.1.255  Masque:255.255.255.0
          adr inet6: fe80::f66d:4ff:fed4:895f/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:116145 errors:0 dropped:0 overruns:0 frame:0
          TX packets:73700 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:155000090 (147.8 MiB)  TX bytes:8165774 (7.7 MiB)
          Interruption:50 Adresse de base:0xc000 

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:55443 errors:0 dropped:0 overruns:0 frame:0
          TX packets:55443 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:10910668 (10.4 MiB)  TX bytes:10910668 (10.4 MiB)
# openvpn /etc/openvpn/true.conf Wed Apr 11 07:41:34 2012 OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Mar 23 2012
Enter Auth Username:******
Enter Auth Password:
Wed Apr 11 07:41:39 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed Apr 11 07:41:39 2012 LZO compression initialized
Wed Apr 11 07:41:39 2012 UDPv4 link local: [undef]
Wed Apr 11 07:41:39 2012 UDPv4 link remote: [AF_INET]178.73.212.231:10010
Wed Apr 11 07:41:39 2012 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Wed Apr 11 07:41:40 2012 WARNING: 'dev-type' is used inconsistently, local='dev-type tun', remote='dev-type tap'
Wed Apr 11 07:41:40 2012 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1542', remote='link-mtu 1574'
Wed Apr 11 07:41:40 2012 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1500', remote='tun-mtu 1532'
Wed Apr 11 07:41:40 2012 [server] Peer Connection Initiated with [AF_INET]178.73.212.231:10010
Wed Apr 11 07:41:43 2012 WARNING: Since you are using --dev tun with a point-to-point topology, the second argument to --ifconfig must be an IP address.  You are using something (255.255.255.0) that looks more like a netmask. (silence this warning with --ifconfig-nowarn)
Wed Apr 11 07:41:43 2012 TUN/TAP device tun0 opened
Wed Apr 11 07:41:43 2012 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Wed Apr 11 07:41:43 2012 /sbin/ifconfig tun0 178.73.219.151 pointopoint 255.255.255.0 mtu 1500
SIOCSIFDSTADDR: Invalid argument
Wed Apr 11 07:41:43 2012 Linux ifconfig failed: external program exited with error status: 1
Wed Apr 11 07:41:43 2012 Exiting

Ici je link le fichier de config :

[code]GNU nano 2.2.6 Fichier :/etc/openvpnTrue.conf

float
client
dev tun
proto udp
nobind

; CERT
ca /etc/openvpn/keys/ca.crt
ns-cert-type server
cipher BF-CBC

; HOST
remote-random
remote anna.vpntunnel.se 10010
remote anna.vpntunnel.se 10020
remote anna.vpntunnel.se 1194

resolv-retry infinite

; AUTH
auth-user-pass
persist-key
persist-tun

comp-lzo
verb 1
[/code]

Voila en j’espère ne rien avoir oublier. Merci d’avance .

La réponse est dans la question :

Wed Apr 11 07:41:40 2012 WARNING: ‘dev-type’ is used inconsistently, local=‘dev-type tun’, remote='dev-type tap
Wed Apr 11 07:41:40 2012 WARNING: ‘link-mtu’ is used inconsistently, local=‘link-mtu 1542’, remote='link-mtu 1574
Wed Apr 11 07:41:40 2012 WARNING: ‘tun-mtu’ is used inconsistently, local=‘tun-mtu 1500’, remote=‘tun-mtu 1532

local = ton pc
remote = le serveur distant

Ton fichier de configuration du client VPN ne correspond plus à la configuration du serveur. Adapte ton fichier de conf client.

Pour ma culture, pourquoi avoir choisi ce serveur VPN (vpntunnel.se) ?

Oh très bien merci beaucoup en effet j’ai test plusieurs config et celle-ci est la seule à poser problème. Un peu idiot de ma part de pas avoir tenter avant de post.

Sinon j’utilise vpntunnel puisque jusqu’à maintenant je n’ai jamais eut de problème ainsi le prix est vraiment à la hauteur du service rendu donc je ne vois pas l’utilité de changer simplement .

Ok merci du retour. Bonne soirée.