You are not logged in.
Pages: 1
Hello everyone im new here! I bought vpn server from digitalocean and installed openvpn on it. I created .ovpn files. I can connect to the internet using VPN on my phone and windows. But i cant connect on Arch. Here is my log;
sudo openvpn bilal-linux.ovpn
Mon Dec 26 11:22:21 2016 Unrecognized option or missing parameter(s) in bilal-linux.ovpn:14: block-outside-dns (2.3.14)
Mon Dec 26 11:22:21 2016 OpenVPN 2.3.14 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Dec 7 2016
Mon Dec 26 11:22:21 2016 library versions: OpenSSL 1.0.2j 26 Sep 2016, LZO 2.09
Mon Dec 26 11:22:21 2016 Control Channel Authentication: tls-auth using INLINE static key file
Mon Dec 26 11:22:21 2016 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Dec 26 11:22:21 2016 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Dec 26 11:22:21 2016 Socket Buffers: R=[212992->212992] S=[212992->212992]
Mon Dec 26 11:22:21 2016 UDPv4 link local: [undef]
Mon Dec 26 11:22:21 2016 UDPv4 link remote: [AF_INET]46.101.111.91:443
Mon Dec 26 11:22:21 2016 TLS: Initial packet from [AF_INET]46.101.111.91:443, sid=ff58e752 540dafd3
Mon Dec 26 11:22:21 2016 VERIFY OK: depth=1, CN=ChangeMe
Mon Dec 26 11:22:21 2016 Validating certificate key usage
Mon Dec 26 11:22:21 2016 ++ Certificate has key usage 00a0, expects 00a0
Mon Dec 26 11:22:21 2016 VERIFY KU OK
Mon Dec 26 11:22:21 2016 Validating certificate extended key usage
Mon Dec 26 11:22:21 2016 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Mon Dec 26 11:22:21 2016 VERIFY EKU OK
Mon Dec 26 11:22:21 2016 VERIFY OK: depth=0, CN=server
Mon Dec 26 11:22:21 2016 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Mon Dec 26 11:22:21 2016 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Dec 26 11:22:21 2016 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Mon Dec 26 11:22:21 2016 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Dec 26 11:22:21 2016 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Mon Dec 26 11:22:21 2016 [server] Peer Connection Initiated with [AF_INET]46.101.111.91:443
Mon Dec 26 11:22:23 2016 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Mon Dec 26 11:22:23 2016 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route-gateway 10.8.0.1,topology subnet,ping 10,ping-restart 120,ifconfig 10.8.0.7 255.255.255.0'
Mon Dec 26 11:22:23 2016 OPTIONS IMPORT: timers and/or timeouts modified
Mon Dec 26 11:22:23 2016 OPTIONS IMPORT: --ifconfig/up options modified
Mon Dec 26 11:22:23 2016 OPTIONS IMPORT: route options modified
Mon Dec 26 11:22:23 2016 OPTIONS IMPORT: route-related options modified
Mon Dec 26 11:22:23 2016 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Mon Dec 26 11:22:23 2016 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=wlp3s0 HWADDR=80:a5:89:35:be:11
Mon Dec 26 11:22:23 2016 TUN/TAP device tun1 opened
Mon Dec 26 11:22:23 2016 TUN/TAP TX queue length set to 100
Mon Dec 26 11:22:23 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Mon Dec 26 11:22:23 2016 /usr/bin/ip link set dev tun1 up mtu 1500
Mon Dec 26 11:22:23 2016 /usr/bin/ip addr add dev tun1 10.8.0.7/24 broadcast 10.8.0.255
Mon Dec 26 11:22:23 2016 /usr/bin/ip route add 46.101.111.91/32 via 192.168.1.1
Mon Dec 26 11:22:23 2016 /usr/bin/ip route add 0.0.0.0/1 via 10.8.0.1
Mon Dec 26 11:22:23 2016 /usr/bin/ip route add 128.0.0.0/1 via 10.8.0.1
Mon Dec 26 11:22:23 2016 Initialization Sequence Completed
^CMon Dec 26 11:22:42 2016 event_wait : Interrupted system call (code=4)
Mon Dec 26 11:22:42 2016 /usr/bin/ip route del 46.101.111.91/32
Mon Dec 26 11:22:42 2016 /usr/bin/ip route del 0.0.0.0/1
Mon Dec 26 11:22:42 2016 /usr/bin/ip route del 128.0.0.0/1
Mon Dec 26 11:22:42 2016 Closing TUN/TAP interface
Mon Dec 26 11:22:42 2016 /usr/bin/ip addr del dev tun1 10.8.0.7/24
Mon Dec 26 11:22:42 2016 SIGINT[hard,] received, process exitingOffline
It seems to connect fine.
^CMon Dec 26 11:22:42 2016 event_wait : Interrupted system call (code=4)
I see that you manually interrupted the client process, so naturally the client quit.
Offline
I cannot connect internet while using VPN. So i cut the connection.
Offline
Should i reinstall the arch?
Offline
Why would you reinstall Arch. It's some problem in your configuration or firewall rules. Which tutorial did you use to configure OpenVPN?
Take a look here: https://wiki.archlinux.org/index.php/OpenVPN
Offline
I used ArchWiki tutorial to configure.
Offline
In that case, post all your configs. OpenVPN server, client, iptables rules and whether you have enabled packet forwarding or not.
Offline
Which configs should i post?
Offline
Which configs should i post?
In that case, post all your configs. OpenVPN server, client, iptables rules and whether you have enabled packet forwarding or not.
Offline
Pages: 1