Forum Freedom-IP VPN

Forum d'entraide de la communauté Freedom-IP VPN

Vous n'êtes pas identifié(e).

#1 2012-06-16 19:34:59

spatzounette
Membre
Inscription : 2012-06-16
Messages : 30

vpn se lance mais navigation impossible

Bonjour,

Je me suis inscrit il y a quelques mois à freedomip et j'avais configuré avec succès ma connexion avec plusieurs PC
sous Ubuntu 10.04, derrière un routeur D-Link DSL G 604T qui malheureusement a rendu l'âme récemment.
Je posséde donc un nouveau routeur NETGEAR DGN-1000 et depuis il m'est impossible de surfer sur internet lorsque le vpn est activé.
(petit cadenas sur l'icone réseau sous ubuntu).
Par exemple si je lance freedomip le cadenas apparait mais en ouvrant Firefox n'importe quelle page commence à s'afficher
et se bloque en une fraction de seconde,ça mouline alors à l'infini sans afficher la page demandée.
Dans la config du routeur j'ai pourtant ouvert tous les ports VPN-PPTP,VPN-IPSEC,VPN-L2TP en services entrant et sortant
dans les règles de pare-feu ,mais rien n'y fait.
Donc à ce stade et ayant essayé beaucoup "d'astuces" sans résultat ,je m'en remets à vous car je sèche complètement.

Merci d'avance de vos lumières.
Spatzounette.

Hors ligne

#2 2012-06-16 19:51:35

David
Bof !!!
Inscription : 2012-01-30
Messages : 6 132

Re : vpn se lance mais navigation impossible

Bonsoir ...

Si nous pouvions avoir des informations concernant la connexion au VPN (les logs d'openvpn) ainsi qu'un test de ping avec le VPN d'actif, la configuration de vos interfaces réseaux (ifconfig) et de la table de routage (route) ...
Mais aussi quels logiciels vous utilisez (quel network manager, si vous avez installé un pare feu, ...).
Pour votre modem, nous verrons par la suite ...
Avoir ces informations nous aiderait beaucoup smile

Cordialement, David.

ps : Je déplace votre discussion dans "Aide Linux"

Hors ligne

#3 2012-06-16 21:07:20

spatzounette
Membre
Inscription : 2012-06-16
Messages : 30

Re : vpn se lance mais navigation impossible

Bonsoir et merci de votre réponse rapide.
Excusez mon ignorance je ne sais pas où se trouvent les logs openvpn (cherché en vain dans /var/log).
Sinon j'utilise network-manager 0.8 sous Ubuntu 10.04.
Mon pare-feu est désactivé sous Ubuntu,toutefois celui du routeur est actif.
Voici le résultat d'if config

spatzounette@spatzounette-desktop:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1e:8c:b4:4e:8e  
          inet adr:192.168.0.3  Bcast:192.168.0.255  Masque:255.255.255.0
          adr inet6: fe80::21e:8cff:feb4:4e8e/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:286226 erreurs:0 :0 overruns:0 frame:0
          TX packets:211201 errors:0 dropped:0 overruns:0 carrier:2
          collisions:0 lg file transmission:1000 
          Octets reçus:372247613 (372.2 MB) Octets transmis:15864003 (15.8 MB)

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
          Packets reçus:426 erreurs:0 :0 overruns:0 frame:0
          TX packets:426 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:36238 (36.2 KB) Octets transmis:36238 (36.2 KB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet adr:10.8.23.202  P-t-P:10.8.23.201  Masque:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:100 
          Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)

celui de route:

spatzounette@spatzounette-desktop:~$ route
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic Metric Ref    Use Iface
vpn2.Freedom-IP 192.168.0.1     255.255.255.255 UGH   0      0        0 eth0
10.8.0.1        10.8.23.201     255.255.255.255 UGH   0      0        0 tun0
10.8.23.201     *               255.255.255.255 UH    0      0        0 tun0
192.168.0.0     *               255.255.255.0   U     1      0        0 eth0
link-local      *               255.255.0.0     U     1000   0        0 eth0
default         10.8.23.201     0.0.0.0         UG    0      0        0 tun0

Sinon le ping avec "outils réseau" sur google par exemple ne renvoie rien.

Hors ligne

#4 2012-06-17 05:30:02

David
Bof !!!
Inscription : 2012-01-30
Messages : 6 132

Re : vpn se lance mais navigation impossible

nslookup www.google.fr

Hors ligne

#5 2012-06-17 12:52:31

spatzounette
Membre
Inscription : 2012-06-16
Messages : 30

Re : vpn se lance mais navigation impossible

Rebonjour,
Voici les éléments demandés:

Le log Openvpn:(à partir d'aujourd"hui 13h10 mise en route du PC)

Jun 17 13:10:17 spatzounette-desktop NetworkManager: <info>  Activation (eth0) successful, device activated.
Jun 17 13:10:17 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete.
Jun 17 13:10:24 spatzounette-desktop nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1.
Jun 17 13:15:12 spatzounette-desktop NetworkManager: <info>  Starting VPN service 'org.freedesktop.NetworkManager.openvpn'...
Jun 17 13:15:12 spatzounette-desktop NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 2176
Jun 17 13:15:12 spatzounette-desktop NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.openvpn' just appeared, activating connections
Jun 17 13:15:12 spatzounette-desktop NetworkManager: <info>  VPN plugin state changed: 1
Jun 17 13:15:13 spatzounette-desktop NetworkManager: <info>  VPN plugin state changed: 3
Jun 17 13:15:13 spatzounette-desktop NetworkManager: <info>  VPN connection 'NL_freedomip' (Connect) reply received.
Jun 17 13:15:13 spatzounette-desktop nm-openvpn[2182]: OpenVPN 2.1.3 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Mar 29 2011
Jun 17 13:15:13 spatzounette-desktop nm-openvpn[2182]: WARNING: No server certificate verification method has been enabled.  See [url]http://openvpn.net/howto.html#mitm[/url] for more info.
Jun 17 13:15:13 spatzounette-desktop nm-openvpn[2182]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jun 17 13:15:13 spatzounette-desktop nm-openvpn[2182]: WARNING: file '/home/spatzounette/freedomip/ta.key' is group or others accessible
Jun 17 13:15:13 spatzounette-desktop nm-openvpn[2182]: Control Channel Authentication: using '/home/spatzounette/freedomip/ta.key' as a OpenVPN static key file
Jun 17 13:15:13 spatzounette-desktop nm-openvpn[2182]: LZO compression initialized
Jun 17 13:15:13 spatzounette-desktop nm-openvpn[2182]: Attempting to establish TCP connection with [AF_INET]94.23.148.176:443 [nonblock]
Jun 17 13:15:14 spatzounette-desktop nm-openvpn[2182]: TCP connection established with [AF_INET]94.23.148.176:443
Jun 17 13:15:14 spatzounette-desktop nm-openvpn[2182]: TCPv4_CLIENT link local: [undef]
Jun 17 13:15:14 spatzounette-desktop nm-openvpn[2182]: TCPv4_CLIENT link remote: [AF_INET]94.23.148.176:443
Jun 17 13:15:15 spatzounette-desktop nm-openvpn[2182]: [server] Peer Connection Initiated with [AF_INET]94.23.148.176:443
Jun 17 13:15:18 spatzounette-desktop nm-openvpn[2182]: TUN/TAP device tun0 opened
Jun 17 13:15:18 spatzounette-desktop nm-openvpn[2182]: /sbin/ifconfig tun0 10.8.23.202 pointopoint 10.8.23.201 mtu 1500
Jun 17 13:15:18 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
Jun 17 13:15:18 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
Jun 17 13:15:18 spatzounette-desktop nm-openvpn[2182]: /usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper tun0 1500 1560 10.8.23.202 10.8.23.201 init
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  VPN connection 'NL_freedomip' (IP Config Get) reply received.
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  VPN Gateway: 94.23.148.176
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  Internal Gateway: 10.8.23.201
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  Tunnel Device: tun0
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  Internal IP4 Address: 10.8.23.202
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  Internal IP4 Prefix: 32
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  Internal IP4 Point-to-Point Address: 10.8.23.201
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  Maximum Segment Size (MSS): 0
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  Static Route: 10.8.0.1/32   Next Hop: 10.8.0.1
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  Internal IP4 DNS: 8.8.8.8
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  Internal IP4 DNS: 8.8.4.4
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  DNS Domain: '(none)'
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  Login Banner:
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  -----------------------------------------
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  (null)
Jun 17 13:15:18 spatzounette-desktop NetworkManager: <info>  -----------------------------------------
Jun 17 13:15:18 spatzounette-desktop nm-openvpn[2182]: Initialization Sequence Completed
Jun 17 13:15:19 spatzounette-desktop NetworkManager: <info>  VPN connection 'NL_freedomip' (IP Config Get) complete.
Jun 17 13:15:19 spatzounette-desktop NetworkManager: <info>  Policy set 'NL_freedomip' (tun0) as default for routing and DNS.
Jun 17 13:15:19 spatzounette-desktop NetworkManager: <info>  VPN plugin state changed: 4
Jun 17 13:15:19 spatzounette-desktop nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1.

Le ping Google avec vpn activé:

spatzounette@spatzounette-desktop:~$ nslookup www.google.fr
;; connection timed out; no servers could be reached

Sondage IP à partir du routeur:

PING 94.32.31.17 (94.32.31.17): 56 data bytes

--- 94.32.31.17 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss

Sinon, /etc/resolv.conf contient un dossier "update-libc.d",contenant un script shell "avahi-daemon".
On dirait que le routeur ne laisse pas circuler les paquets lorsque freedomip est activé.

Hors ligne

#6 2012-06-17 14:03:31

David
Bof !!!
Inscription : 2012-01-30
Messages : 6 132

Re : vpn se lance mais navigation impossible

...
Jun 17 13:15:18 spatzounette-desktop nm-openvpn[2182]: Initialization Sequence Completed
Jun 17 13:15:19 spatzounette-desktop NetworkManager: <info>  VPN connection 'NL_freedomip' (IP Config Get) complete.
Jun 17 13:15:19 spatzounette-desktop NetworkManager: <info>  Policy set 'NL_freedomip' (tun0) as default for routing and DNS.
Jun 17 13:15:19 spatzounette-desktop NetworkManager: <info>  VPN plugin state changed: 4
Jun 17 13:15:19 spatzounette-desktop nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1.

Hors ligne

#7 2012-06-17 14:41:13

spatzounette
Membre
Inscription : 2012-06-16
Messages : 30

Re : vpn se lance mais navigation impossible

Rebonjour, le voici:

#!/bin/sh -e
# Script to dispatch NetworkManager events
#
# Runs ifupdown scripts when NetworkManager fiddles with interfaces.

if [ -z "$1" ]; then
    echo "$0: called with no interface" 1>&2
    exit 1;
fi

# Fake ifupdown environment
export IFACE="$1"
export LOGICAL="$1"
export ADDRFAM="NetworkManager"
export METHOD="NetworkManager"
export VERBOSITY="0"

# Run the right scripts
case "$2" in
    up)
	export MODE="start"
	export PHASE="up"

	if [ -d /var/run/network/ ] ; then
		tmpfile=`mktemp -t`
		if [ -e /var/run/network/ifstate ] ; then
			cat /var/run/network/ifstate | grep -v ^$IFACE= > $tmpfile || true
		fi
		echo $IFACE=$IFACE >> $tmpfile
		mv $tmpfile /var/run/network/ifstate
	fi

	exec run-parts /etc/network/if-up.d
	;;
    down)
	export MODE="stop"
	export PHASE="down"

	if [ -e /var/run/network/ifstate ] ; then
		tmpfile=`mktemp -t`
		cat /var/run/network/ifstate | grep -v ^$IFACE= > $tmpfile || true
		mv $tmpfile /var/run/network/ifstate
	fi

	exec run-parts /etc/network/if-down.d
	;;
    pre-up)
	export MODE="start"
	export PHASE="pre-up"
	exec run-parts /etc/network/if-pre-up.d
	;;
    post-down)
	export MODE="stop"
	export PHASE="post-down"
	exec run-parts /etc/network/if-post-down.d
	;;
    *)
	echo "$0: called with unknown action \`$2'" 1>&2
	exit 1
	;;
esac

Hors ligne

#8 2012-06-17 14:58:46

David
Bof !!!
Inscription : 2012-01-30
Messages : 6 132

Re : vpn se lance mais navigation impossible

...
# Run the right scripts
case "$2" in
    up)
    export MODE="start"
    export PHASE="up"
...

Hors ligne

#9 2012-06-17 15:28:17

spatzounette
Membre
Inscription : 2012-06-16
Messages : 30

Re : vpn se lance mais navigation impossible

Re,
bon c'est encore pire...
J'ai fait les modifications avec "gksudo gedit" je suppose que c'est ainsi qu'il faut procéder car les 2 liens sont pour l'instant inaccessibles.
(VPN désactivé évidemment).Donc plus du tout de connexion sous VPN.Voici le script,modifié:

#!/bin/sh -e
# Script to dispatch NetworkManager events
#
# Runs ifupdown scripts when NetworkManager fiddles with interfaces.

if [ -z "$1" ]; then
    echo "$0: called with no interface" 1>&2
    exit 1;
fi

# Fake ifupdown environment
export IFACE="$1"
export LOGICAL="$1"
export ADDRFAM="NetworkManager"
export METHOD="NetworkManager"
export VERBOSITY="0"

# Run the right scripts
case "$2" in
    up|vpn-up)
	export MODE="start"
	export PHASE="up"

	if [ -d /var/run/network/ ] ; then
		tmpfile=`mktemp -t`
		if [ -e /var/run/network/ifstate ] ; then
			cat /var/run/network/ifstate | grep -v ^$IFACE= > $tmpfile || true
		fi
		echo $IFACE=$IFACE >> $tmpfile
		mv $tmpfile /var/run/network/ifstate
	fi

	exec run-parts /etc/network/if-up.d
	;;
    down|vpn-down)
	export MODE="stop"
	export PHASE="down"

	if [ -e /var/run/network/ifstate ] ; then
		tmpfile=`mktemp -t`
		cat /var/run/network/ifstate | grep -v ^$IFACE= > $tmpfile || true
		mv $tmpfile /var/run/network/ifstate
	fi

	exec run-parts /etc/network/if-down.d
	;;
    pre-up)
	export MODE="start"
	export PHASE="pre-up"
	exec run-parts /etc/network/if-pre-up.d
	;;
    post-down)
	export MODE="stop"
	export PHASE="post-down"
	exec run-parts /etc/network/if-post-down.d
	;;
    *)
	echo "$0: called with unknown action \`$2'" 1>&2
	exit 1
	;;
esac

Les nouveaux logs de connexion:

Jun 17 16:14:32 spatzounette-desktop NetworkManager: <info>  Starting VPN service 'org.freedesktop.NetworkManager.openvpn'...
Jun 17 16:14:32 spatzounette-desktop NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 3298
Jun 17 16:14:32 spatzounette-desktop NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.openvpn' just appeared, activating connections
Jun 17 16:14:32 spatzounette-desktop NetworkManager: <info>  VPN plugin state changed: 3
Jun 17 16:14:32 spatzounette-desktop NetworkManager: <info>  VPN connection 'NL_freedomip' (Connect) reply received.
Jun 17 16:14:32 spatzounette-desktop nm-openvpn[3303]: OpenVPN 2.1.3 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Mar 29 2011
Jun 17 16:14:32 spatzounette-desktop nm-openvpn[3303]: WARNING: No server certificate verification method has been enabled.  See [url]http://openvpn.net/howto.html#mitm[/url] for more info.
Jun 17 16:14:32 spatzounette-desktop nm-openvpn[3303]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jun 17 16:14:32 spatzounette-desktop nm-openvpn[3303]: WARNING: file '/home/spatzounette/freedomip/ta.key' is group or others accessible
Jun 17 16:14:32 spatzounette-desktop nm-openvpn[3303]: Control Channel Authentication: using '/home/spatzounette/freedomip/ta.key' as a OpenVPN static key file
Jun 17 16:14:32 spatzounette-desktop nm-openvpn[3303]: LZO compression initialized
Jun 17 16:14:32 spatzounette-desktop nm-openvpn[3303]: Attempting to establish TCP connection with [AF_INET]94.23.148.176:443 [nonblock]
Jun 17 16:14:33 spatzounette-desktop nm-openvpn[3303]: TCP connection established with [AF_INET]94.23.148.176:443
Jun 17 16:14:33 spatzounette-desktop nm-openvpn[3303]: TCPv4_CLIENT link local: [undef]
Jun 17 16:14:33 spatzounette-desktop nm-openvpn[3303]: TCPv4_CLIENT link remote: [AF_INET]94.23.148.176:443
Jun 17 16:14:35 spatzounette-desktop nm-openvpn[3303]: [server] Peer Connection Initiated with [AF_INET]94.23.148.176:443
Jun 17 16:14:37 spatzounette-desktop nm-openvpn[3303]: TUN/TAP device tun0 opened
Jun 17 16:14:37 spatzounette-desktop nm-openvpn[3303]: /sbin/ifconfig tun0 10.8.23.202 pointopoint 10.8.23.201 mtu 1500
Jun 17 16:14:37 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
Jun 17 16:14:37 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
Jun 17 16:14:37 spatzounette-desktop nm-openvpn[3303]: /usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper tun0 1500 1560 10.8.23.202 10.8.23.201 init
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  VPN connection 'NL_freedomip' (IP Config Get) reply received.
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  VPN Gateway: 94.23.148.176
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  Internal Gateway: 10.8.23.201
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  Tunnel Device: tun0
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  Internal IP4 Address: 10.8.23.202
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  Internal IP4 Prefix: 32
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  Internal IP4 Point-to-Point Address: 10.8.23.201
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  Maximum Segment Size (MSS): 0
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  Static Route: 10.8.0.1/32   Next Hop: 10.8.0.1
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  Internal IP4 DNS: 8.8.8.8
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  Internal IP4 DNS: 8.8.4.4
Jun 17 16:14:37 spatzounette-desktop nm-openvpn[3303]: Initialization Sequence Completed
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  DNS Domain: '(none)'
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  Login Banner:
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  -----------------------------------------
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  (null)
Jun 17 16:14:37 spatzounette-desktop NetworkManager: <info>  -----------------------------------------
Jun 17 16:14:38 spatzounette-desktop NetworkManager: <info>  VPN connection 'NL_freedomip' (IP Config Get) complete.
Jun 17 16:14:38 spatzounette-desktop NetworkManager: <info>  Policy set 'NL_freedomip' (tun0) as default for routing and DNS.
Jun 17 16:14:38 spatzounette-desktop NetworkManager: <info>  VPN plugin state changed: 4
Jun 17 16:15:03 spatzounette-desktop nm-openvpn[3303]: /sbin/ifconfig tun0 0.0.0.0
Jun 17 16:15:03 spatzounette-desktop nm-openvpn[3303]: SIGTERM[hard,] received, process exiting
Jun 17 16:15:04 spatzounette-desktop NetworkManager: <info>  Policy set 'Auto eth0' (eth0) as default for routing and DNS.
Jun 17 16:15:04 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/tun0, iface: tun0)
Jun 17 16:16:07 spatzounette-desktop kernel: [   15.313399] type=1505 audit(1339942563.387:3):  operation="profile_load" pid=792 name="/usr/lib/NetworkManager/nm-dhcp-client.action"
Jun 17 16:16:07 spatzounette-desktop kernel: [   15.315496] type=1505 audit(1339942563.387:6):  operation="profile_replace" pid=793 name="/usr/lib/NetworkManager/nm-dhcp-client.action"
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  starting...
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Trying to start the modem-manager...
Jun 17 16:16:07 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: init!
Jun 17 16:16:07 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: update_system_hostname
Jun 17 16:16:07 spatzounette-desktop NetworkManager:    SCPluginIfupdown: management mode: unmanaged
Jun 17 16:16:07 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.5/0000:02:00.0/net/eth0, iface: eth0)
Jun 17 16:16:07 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1c.5/0000:02:00.0/net/eth0, iface: eth0): no ifupdown configuration found.
Jun 17 16:16:07 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/lo, iface: lo)
Jun 17 16:16:07 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
Jun 17 16:16:07 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: end _init.
Jun 17 16:16:07 spatzounette-desktop NetworkManager: Loaded plugin ifupdown: (C) 2008 Canonical Ltd.  To report bugs please use the NetworkManager mailing list.
Jun 17 16:16:07 spatzounette-desktop NetworkManager: Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  WiFi enabled by radio killswitch; enabled by state file
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  WWAN enabled by radio killswitch; enabled by state file
Jun 17 16:16:07 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: (152396016) ... get_connections.
Jun 17 16:16:07 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: (152396016) ... get_connections (managed=false): return empty list.
Jun 17 16:16:07 spatzounette-desktop NetworkManager:    Ifupdown: get unmanaged devices count: 0
Jun 17 16:16:07 spatzounette-desktop avahi-daemon[1013]: Network interface enumeration completed.
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  (eth0): carrier is OFF
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  (eth0): new Ethernet device (driver: 'atl1')
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  (eth0): now managed
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  (eth0): device state change: 1 -> 2 (reason 2)
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  (eth0): bringing up device.
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  (eth0): preparing device.
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  (eth0): deactivating device (reason: 2).
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  (eth0): carrier now ON (device state 2)
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  (eth0): device state change: 2 -> 3 (reason 40)
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <WARN>  default_adapter_cb(): bluez error getting default adapter: The name org.bluez was not provided by any .service files
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Trying to start the supplicant...
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) starting connection 'Auto eth0'
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  (eth0): device state change: 3 -> 4 (reason 0)
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  (eth0): device state change: 4 -> 5 (reason 0)
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  (eth0): device state change: 5 -> 7 (reason 0)
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP4 Configure Get) scheduled...
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP6 Configure Get) scheduled...
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP4 Configure Get) started...
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP4 Configure Get) complete.
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP6 Configure Get) started...
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled...
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP6 Configure Get) complete.
Jun 17 16:16:07 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) started...
Jun 17 16:16:07 spatzounette-desktop kernel: [   19.415053] type=1505 audit(1339942567.487:10):  operation="profile_replace" pid=1102 name="/usr/lib/NetworkManager/nm-dhcp-client.action"
Jun 17 16:16:08 spatzounette-desktop NetworkManager: <info>  (eth0): device state change: 7 -> 8 (reason 0)
Jun 17 16:16:08 spatzounette-desktop NetworkManager: <info>  Policy set 'Auto eth0' (eth0) as default for routing and DNS.
Jun 17 16:16:08 spatzounette-desktop NetworkManager: <info>  Activation (eth0) successful, device activated.
Jun 17 16:16:08 spatzounette-desktop NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete.
Jun 17 16:16:08 spatzounette-desktop NetworkManager: <info>  modem-manager is now available
Jun 17 16:16:31 spatzounette-desktop NetworkManager: <info>  Starting VPN service 'org.freedesktop.NetworkManager.openvpn'...
Jun 17 16:16:31 spatzounette-desktop NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 2053
Jun 17 16:16:31 spatzounette-desktop NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.openvpn' just appeared, activating connections
Jun 17 16:16:31 spatzounette-desktop NetworkManager: <info>  VPN plugin state changed: 3
Jun 17 16:16:31 spatzounette-desktop NetworkManager: <info>  VPN connection 'NL_freedomip' (Connect) reply received.
Jun 17 16:16:31 spatzounette-desktop nm-openvpn[2059]: OpenVPN 2.1.3 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Mar 29 2011
Jun 17 16:16:31 spatzounette-desktop nm-openvpn[2059]: WARNING: No server certificate verification method has been enabled.  See [url]http://openvpn.net/howto.html#mitm[/url] for more info.
Jun 17 16:16:31 spatzounette-desktop nm-openvpn[2059]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jun 17 16:16:31 spatzounette-desktop nm-openvpn[2059]: WARNING: file '/home/spatzounette/freedomip/ta.key' is group or others accessible
Jun 17 16:16:31 spatzounette-desktop nm-openvpn[2059]: Control Channel Authentication: using '/home/spatzounette/freedomip/ta.key' as a OpenVPN static key file
Jun 17 16:16:31 spatzounette-desktop nm-openvpn[2059]: LZO compression initialized
Jun 17 16:16:31 spatzounette-desktop nm-openvpn[2059]: Attempting to establish TCP connection with [AF_INET]94.23.148.176:443 [nonblock]
Jun 17 16:16:32 spatzounette-desktop nm-openvpn[2059]: TCP connection established with [AF_INET]94.23.148.176:443
Jun 17 16:16:32 spatzounette-desktop nm-openvpn[2059]: TCPv4_CLIENT link local: [undef]
Jun 17 16:16:32 spatzounette-desktop nm-openvpn[2059]: TCPv4_CLIENT link remote: [AF_INET]94.23.148.176:443
Jun 17 16:16:34 spatzounette-desktop nm-openvpn[2059]: [server] Peer Connection Initiated with [AF_INET]94.23.148.176:443
Jun 17 16:16:36 spatzounette-desktop nm-openvpn[2059]: TUN/TAP device tun0 opened
Jun 17 16:16:36 spatzounette-desktop nm-openvpn[2059]: /sbin/ifconfig tun0 10.8.23.202 pointopoint 10.8.23.201 mtu 1500
Jun 17 16:16:36 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
Jun 17 16:16:36 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
Jun 17 16:16:36 spatzounette-desktop nm-openvpn[2059]: /usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper tun0 1500 1560 10.8.23.202 10.8.23.201 init
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  VPN connection 'NL_freedomip' (IP Config Get) reply received.
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  VPN Gateway: 94.23.148.176
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  Internal Gateway: 10.8.23.201
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  Tunnel Device: tun0
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  Internal IP4 Address: 10.8.23.202
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  Internal IP4 Prefix: 32
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  Internal IP4 Point-to-Point Address: 10.8.23.201
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  Maximum Segment Size (MSS): 0
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  Static Route: 10.8.0.1/32   Next Hop: 10.8.0.1
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  Internal IP4 DNS: 8.8.8.8
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  Internal IP4 DNS: 8.8.4.4
Jun 17 16:16:36 spatzounette-desktop nm-openvpn[2059]: Initialization Sequence Completed
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  DNS Domain: '(none)'
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  Login Banner:
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  -----------------------------------------
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  (null)
Jun 17 16:16:36 spatzounette-desktop NetworkManager: <info>  -----------------------------------------
Jun 17 16:16:37 spatzounette-desktop NetworkManager: <info>  VPN connection 'NL_freedomip' (IP Config Get) complete.
Jun 17 16:16:37 spatzounette-desktop NetworkManager: <info>  Policy set 'NL_freedomip' (tun0) as default for routing and DNS.
Jun 17 16:16:37 spatzounette-desktop NetworkManager: <info>  VPN plugin state changed: 4
Jun 17 16:17:01 spatzounette-desktop nm-openvpn[2059]: /sbin/ifconfig tun0 0.0.0.0
Jun 17 16:17:02 spatzounette-desktop nm-openvpn[2059]: SIGTERM[hard,] received, process exiting
Jun 17 16:17:03 spatzounette-desktop NetworkManager: <info>  Policy set 'Auto eth0' (eth0) as default for routing and DNS.
Jun 17 16:17:03 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/tun0, iface: tun0)
Jun 17 16:17:15 spatzounette-desktop NetworkManager: <debug> [1339942635.002666] ensure_killed(): waiting for vpn service pid 2053 to exit
Jun 17 16:17:15 spatzounette-desktop NetworkManager: <debug> [1339942635.002767] ensure_killed(): vpn service pid 2053 cleaned up

Voilà...

Hors ligne

#10 2012-06-18 08:26:11

David
Bof !!!
Inscription : 2012-01-30
Messages : 6 132

Re : vpn se lance mais navigation impossible

PING 94.32.31.17 (94.32.31.17): 56 data bytes

--- 94.32.31.17 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss

Hors ligne

#11 2012-06-18 11:22:23

spatzounette
Membre
Inscription : 2012-06-16
Messages : 30

Re : vpn se lance mais navigation impossible

Bonjour,
Effectivement c'était bien un test de ping à partir du routeur.
Voici les logs du modem:

Mon, 2012-06-18 12:05:06 - TCP Packet - Source:192.168.0.3,49001 Destination:94.23.14.130,443 - [freedomip rule match]
Mon, 2012-06-18 12:05:11 - TCP Packet - Source:192.168.0.3,49002 Destination:94.23.14.130,443 - [freedomip rule match]
Mon, 2012-06-18 12:05:11 - TCP Packet - Source:192.168.0.3,49003 Destination:94.23.14.130,443 - [freedomip rule match]
Mon, 2012-06-18 12:05:11 - TCP Packet - Source:192.168.0.3,49004 Destination:94.23.14.130,443 - [freedomip rule match]
Mon, 2012-06-18 12:05:11 - TCP Packet - Source:192.168.0.3,49005 Destination:94.23.14.130,443 - [freedomip rule match]
Mon, 2012-06-18 12:05:11 - TCP Packet - Source:192.168.0.3,49006 Destination:94.23.14.130,443 - [freedomip rule match]
Mon, 2012-06-18 12:05:11 - TCP Packet - Source:192.168.0.3,49001 Destination:94.23.14.130,443 - [freedomip rule match]
Mon, 2012-06-18 12:05:11 - TCP Packet - Source:192.168.0.3,49006 Destination:94.23.14.130,443 - [freedomip rule match]
Mon, 2012-06-18 12:05:11 - TCP Packet - Source:192.168.0.3,49001 Destination:94.23.14.130,443 - [freedomip rule match]
Mon, 2012-06-18 12:05:12 - TCP Packet - Source:192.168.0.3,49006 Destination:94.23.14.130,443 - [freedomip rule match]
Mon, 2012-06-18 12:05:35 - TCP Packet - Source:192.168.0.3,50196 Destination:94.23.148.176,443 - [freedomip rule match]
Mon, 2012-06-18 12:06:24 - Administrator login successful - IP:192.168.0.3
Mon, 2012-06-18 12:06:29 - TCP Packet - Source:192.168.0.3,50196 Destination:94.23.148.176,443 - [freedomip rule match]

En ce qui concerne N-M ,j'avais effectivement 2 connexions" auto eth0"(allez savoir pourquoi) j'en ai supprimé une.
J'ai aussi supprimé les régles PPTP,IPSEC,L2TP dans le routeur.

Ca ne fonctionne toujours pas...

Hors ligne

#12 2012-06-18 11:40:21

David
Bof !!!
Inscription : 2012-01-30
Messages : 6 132

Re : vpn se lance mais navigation impossible

Hors ligne

#13 2012-06-18 12:57:05

spatzounette
Membre
Inscription : 2012-06-16
Messages : 30

Re : vpn se lance mais navigation impossible

Re,
Pour l'adresse 94.32.31.17 il s'agit d'un site que je connais (ifelse.eu) rien à voir avec mon fai qui est Orange.
Avec vpn activé j'ai essayé un ping sur google à partir du terminal, sans succès.
"      "      "     à partir de l'interface du routeur j'obtiens l'I.P. google sans problème.
/etc/network/interfaces contient ceci:

auto lo
iface lo inet loopback

Désolé j'ai confondu resolv.conf avec resolvconf qui indique mon DNS utilisé:208.67.222.222
(dns alternatif à orange).

Voilou...

Hors ligne

#14 2012-06-18 13:35:22

David
Bof !!!
Inscription : 2012-01-30
Messages : 6 132

Re : vpn se lance mais navigation impossible

# ping ifelse.eu
PING ifelse.eu (94.23.31.17) 56(84) bytes of data.
64 bytes from ifelse.eu (94.23.31.17): icmp_req=1 ttl=53 time=160 ms
64 bytes from ifelse.eu (94.23.31.17): icmp_req=2 ttl=53 time=238 ms
64 bytes from ifelse.eu (94.23.31.17): icmp_req=3 ttl=53 time=80.7 ms
64 bytes from ifelse.eu (94.23.31.17): icmp_req=4 ttl=53 time=74.9 ms
...

Hors ligne

#15 2012-06-18 14:14:21

spatzounette
Membre
Inscription : 2012-06-16
Messages : 30

Re : vpn se lance mais navigation impossible

Bon, voilà d'autres éléments...
vpn activé j'ai bien les deux nameserver et le dns 208.67.222.222 dans le fichier resolv.conf.
Du routeur je sonde 94.23.31.17:

PING 94.23.31.17 (94.23.31.17): 56 data bytes
64 bytes from 94.23.31.17: seq=0 ttl=54 time=31.593 ms
64 bytes from 94.23.31.17: seq=1 ttl=54 time=31.501 ms
64 bytes from 94.23.31.17: seq=2 ttl=54 time=31.343 ms
64 bytes from 94.23.31.17: seq=3 ttl=54 time=31.728 ms

--- 94.23.31.17 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 31.343/31.541/31.728 ms

Par contre, à partir du terminal:

spatzounette@spatzounette-desktop:~$ ping 94.23.31.17
PING 94.23.31.17 (94.23.31.17) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
^C
--- 94.23.31.17 ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 6048ms

J'avoue que je commence à patauger complètement...

Hors ligne

#16 2012-06-18 14:42:56

David
Bof !!!
Inscription : 2012-01-30
Messages : 6 132

Re : vpn se lance mais navigation impossible

Hors ligne

#17 2012-06-18 15:26:31

spatzounette
Membre
Inscription : 2012-06-16
Messages : 30

Re : vpn se lance mais navigation impossible

[== Indéfini ==]
Jun 18 16:08:05 spatzounette-desktop NetworkManager: <info>  Starting VPN service 'org.freedesktop.NetworkManager.openvpn'...
Jun 18 16:08:05 spatzounette-desktop NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 9101
Jun 18 16:08:05 spatzounette-desktop NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.openvpn' just appeared, activating connections
Jun 18 16:08:05 spatzounette-desktop NetworkManager: <info>  VPN plugin state changed: 1
Jun 18 16:08:05 spatzounette-desktop NetworkManager: <info>  VPN plugin state changed: 3
Jun 18 16:08:05 spatzounette-desktop NetworkManager: <info>  VPN connection 'NL_freedomip' (Connect) reply received.
Jun 18 16:08:05 spatzounette-desktop nm-openvpn[9105]: OpenVPN 2.1.3 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Mar 29 2011
Jun 18 16:08:06 spatzounette-desktop nm-openvpn[9105]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Jun 18 16:08:06 spatzounette-desktop nm-openvpn[9105]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jun 18 16:08:06 spatzounette-desktop nm-openvpn[9105]: WARNING: file '/home/spatzounette/freedomip/ta.key' is group or others accessible
Jun 18 16:08:06 spatzounette-desktop nm-openvpn[9105]: Control Channel Authentication: using '/home/spatzounette/freedomip/ta.key' as a OpenVPN static key file
Jun 18 16:08:06 spatzounette-desktop nm-openvpn[9105]: LZO compression initialized
Jun 18 16:08:06 spatzounette-desktop nm-openvpn[9105]: Attempting to establish TCP connection with [AF_INET]94.23.148.176:443 [nonblock]
Jun 18 16:08:07 spatzounette-desktop nm-openvpn[9105]: TCP connection established with [AF_INET]94.23.148.176:443
Jun 18 16:08:07 spatzounette-desktop nm-openvpn[9105]: TCPv4_CLIENT link local: [undef]
Jun 18 16:08:07 spatzounette-desktop nm-openvpn[9105]: TCPv4_CLIENT link remote: [AF_INET]94.23.148.176:443
Jun 18 16:08:08 spatzounette-desktop nm-openvpn[9105]: [server] Peer Connection Initiated with [AF_INET]94.23.148.176:443
Jun 18 16:08:11 spatzounette-desktop nm-openvpn[9105]: TUN/TAP device tun0 opened
Jun 18 16:08:11 spatzounette-desktop nm-openvpn[9105]: /sbin/ifconfig tun0 10.8.23.202 pointopoint 10.8.23.201 mtu 1500
Jun 18 16:08:11 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
Jun 18 16:08:11 spatzounette-desktop NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
Jun 18 16:08:11 spatzounette-desktop nm-openvpn[9105]: /usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper tun0 1500 1560 10.8.23.202 10.8.23.201 init
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  VPN connection 'NL_freedomip' (IP Config Get) reply received.
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  VPN Gateway: 94.23.148.176
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  Internal Gateway: 10.8.23.201
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  Tunnel Device: tun0
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  Internal IP4 Address: 10.8.23.202
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  Internal IP4 Prefix: 32
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  Internal IP4 Point-to-Point Address: 10.8.23.201
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  Maximum Segment Size (MSS): 0
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  Static Route: 10.8.0.1/32   Next Hop: 10.8.0.1
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  Internal IP4 DNS: 8.8.8.8
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  Internal IP4 DNS: 8.8.4.4
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  DNS Domain: '(none)'
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  Login Banner:
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  -----------------------------------------
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  (null)
Jun 18 16:08:11 spatzounette-desktop NetworkManager: <info>  -----------------------------------------
Jun 18 16:08:11 spatzounette-desktop nm-openvpn[9105]: Initialization Sequence Completed
Jun 18 16:08:12 spatzounette-desktop NetworkManager: <info>  VPN connection 'NL_freedomip' (IP Config Get) complete.
Jun 18 16:08:12 spatzounette-desktop NetworkManager: <info>  Policy set 'NL_freedomip' (tun0) as default for routing and DNS.
Jun 18 16:08:12 spatzounette-desktop NetworkManager: <info>  VPN plugin state changed: 4

Hors ligne

#18 2012-06-18 16:19:15

David
Bof !!!
Inscription : 2012-01-30
Messages : 6 132

Re : vpn se lance mais navigation impossible

 WARNING: No server certificate verification method has been enabled.

Hors ligne

#19 2012-06-18 16:47:57

spatzounette
Membre
Inscription : 2012-06-16
Messages : 30

Re : vpn se lance mais navigation impossible

Voilou,

[== Indéfini ==]
spatzounette@spatzounette-desktop:~/freedomip$ sudo openvpn --config NL_freedomip.ovpn
[sudo] password for spatzounette: 
Mon Jun 18 17:39:00 2012 OpenVPN 2.1.3 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Mar 29 2011
Enter Auth Username:fip_11895w410z
Enter Auth Password:
Mon Jun 18 17:40:14 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Jun 18 17:40:14 2012 WARNING: file 'ta.key' is group or others accessible
Mon Jun 18 17:40:14 2012 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Mon Jun 18 17:40:14 2012 LZO compression initialized
Mon Jun 18 17:40:14 2012 Attempting to establish TCP connection with [AF_INET]94.23.148.176:443 [nonblock]
Mon Jun 18 17:40:15 2012 TCP connection established with [AF_INET]94.23.148.176:443
Mon Jun 18 17:40:15 2012 TCPv4_CLIENT link local: [undef]
Mon Jun 18 17:40:15 2012 TCPv4_CLIENT link remote: [AF_INET]94.23.148.176:443
Mon Jun 18 17:40:15 2012 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Mon Jun 18 17:40:16 2012 [server] Peer Connection Initiated with [AF_INET]94.23.148.176:443
Mon Jun 18 17:40:18 2012 TUN/TAP device tun0 opened
Mon Jun 18 17:40:18 2012 /sbin/ifconfig tun0 10.8.23.202 pointopoint 10.8.23.201 mtu 1500
Mon Jun 18 17:40:18 2012 Initialization Sequence Completed

Et impossible de me connecter à hostip.fr !! "Adresse Introuvable sur Firefox.

Dernière modification par spatzounette (2012-06-18 16:55:21)

Hors ligne

#20 2012-06-18 17:19:32

David
Bof !!!
Inscription : 2012-01-30
Messages : 6 132

Re : vpn se lance mais navigation impossible

Hors ligne

#21 2012-06-18 17:45:26

spatzounette
Membre
Inscription : 2012-06-16
Messages : 30

Re : vpn se lance mais navigation impossible

Re,
etc/resolv.conf me donne toujours ça:

# Generated by NetworkManager
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 208.67.222.222

Que voulez-vous dire par "les nouvelles routes définies par le VPN"?

Hors ligne

#22 2012-06-18 17:53:10

David
Bof !!!
Inscription : 2012-01-30
Messages : 6 132

Re : vpn se lance mais navigation impossible

Hors ligne

#23 2012-06-18 18:00:47

spatzounette
Membre
Inscription : 2012-06-16
Messages : 30

Re : vpn se lance mais navigation impossible

O.K. je suis connecté via N-M ,sauf pour poster mes messages bien sûr!
le résultat des commandes route:

spatzounette@spatzounette-desktop:~$ route
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic Metric Ref    Use Iface
94.23.148.176   192.168.0.1     255.255.255.255 UGH   0      0        0 eth0
10.8.0.1        10.8.23.201     255.255.255.255 UGH   0      0        0 tun0
10.8.23.201     *               255.255.255.255 UH    0      0        0 tun0
192.168.0.0     *               255.255.255.0   U     1      0        0 eth0
link-local      *               255.255.0.0     U     1000   0        0 eth0
default         10.8.23.201     0.0.0.0         UG    0      0        0 tun0
spatzounette@spatzounette-desktop:~$ route -n
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic Metric Ref    Use Iface
94.23.148.176   192.168.0.1     255.255.255.255 UGH   0      0        0 eth0
10.8.0.1        10.8.23.201     255.255.255.255 UGH   0      0        0 tun0
10.8.23.201     0.0.0.0         255.255.255.255 UH    0      0        0 tun0
192.168.0.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
0.0.0.0         10.8.23.201     0.0.0.0         UG    0      0        0 tun0

Hors ligne

#24 2012-06-18 18:19:20

David
Bof !!!
Inscription : 2012-01-30
Messages : 6 132

Re : vpn se lance mais navigation impossible

0.0.0.0         10.8.23.201     0.0.0.0         UG    0      0        0 tun0

Hors ligne

#25 2012-06-18 18:40:21

spatzounette
Membre
Inscription : 2012-06-16
Messages : 30

Re : vpn se lance mais navigation impossible

C'est l'url de google n'est-ce pas?
Ben non ça mouline et ..." le délai d'attente est dépassé".

Hors ligne

Pied de page des forums