Hi guys i am using linux mint and i have a problem when i try to connect openvpn to Finshvpn servers (in windows it works without a problem !)
other openvpn config files (like vpngate ... ) work and i could connect to the internet but in Finshvpn config files the connection established but there are no internet.
the log whene i connect to to Finshvpn Servers :
$ sudo openvpn --config FinchVPN_EU_Germany_01_udp_1194_linux.ovpn Sat Jan 17 23:17:34 2015 OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Dec 1 2014 Sat Jan 17 23:17:34 2015 WARNING: file 'account.key' is group or others accessible Sat Jan 17 23:17:34 2015 Initializing OpenSSL support for engine 'dynamic' Sat Jan 17 23:17:34 2015 Control Channel Authentication: tls-auth using INLINE static key file Sat Jan 17 23:17:34 2015 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication Sat Jan 17 23:17:34 2015 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication Sat Jan 17 23:17:34 2015 Socket Buffers: R=[212992->131072] S=[212992->131072] Sat Jan 17 23:17:34 2015 UDPv4 link local (bound): [undef] Sat Jan 17 23:17:34 2015 UDPv4 link remote: [AF_INET]5.231.72.162:1194 Sat Jan 17 23:17:35 2015 TLS: Initial packet from [AF_INET]5.231.72.162:1194, sid=a8e5cfdb 4174d248 Sat Jan 17 23:17:35 2015 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this Sat Jan 17 23:17:35 2015 VERIFY OK: depth=1, C=A1, ST=Anonymous, L=Anonymous, O=FinchVPN, OU=FinchVPN, CN=FinchVPN, name=FinchVPN, emailAddress=
admin@finchvpn.com Sat Jan 17 23:17:35 2015 VERIFY OK: nsCertType=SERVER Sat Jan 17 23:17:35 2015 VERIFY OK: depth=0, C=A1, ST=Anonymous, L=Anonymous, O=FinchVPN, OU=FinchVPN, CN=server, name=FinchVPN, emailAddress=
admin@finchvpn.com Sat Jan 17 23:17:39 2015 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key Sat Jan 17 23:17:39 2015 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication Sat Jan 17 23:17:39 2015 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key Sat Jan 17 23:17:39 2015 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication Sat Jan 17 23:17:39 2015 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA Sat Jan 17 23:17:39 2015 [server] Peer Connection Initiated with [AF_INET]5.231.72.162:1194 Sat Jan 17 23:17:43 2015 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1) Sat Jan 17 23:17:43 2015 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 107.191.118.17,dhcp-option DNS 8.8.8.8,route-method adaptive,route-delay 1,route-metric 1,route 25.52.88.1,topology net30,ping 10,ping-restart 60,ifconfig 25.52.88.10 25.52.88.9' Sat Jan 17 23:17:43 2015 OPTIONS IMPORT: timers and/or timeouts modified Sat Jan 17 23:17:43 2015 OPTIONS IMPORT: --ifconfig/up options modified Sat Jan 17 23:17:43 2015 OPTIONS IMPORT: route options modified Sat Jan 17 23:17:43 2015 OPTIONS IMPORT: route-related options modified Sat Jan 17 23:17:43 2015 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified Sat Jan 17 23:17:43 2015 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=wlan0 HWADDR=74:e5:43:e3:16:0d Sat Jan 17 23:17:43 2015 TUN/TAP device tun0 opened Sat Jan 17 23:17:43 2015 TUN/TAP TX queue length set to 100 Sat Jan 17 23:17:43 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0 Sat Jan 17 23:17:43 2015 /sbin/ip link set dev tun0 up mtu 1500 Sat Jan 17 23:17:43 2015 /sbin/ip addr add dev tun0 local 25.52.88.10 peer 25.52.88.9 Sat Jan 17 23:17:44 2015 /sbin/ip route add 5.231.72.162/32 via 192.168.1.1 Sat Jan 17 23:17:44 2015 /sbin/ip route add 0.0.0.0/1 via 25.52.88.9 Sat Jan 17 23:17:44 2015 /sbin/ip route add 128.0.0.0/1 via 25.52.88.9 Sat Jan 17 23:17:44 2015 /sbin/ip route add 25.52.88.1/32 via 25.52.88.9 metric 1 Sat Jan 17 23:17:44 2015 Initialization Sequence Completed
i could ping 8.8.8.8 but when i try to ping google.com it says unknown host !
i found this solution here :
https://wiki.archlinux.org/index.php/OpenVPN#DNS i installed openresolv ...
but in update-resolv-conf.sh file line 21 i don't have this file in my computer /usr/bin/resolvconf so whene i try to connect it tell me
Sat Jan 17 23:39:54 2015 /etc/openvpn/update-resolv-conf.sh tun0 1500 1542 25.52.88.10 25.52.88.9 init /etc/openvpn/update-resolv-conf.sh: line 21: /usr/bin/resolvconf: No such file or directory dhcp-option DNS 107.191.118.17 dhcp-option DNS 8.8.8.8 /etc/openvpn/update-resolv-conf.sh: line 56: -a: command not found Sat Jan 17 23:39:54 2015 WARNING: Failed running command (--up/--down): could not execute external program Sat Jan 17 23:39:54 2015 Exiting due to fatal error
i tried to locate other resolv.conf files i have in my computer like /etc/resolv.conf or /var/run/dnsmasq/resolv.conf but i get Permission denied dhcp-option DNS
/etc/openvpn/update-resolv-conf.sh: line 21: /var/run/dnsmasq/resolv.conf: Permission denied dhcp-option DNS 107.191.118.17 dhcp-option DNS 8.8.8.8 /etc/openvpn/update-resolv-conf.sh: line 56: -a: command not found Sat Jan 17 23:38:34 2015 WARNING: Failed running command (--up/--down): could not execute external program Sat Jan 17 23:38:34 2015 Exiting due to fatal error
any help please i spend the whole day looking for a solution but i can't find anything that could help.