installation OK (?), but internet traffic go out of vpn

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
danF
OpenVpn Newbie
Posts: 9
Joined: Fri Aug 16, 2013 7:41 pm

installation OK (?), but internet traffic go out of vpn

Post by danF » Fri Aug 16, 2013 7:51 pm

Installation seems correct, ping ok, but a lot of internet traffic goes out of vpn

I put in bold what looks suspicious

/etc/openvpn$ sudo openvpn server.conf
Thu Aug 15 20:26:34 2013 OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Feb 13 2013
Thu Aug 15 20:26:34 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Aug 15 20:26:34 2013 Diffie-Hellman initialized with 1024 bit key
Thu Aug 15 20:26:34 2013 TLS-Auth MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Thu Aug 15 20:26:34 2013 Socket Buffers: R=[87380->131072] S=[16384->131072]
Thu Aug 15 20:26:34 2013 ROUTE default_gateway=XX.XXX.XX.XX
Thu Aug 15 20:26:34 2013 TUN/TAP device tun0 opened
Thu Aug 15 20:26:34 2013 TUN/TAP TX queue length set to 100
Thu Aug 15 20:26:34 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Aug 15 20:26:34 2013 /sbin/ifconfig tun0 10.8.0.1 pointopoint 10.8.0.2 mtu 1500
Thu Aug 15 20:26:34 2013 /sbin/route add -net 10.8.0.0 netmask 255.255.255.0 gw 10.8.0.2
Thu Aug 15 20:26:34 2013 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Thu Aug 15 20:26:34 2013 Listening for incoming TCP connection on [undef]
Thu Aug 15 20:26:34 2013 TCPv4_SERVER link local (bound): [undef]
Thu Aug 15 20:26:34 2013 TCPv4_SERVER link remote: [undef]

Thu Aug 15 20:26:34 2013 MULTI: multi_init called, r=256 v=256
Thu Aug 15 20:26:34 2013 IFCONFIG POOL: base=10.8.0.4 size=62, ipv6=0
Thu Aug 15 20:26:34 2013 ifconfig_pool_read(), in='DW,10.8.0.4', TODO: IPv6
Thu Aug 15 20:26:34 2013 succeeded -> ifconfig_pool_set()
Thu Aug 15 20:26:34 2013 IFCONFIG POOL LIST
Thu Aug 15 20:26:34 2013 DW,10.8.0.4
Thu Aug 15 20:26:34 2013 MULTI: TCP INIT maxclients=1024 maxevents=1028
Thu Aug 15 20:26:34 2013 Initialization Sequence Completed


et pour info mon server.conf

Code: Select all

 cat /etc/openvpn/server.conf 
port 443
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key  # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
can you help me ?
(ubuntu 13.04)

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: installation OK (?), but internet traffic go out of vpn

Post by maikcat » Sat Aug 17, 2013 2:07 pm

first change this:

Code: Select all

push "redirect-gateway"
to this:

Code: Select all

push "redirect-gateway def1"
also post the output of:

iptables -t nat -v (from your server)

netstat -nr (from your client AFTER vpn is up)

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

danF
OpenVpn Newbie
Posts: 9
Joined: Fri Aug 16, 2013 7:41 pm

Re: installation OK (?), but internet traffic go out of vpn

Post by danF » Sun Aug 18, 2013 8:38 am

Thank you for your help.

Here are the outputs :

Code: Select all

sudo iptables -L -t nat -v
Chain PREROUTING (policy ACCEPT 1730K packets, 212M bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain INPUT (policy ACCEPT 1730K packets, 212M bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 55234 packets, 6924K bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain POSTROUTING (policy ACCEPT 1159 packets, 72418 bytes)
 pkts bytes target     prot opt in     out     source               destination         
11919  786K MASQUERADE  all  --  any    eth0    10.8.0.0/24          anywhere            
    0     0 MASQUERADE  all  --  any    eth0    10.8.0.0/24          anywhere            
 124K   16M MASQUERADE  all  --  any    eth0    anywhere             anywhere            
    0     0 MASQUERADE  all  --  any    eth0    10.8.0.0/24          anywhere            
    0     0 MASQUERADE  all  --  any    eth0    anywhere             anywhere            
    0     0 MASQUERADE  all  --  any    eth0    10.8.0.0/24          anywhere            
    0     0 MASQUERADE  all  --  any    eth0    anywhere             anywhere 

Code: Select all

netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
0/1                10.8.0.5           UGSc            1        0    tun0
default            192.168.0.254      UGSc            7        0     en1
10.8.0.1/32        10.8.0.5           UGSc            0        0    tun0
10.8.0.5           10.8.0.6           UH              5        0    tun0
37.187.18.158/32   192.168.0.254      UGSc            1        0     en1
127                127.0.0.1          UCS             0        0     lo0
127.0.0.1          127.0.0.1          UH              5    15971     lo0
128.0/1            10.8.0.5           UGSc            1        0    tun0
169.254            link#5             UCS             0        0     en1
192.168.0          link#5             UCS             2        0     en1
192.168.0.32       127.0.0.1          UHS             1       10     lo0
192.168.0.254      0:24:d4:5b:ac:4c   UHLWIi          3    11251     en1   1192
192.168.0.255      ff:ff:ff:ff:ff:ff  UHLWbI          0        2     en1

Internet6:
Destination                             Gateway                         Flags         Netif Expire
::1                                     link#1                          UHL             lo0
fe80::%lo0/64                           fe80::1%lo0                     UcI             lo0
fe80::1%lo0                             link#1                          UHLI            lo0
fe80::%en1/64                           link#5                          UCI             en1
fe80::e6ce:8fff:fe67:2ece%en1           e4:ce:8f:67:2e:ce               UHLI            lo0
ff01::%lo0/32                           fe80::1%lo0                     UmCI            lo0
ff01::%en1/32                           link#5                          UmCI            en1
ff02::%lo0/32                           fe80::1%lo0                     UmCI            lo0
ff02::%en1/32                           link#5                          UmCI            en1

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: installation OK (?), but internet traffic go out of vpn

Post by maikcat » Sun Aug 18, 2013 1:19 pm

did you enabled ip forwarding on your openvpn server?

can you post the output of:

traceroute 8.8.8.8

from your client while connected..?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

danF
OpenVpn Newbie
Posts: 9
Joined: Fri Aug 16, 2013 7:41 pm

Re: installation OK (?), but internet traffic go out of vpn

Post by danF » Tue Aug 20, 2013 11:52 am

for IP forwarding, I wrote :

sudo echo "1" > /proc/sys/net/ipv4/ip_forward

and
traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
1 10.8.0.1 (10.8.0.1) 55.763 ms 36.919 ms 36.829 ms
2 XX.XXX.XX.XXX (XX.XXX.XX.XXX) 43.983 ms * 38.157 ms
3 gra-g1-a9.fr.eu (178.33.103.225) 37.877 ms 68.112 ms 37.323 ms
4 gsw-g1-a9.fr.eu (178.33.103.235) 50.319 ms 41.150 ms 41.177 ms
5 * * *
6 google.as15169.fr.eu (91.121.131.2) 41.922 ms 42.109 ms 41.988 ms
7 72.14.238.228 (72.14.238.228) 42.545 ms
72.14.238.234 (72.14.238.234) 41.648 ms 59.592 ms
8 72.14.235.169 (72.14.235.169) 41.929 ms 43.155 ms
72.14.235.173 (72.14.235.173) 49.239 ms
9 216.239.43.233 (216.239.43.233) 51.893 ms
209.85.253.20 (209.85.253.20) 48.813 ms
216.239.43.233 (216.239.43.233) 61.126 ms
10 72.14.236.191 (72.14.236.191) 47.015 ms
72.14.238.215 (72.14.238.215) 47.034 ms 51.108 ms
11 * * *
12 google-public-dns-a.google.com (8.8.8.8) 227.652 ms 46.598 ms 66.925 ms
where XX.XXX.XX.XXX is the public server IP. This is new, since I wrote
push "redirect-gateway"
instead of
push "redirect-gateway def1"


but my video stream ou FTP downloads still don't go through the vpn

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: installation OK (?), but internet traffic go out of vpn

Post by maikcat » Tue Aug 20, 2013 11:57 am

but my video stream ou FTP downloads still don't go through the vpn
can you explain this a little more please..?

if you open whatismyip.com web page which ip it shows?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

danF
OpenVpn Newbie
Posts: 9
Joined: Fri Aug 16, 2013 7:41 pm

Re: installation OK (?), but internet traffic go out of vpn

Post by danF » Tue Aug 20, 2013 12:05 pm

I check the traffic throw the tunnelblick window : I/O shows 0-10kb while my computer ("moniteur d'activité") shows 200kb-500kb.

whatismyip.com gives the XX.XXX.XXX.XXX server adress (same than in the traceroute)

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: installation OK (?), but internet traffic go out of vpn

Post by maikcat » Tue Aug 20, 2013 12:12 pm

whatismyip.com gives the XX.XXX.XXX.XXX server adress (same than in the traceroute)
means that webtraffic passes through vpn right?

if yes, where the ftp server is located?
what a traceroute to its ip shows?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

danF
OpenVpn Newbie
Posts: 9
Joined: Fri Aug 16, 2013 7:41 pm

Re: installation OK (?), but internet traffic go out of vpn

Post by danF » Tue Aug 20, 2013 12:54 pm

web traffic yes, but not the video in youtube or dailymotion.

The ftp server IP adresse is the same XX.XXX.XXX.XXX
traceroute to myserver.net (XX.XXX.XXX.XXX), 64 hops max, 52 byte packets
1 192.168.0.254 (192.168.0.254) 7.214 ms 3.190 ms 1.783 ms
2 strasbourg-6k-1-a5.routers.proxad.net (YY.YYY.YYY.YYY) 59.561 ms 43.942 ms 35.708 ms
3 strasbourg-crs16-1-be1004.intf.routers.proxad.net (212.27.50.105) 57.266 ms 65.051 ms 62.429 ms
4 th2-crs16-1-be1101.intf.routers.proxad.net (212.27.50.9) 52.565 ms 63.310 ms 56.203 ms
5 * * *
6 gsw-g1-a9.fr.eu (91.121.128.164) 47.586 ms 123.882 ms 88.612 ms
7 gra-g1-a9.fr.eu (178.33.103.234) 50.977 ms 91.624 ms 66.280 ms
8 * gra-3b-6k.fr.eu (178.33.103.228) 53.773 ms *
9 myserver.net (XX.XXX.XXX.XXX) 59.672 ms 59.160 ms 60.088 ms
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
1 10.8.0.1 (10.8.0.1) 121.211 ms 100.596 ms 133.842 ms
2 XX.XXX.XXX.XXX(XX.XXX.XXX.XXX) 140.109 ms 101.282 ms *
3 gra-g1-a9.fr.eu (178.33.103.225) 62.609 ms 137.766 ms 80.290 ms
4 gsw-g1-a9.fr.eu (178.33.103.235) 72.892 ms 127.139 ms 107.102 ms
5 * th2-1-6k.fr.eu (91.121.128.165) 1369.673 ms *
6 google.as15169.fr.eu (91.121.131.2) 126.519 ms 88.571 ms 86.958 ms
7 72.14.238.234 (72.14.238.234) 146.432 ms
72.14.238.228 (72.14.238.228) 142.620 ms 73.957 ms
8 72.14.235.169 (72.14.235.169) 100.072 ms
72.14.235.175 (72.14.235.175) 201.474 ms
72.14.235.169 (72.14.235.169) 108.280 ms
9 216.239.43.233 (216.239.43.233) 99.144 ms 130.467 ms
209.85.253.20 (209.85.253.20) 155.761 ms
10 209.85.252.83 (209.85.252.83) 180.697 ms
72.14.236.191 (72.14.236.191) 192.932 ms
216.239.49.45 (216.239.49.45) 90.140 ms
11 * * *
12 google-public-dns-a.google.com (8.8.8.8) 71.540 ms 64.674 ms 59.483 ms
(both with vpn enabled)
where XX.XXX.XXX.XXX is the server adress and YY.YYY.YYY.YYY my client

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: installation OK (?), but internet traffic go out of vpn

Post by maikcat » Tue Aug 20, 2013 1:27 pm

The ftp server IP adresse is the same XX.XXX.XXX.XXX
thats explains everything...

if your ftp server has the same ip as your openvpn server think the following..

when you connect to the vpn server you still need to send packets to its public ip
so the vpn tunnel remains up,when you redirect traffic what you really do
is redirecting ALL traffic EXCEPT the traffic destined to your openvpn servers ip address...

if you redirected this as well then how the tunnel would remained up?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

danF
OpenVpn Newbie
Posts: 9
Joined: Fri Aug 16, 2013 7:41 pm

Re: installation OK (?), but internet traffic go out of vpn

Post by danF » Tue Aug 20, 2013 2:47 pm

OK...

Code: Select all

sudo service proftpd stop

Code: Select all

sudo openvpn  server.conf
give a

Code: Select all

Tue Aug 20 16:36:27 2013 OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Feb 13 2013
Tue Aug 20 16:36:27 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Aug 20 16:36:27 2013 Diffie-Hellman initialized with 1024 bit key
Tue Aug 20 16:36:27 2013 TLS-Auth MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Tue Aug 20 16:36:27 2013 Socket Buffers: R=[87380->131072] S=[16384->131072]
Tue Aug 20 16:36:27 2013 TCP/UDP: Socket bind failed on local address [undef]: Address already in use
Tue Aug 20 16:36:27 2013 Exiting

danF
OpenVpn Newbie
Posts: 9
Joined: Fri Aug 16, 2013 7:41 pm

Re: installation OK (?), but internet traffic go out of vpn

Post by danF » Tue Aug 20, 2013 3:15 pm

danF wrote:OK...

Code: Select all

sudo service proftpd stop

Code: Select all

sudo openvpn  server.conf
give a

Code: Select all

Tue Aug 20 16:36:27 2013 OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Feb 13 2013
Tue Aug 20 16:36:27 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Aug 20 16:36:27 2013 Diffie-Hellman initialized with 1024 bit key
Tue Aug 20 16:36:27 2013 TLS-Auth MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Tue Aug 20 16:36:27 2013 Socket Buffers: R=[87380->131072] S=[16384->131072]
Tue Aug 20 16:36:27 2013 TCP/UDP: Socket bind failed on local address [undef]: Address already in use
Tue Aug 20 16:36:27 2013 Exiting

... and
sudo /etc/init.d/openvpn status
* VPN 'server' is not running
BUT I can connect the vpn throug tunnelblick ?!
and video webtraffic doesn't passe through vpn

danF
OpenVpn Newbie
Posts: 9
Joined: Fri Aug 16, 2013 7:41 pm

Re: installation OK (?), but internet traffic go out of vpn

Post by danF » Tue Aug 20, 2013 4:45 pm

I killed the process of vpn running. So I got :
sudo openvpn server.conf
Tue Aug 20 18:27:10 2013 OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Feb 13 2013
Tue Aug 20 18:27:10 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Aug 20 18:27:10 2013 Diffie-Hellman initialized with 1024 bit key
Tue Aug 20 18:27:10 2013 TLS-Auth MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Tue Aug 20 18:27:10 2013 Socket Buffers: R=[87380->131072] S=[16384->131072]
Tue Aug 20 18:27:10 2013 ROUTE default_gateway=37.187.18.254
Tue Aug 20 18:27:10 2013 TUN/TAP device tun0 opened
Tue Aug 20 18:27:10 2013 TUN/TAP TX queue length set to 100
Tue Aug 20 18:27:10 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Aug 20 18:27:10 2013 /sbin/ifconfig tun0 10.8.0.1 pointopoint 10.8.0.2 mtu 1500
Tue Aug 20 18:27:10 2013 /sbin/route add -net 10.8.0.0 netmask 255.255.255.0 gw 10.8.0.2
Tue Aug 20 18:27:10 2013 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Aug 20 18:27:10 2013 Listening for incoming TCP connection on [undef]
Tue Aug 20 18:27:10 2013 TCPv4_SERVER link local (bound): [undef]
Tue Aug 20 18:27:10 2013 TCPv4_SERVER link remote: [undef]
Tue Aug 20 18:27:10 2013 MULTI: multi_init called, r=256 v=256
Tue Aug 20 18:27:10 2013 IFCONFIG POOL: base=10.8.0.4 size=62, ipv6=0
Tue Aug 20 18:27:10 2013 ifconfig_pool_read(), in='DW,10.8.0.4', TODO: IPv6
Tue Aug 20 18:27:10 2013 succeeded -> ifconfig_pool_set()
Tue Aug 20 18:27:10 2013 IFCONFIG POOL LIST
Tue Aug 20 18:27:10 2013 DW,10.8.0.4
Tue Aug 20 18:27:10 2013 MULTI: TCP INIT maxclients=1024 maxevents=1028
Tue Aug 20 18:27:10 2013 Initialization Sequence Completed
but video webtraffic doesn't passe through vpn
traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
1 192.168.0.254 (192.168.0.254) 2.415 ms 2.057 ms 0.947 ms
2 * strasbourg-6k-1-a5.routers.proxad.net (213.228.13.126) 24.764 ms 23.366 ms
3 strasbourg-crs16-1-be1004.intf.routers.proxad.net (212.27.50.105) 29.359 ms 31.143 ms 25.070 ms
4 th2-crs16-1-be1101.intf.routers.proxad.net (212.27.50.9) 35.691 ms 30.934 ms 32.011 ms
5 cbv-9k-1-be1002.intf.routers.proxad.net (212.27.59.9) 33.108 ms 31.309 ms 32.289 ms
6 google-pni-3.routers.proxad.net (212.27.40.102) 123.805 ms
74.125.50.116 (74.125.50.116) 121.591 ms
72.14.216.98 (72.14.216.98) 105.535 ms
7 72.14.238.234 (72.14.238.234) 34.390 ms
72.14.238.228 (72.14.238.228) 48.088 ms
72.14.238.234 (72.14.238.234) 30.212 ms
8 72.14.235.175 (72.14.235.175) 31.106 ms 35.434 ms
72.14.235.169 (72.14.235.169) 81.625 ms
9 216.239.43.233 (216.239.43.233) 41.080 ms
209.85.253.20 (209.85.253.20) 35.530 ms
216.239.43.233 (216.239.43.233) 41.150 ms
10 72.14.238.215 (72.14.238.215) 38.936 ms
72.14.238.217 (72.14.238.217) 34.816 ms
72.14.236.191 (72.14.236.191) 34.663 ms
11 *^C
MBA-Daniel:~ dan$ traceroute kim.environ314.net
traceroute to XX.XXX.XXX.XXX (XX.XXX.XXX.XXX), 64 hops max, 52 byte packets
1 192.168.0.254 (192.168.0.254) 1.373 ms 12.369 ms 1.208 ms
2 strasbourg-6k-1-a5.routers.proxad.net (213.228.13.126) 23.824 ms 25.169 ms 23.714 ms
3 strasbourg-crs16-1-be1004.intf.routers.proxad.net (212.27.50.105) 32.126 ms 32.605 ms 65.905 ms
4 th2-crs16-1-be1101.intf.routers.proxad.net (212.27.50.9) 31.859 ms 31.050 ms 32.224 ms
5 * * *
6 gsw-g1-a9.fr.eu (91.121.128.164) 31.757 ms 31.550 ms 30.802 ms
7 gra-g1-a9.fr.eu (178.33.103.234) 35.692 ms 47.170 ms 35.218 ms
8 gra-3b-6k.fr.eu (178.33.103.228) 33.340 ms * *
9 XX.XXX.XXX.XXX (XX.XXX.XXX.XXX) 38.782 ms 36.028 ms 35.504 ms
traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
1 10.8.0.1 (10.8.0.1) 93.497 ms 81.475 ms 86.465 ms
2 37.187.18.253 (37.187.18.253) 76.576 ms * 36.212 ms
3 gra-g1-a9.fr.eu (178.33.103.225) 38.585 ms 39.251 ms 37.734 ms
4 gsw-g1-a9.fr.eu (178.33.103.235) 45.353 ms 47.530 ms 41.459 ms
5 * * th2-1-6k.fr.eu (91.121.128.165) 53.728 ms
6 google.as15169.fr.eu (91.121.131.2) 42.293 ms 41.102 ms 41.832 ms
7 72.14.238.228 (72.14.238.228) 52.127 ms 65.312 ms
72.14.238.234 (72.14.238.234) 43.392 ms
8 72.14.235.169 (72.14.235.169) 47.376 ms 41.614 ms
72.14.235.173 (72.14.235.173) 43.342 ms
9 209.85.253.20 (209.85.253.20) 48.124 ms
216.239.43.233 (216.239.43.233) 55.022 ms 192.704 ms
10 72.14.236.191 (72.14.236.191) 55.000 ms
72.14.238.215 (72.14.238.215) 133.818 ms
72.14.238.43 (72.14.238.43) 74.427 ms
11 * * *
12 google-public-dns-a.google.com (8.8.8.8) 67.223 ms 46.384 ms 52.890 ms

danF
OpenVpn Newbie
Posts: 9
Joined: Fri Aug 16, 2013 7:41 pm

Re: installation OK (?), but internet traffic go out of vpn

Post by danF » Tue Aug 20, 2013 4:51 pm

danF wrote:I killed the process of vpn running. So I got :
sudo openvpn server.conf
Tue Aug 20 18:27:10 2013 OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Feb 13 2013
Tue Aug 20 18:27:10 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Aug 20 18:27:10 2013 Diffie-Hellman initialized with 1024 bit key
Tue Aug 20 18:27:10 2013 TLS-Auth MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Tue Aug 20 18:27:10 2013 Socket Buffers: R=[87380->131072] S=[16384->131072]
Tue Aug 20 18:27:10 2013 ROUTE default_gateway=37.187.18.254
Tue Aug 20 18:27:10 2013 TUN/TAP device tun0 opened
Tue Aug 20 18:27:10 2013 TUN/TAP TX queue length set to 100
Tue Aug 20 18:27:10 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Aug 20 18:27:10 2013 /sbin/ifconfig tun0 10.8.0.1 pointopoint 10.8.0.2 mtu 1500
Tue Aug 20 18:27:10 2013 /sbin/route add -net 10.8.0.0 netmask 255.255.255.0 gw 10.8.0.2
Tue Aug 20 18:27:10 2013 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Aug 20 18:27:10 2013 Listening for incoming TCP connection on [undef]
Tue Aug 20 18:27:10 2013 TCPv4_SERVER link local (bound): [undef]
Tue Aug 20 18:27:10 2013 TCPv4_SERVER link remote: [undef]
Tue Aug 20 18:27:10 2013 MULTI: multi_init called, r=256 v=256
Tue Aug 20 18:27:10 2013 IFCONFIG POOL: base=10.8.0.4 size=62, ipv6=0
Tue Aug 20 18:27:10 2013 ifconfig_pool_read(), in='DW,10.8.0.4', TODO: IPv6
Tue Aug 20 18:27:10 2013 succeeded -> ifconfig_pool_set()
Tue Aug 20 18:27:10 2013 IFCONFIG POOL LIST
Tue Aug 20 18:27:10 2013 DW,10.8.0.4
Tue Aug 20 18:27:10 2013 MULTI: TCP INIT maxclients=1024 maxevents=1028
Tue Aug 20 18:27:10 2013 Initialization Sequence Completed
but video webtraffic doesn't passe through vpn
traceroute XX.XXX.XXX.XXX
traceroute to XX.XXX.XXX.XXX (XX.XXX.XXX.XXX), 64 hops max, 52 byte packets
1 192.168.0.254 (192.168.0.254) 1.373 ms 12.369 ms 1.208 ms
2 strasbourg-6k-1-a5.routers.proxad.net (213.228.13.126) 23.824 ms 25.169 ms 23.714 ms
3 strasbourg-crs16-1-be1004.intf.routers.proxad.net (212.27.50.105) 32.126 ms 32.605 ms 65.905 ms
4 th2-crs16-1-be1101.intf.routers.proxad.net (212.27.50.9) 31.859 ms 31.050 ms 32.224 ms
5 * * *
6 gsw-g1-a9.fr.eu (91.121.128.164) 31.757 ms 31.550 ms 30.802 ms
7 gra-g1-a9.fr.eu (178.33.103.234) 35.692 ms 47.170 ms 35.218 ms
8 gra-3b-6k.fr.eu (178.33.103.228) 33.340 ms * *
9 XX.XXX.XXX.XXX (XX.XXX.XXX.XXX) 38.782 ms 36.028 ms 35.504 ms
traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
1 10.8.0.1 (10.8.0.1) 93.497 ms 81.475 ms 86.465 ms
2 37.187.18.253 (37.187.18.253) 76.576 ms * 36.212 ms
3 gra-g1-a9.fr.eu (178.33.103.225) 38.585 ms 39.251 ms 37.734 ms
4 gsw-g1-a9.fr.eu (178.33.103.235) 45.353 ms 47.530 ms 41.459 ms
5 * * th2-1-6k.fr.eu (91.121.128.165) 53.728 ms
6 google.as15169.fr.eu (91.121.131.2) 42.293 ms 41.102 ms 41.832 ms
7 72.14.238.228 (72.14.238.228) 52.127 ms 65.312 ms
72.14.238.234 (72.14.238.234) 43.392 ms
8 72.14.235.169 (72.14.235.169) 47.376 ms 41.614 ms
72.14.235.173 (72.14.235.173) 43.342 ms
9 209.85.253.20 (209.85.253.20) 48.124 ms
216.239.43.233 (216.239.43.233) 55.022 ms 192.704 ms
10 72.14.236.191 (72.14.236.191) 55.000 ms
72.14.238.215 (72.14.238.215) 133.818 ms
72.14.238.43 (72.14.238.43) 74.427 ms
11 * * *
12 google-public-dns-a.google.com (8.8.8.8) 67.223 ms 46.384 ms 52.890 ms

Post Reply