ProtonVPN / protonvpn-cli

Legacy protonvpn-cli: ProtonVPN Command-Line Tool for Linux and macOS. This has been superseded by https://github.com/ProtonVPN/protonvpn-cli-ng
Other
607 stars 98 forks source link

Error Connecting to VPN #129

Closed 6lackHeart closed 5 years ago

6lackHeart commented 5 years ago

I'm using the free trial of protonvpn, I have installed openresolv, and everything is up to date. Using Ubuntu 16, and on a wireless connection. I followed the setup guide on proton's website, and everything functions, but I cannot connect to the VPN sadly. This is the error I get:

~$ sudo PROTONVPN_CLI_LOG=true ./protonvpn-cli.sh -f Fetching ProtonVPN servers... [] CLI logging mode enabled. [] Logs path: /home/b/.protonvpn-cli/connection_logs Connecting... [!] Error connecting to VPN.

Here is my log file:

Mon Sep 3 11:45:30 2018 us=513380 Current Parameter Settings: Mon Sep 3 11:45:30 2018 us=513421 config = '/home/b/.protonvpn-cli/protonvpn_openvpn_config.conf' Mon Sep 3 11:45:30 2018 us=513431 mode = 0 Mon Sep 3 11:45:30 2018 us=513437 persist_config = DISABLED Mon Sep 3 11:45:30 2018 us=513444 persist_mode = 1 Mon Sep 3 11:45:30 2018 us=513450 show_ciphers = DISABLED Mon Sep 3 11:45:30 2018 us=513456 show_digests = DISABLED Mon Sep 3 11:45:30 2018 us=513462 show_engines = DISABLED Mon Sep 3 11:45:30 2018 us=513467 genkey = DISABLED Mon Sep 3 11:45:30 2018 us=513473 key_pass_file = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513479 show_tls_ciphers = DISABLED Mon Sep 3 11:45:30 2018 us=513485 Connection profiles [default]: Mon Sep 3 11:45:30 2018 us=513491 proto = udp Mon Sep 3 11:45:30 2018 us=513497 local = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513503 local_port = 0 Mon Sep 3 11:45:30 2018 us=513509 remote = 'us-free-01.protonvpn.com' Mon Sep 3 11:45:30 2018 us=513514 remote_port = 1194 Mon Sep 3 11:45:30 2018 us=513520 remote_float = DISABLED Mon Sep 3 11:45:30 2018 us=513526 bind_defined = DISABLED Mon Sep 3 11:45:30 2018 us=513532 bind_local = DISABLED Mon Sep 3 11:45:30 2018 us=513537 connect_retry_seconds = 5 Mon Sep 3 11:45:30 2018 us=513543 connect_timeout = 10 Mon Sep 3 11:45:30 2018 us=513549 connect_retry_max = 0 Mon Sep 3 11:45:30 2018 us=513555 socks_proxy_server = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513561 socks_proxy_port = 0 Mon Sep 3 11:45:30 2018 us=513567 socks_proxy_retry = DISABLED Mon Sep 3 11:45:30 2018 us=513572 tun_mtu = 1500 Mon Sep 3 11:45:30 2018 us=513578 tun_mtu_defined = ENABLED Mon Sep 3 11:45:30 2018 us=513584 link_mtu = 1500 Mon Sep 3 11:45:30 2018 us=513590 link_mtu_defined = DISABLED Mon Sep 3 11:45:30 2018 us=513595 tun_mtu_extra = 32 Mon Sep 3 11:45:30 2018 us=513601 tun_mtu_extra_defined = ENABLED Mon Sep 3 11:45:30 2018 us=513607 mtu_discover_type = -1 Mon Sep 3 11:45:30 2018 us=513613 fragment = 0 Mon Sep 3 11:45:30 2018 us=513618 mssfix = 1450 Mon Sep 3 11:45:30 2018 us=513624 explicit_exit_notification = 0 Mon Sep 3 11:45:30 2018 us=513630 Connection profiles END Mon Sep 3 11:45:30 2018 us=513636 remote_random = ENABLED Mon Sep 3 11:45:30 2018 us=513642 ipchange = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513648 dev = 'tun' Mon Sep 3 11:45:30 2018 us=513654 dev_type = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513660 dev_node = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513665 lladdr = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513671 topology = 1 Mon Sep 3 11:45:30 2018 us=513677 tun_ipv6 = DISABLED Mon Sep 3 11:45:30 2018 us=513683 ifconfig_local = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513689 ifconfig_remote_netmask = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513694 ifconfig_noexec = DISABLED Mon Sep 3 11:45:30 2018 us=513700 ifconfig_nowarn = DISABLED Mon Sep 3 11:45:30 2018 us=513705 ifconfig_ipv6_local = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513711 ifconfig_ipv6_netbits = 0 Mon Sep 3 11:45:30 2018 us=513717 ifconfig_ipv6_remote = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513723 shaper = 0 Mon Sep 3 11:45:30 2018 us=513729 mtu_test = 0 Mon Sep 3 11:45:30 2018 us=513734 mlock = DISABLED Mon Sep 3 11:45:30 2018 us=513740 keepalive_ping = 0 Mon Sep 3 11:45:30 2018 us=513746 keepalive_timeout = 0 Mon Sep 3 11:45:30 2018 us=513752 inactivity_timeout = 0 Mon Sep 3 11:45:30 2018 us=513758 ping_send_timeout = 0 Mon Sep 3 11:45:30 2018 us=513763 ping_rec_timeout = 0 Mon Sep 3 11:45:30 2018 us=513769 ping_rec_timeout_action = 0 Mon Sep 3 11:45:30 2018 us=513775 ping_timer_remote = DISABLED Mon Sep 3 11:45:30 2018 us=513781 remap_sigusr1 = 0 Mon Sep 3 11:45:30 2018 us=513786 persist_tun = ENABLED Mon Sep 3 11:45:30 2018 us=513792 persist_local_ip = DISABLED Mon Sep 3 11:45:30 2018 us=513798 persist_remote_ip = DISABLED Mon Sep 3 11:45:30 2018 us=513803 persist_key = ENABLED Mon Sep 3 11:45:30 2018 us=513809 passtos = DISABLED Mon Sep 3 11:45:30 2018 us=513815 resolve_retry_seconds = 1000000000 Mon Sep 3 11:45:30 2018 us=513827 username = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513833 groupname = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513839 chroot_dir = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513844 cd_dir = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513850 writepid = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513856 up_script = '/etc/openvpn/update-resolv-conf' Mon Sep 3 11:45:30 2018 us=513862 down_script = '/etc/openvpn/update-resolv-conf' Mon Sep 3 11:45:30 2018 us=513867 down_pre = DISABLED Mon Sep 3 11:45:30 2018 us=513873 up_restart = DISABLED Mon Sep 3 11:45:30 2018 us=513879 up_delay = DISABLED Mon Sep 3 11:45:30 2018 us=513885 daemon = ENABLED Mon Sep 3 11:45:30 2018 us=513890 inetd = 0 Mon Sep 3 11:45:30 2018 us=513896 log = ENABLED Mon Sep 3 11:45:30 2018 us=513902 suppress_timestamps = DISABLED Mon Sep 3 11:45:30 2018 us=513908 nice = 0 Mon Sep 3 11:45:30 2018 us=513913 verbosity = 4 Mon Sep 3 11:45:30 2018 us=513919 mute = 0 Mon Sep 3 11:45:30 2018 us=513925 gremlin = 0 Mon Sep 3 11:45:30 2018 us=513931 status_file = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513937 status_file_version = 1 Mon Sep 3 11:45:30 2018 us=513942 status_file_update_freq = 60 Mon Sep 3 11:45:30 2018 us=513948 occ = ENABLED Mon Sep 3 11:45:30 2018 us=513954 rcvbuf = 0 Mon Sep 3 11:45:30 2018 us=513959 sndbuf = 0 Mon Sep 3 11:45:30 2018 us=513965 mark = 0 Mon Sep 3 11:45:30 2018 us=513971 sockflags = 0 Mon Sep 3 11:45:30 2018 us=513976 fast_io = ENABLED Mon Sep 3 11:45:30 2018 us=513982 lzo = 1 Mon Sep 3 11:45:30 2018 us=513988 route_script = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=513994 route_default_gateway = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514000 route_default_metric = 0 Mon Sep 3 11:45:30 2018 us=514006 route_noexec = DISABLED Mon Sep 3 11:45:30 2018 us=514011 route_delay = 0 Mon Sep 3 11:45:30 2018 us=514017 route_delay_window = 30 Mon Sep 3 11:45:30 2018 us=514023 route_delay_defined = DISABLED Mon Sep 3 11:45:30 2018 us=514029 route_nopull = DISABLED Mon Sep 3 11:45:30 2018 us=514035 route_gateway_via_dhcp = DISABLED Mon Sep 3 11:45:30 2018 us=514041 max_routes = 100 Mon Sep 3 11:45:30 2018 us=514047 allow_pull_fqdn = DISABLED Mon Sep 3 11:45:30 2018 us=514053 management_addr = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514058 management_port = 0 Mon Sep 3 11:45:30 2018 us=514064 management_user_pass = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514070 management_log_history_cache = 250 Mon Sep 3 11:45:30 2018 us=514076 management_echo_buffer_size = 100 Mon Sep 3 11:45:30 2018 us=514082 management_write_peer_info_file = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514088 management_client_user = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514093 management_client_group = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514099 management_flags = 0 Mon Sep 3 11:45:30 2018 us=514105 shared_secret_file = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514111 key_direction = 2 Mon Sep 3 11:45:30 2018 us=514116 ciphername_defined = ENABLED Mon Sep 3 11:45:30 2018 us=514122 ciphername = 'AES-256-CBC' Mon Sep 3 11:45:30 2018 us=514128 authname_defined = ENABLED Mon Sep 3 11:45:30 2018 us=514134 authname = 'SHA512' Mon Sep 3 11:45:30 2018 us=514139 prng_hash = 'SHA1' Mon Sep 3 11:45:30 2018 us=514145 prng_nonce_secret_len = 16 Mon Sep 3 11:45:30 2018 us=514151 keysize = 0 Mon Sep 3 11:45:30 2018 us=514157 engine = DISABLED Mon Sep 3 11:45:30 2018 us=514163 replay = ENABLED Mon Sep 3 11:45:30 2018 us=514169 mute_replay_warnings = DISABLED Mon Sep 3 11:45:30 2018 us=514174 replay_window = 64 Mon Sep 3 11:45:30 2018 us=514180 replay_time = 15 Mon Sep 3 11:45:30 2018 us=514186 packet_id_file = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514192 use_iv = ENABLED Mon Sep 3 11:45:30 2018 us=514198 test_crypto = DISABLED Mon Sep 3 11:45:30 2018 us=514204 tls_server = DISABLED Mon Sep 3 11:45:30 2018 us=514209 tls_client = ENABLED Mon Sep 3 11:45:30 2018 us=514215 key_method = 2 Mon Sep 3 11:45:30 2018 us=514224 ca_file = '[[INLINE]]' Mon Sep 3 11:45:30 2018 us=514230 ca_path = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514235 dh_file = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514241 cert_file = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514247 extra_certs_file = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514253 priv_key_file = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514259 pkcs12_file = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514264 cipher_list = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514270 tls_verify = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514276 tls_export_cert = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514282 verify_x509_type = 0 Mon Sep 3 11:45:30 2018 us=514288 verify_x509_name = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514293 crl_file = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514299 ns_cert_type = 0 Mon Sep 3 11:45:30 2018 us=514305 remote_cert_ku[i] = 160 Mon Sep 3 11:45:30 2018 us=514311 remote_cert_ku[i] = 136 Mon Sep 3 11:45:30 2018 us=514317 remote_cert_ku[i] = 0 Mon Sep 3 11:45:30 2018 us=514322 remote_cert_ku[i] = 0 Mon Sep 3 11:45:30 2018 us=514328 remote_cert_ku[i] = 0 Mon Sep 3 11:45:30 2018 us=514334 remote_cert_ku[i] = 0 Mon Sep 3 11:45:30 2018 us=514339 remote_cert_ku[i] = 0 Mon Sep 3 11:45:30 2018 us=514345 remote_cert_ku[i] = 0 Mon Sep 3 11:45:30 2018 us=514350 remote_cert_ku[i] = 0 Mon Sep 3 11:45:30 2018 us=514356 remote_cert_ku[i] = 0 Mon Sep 3 11:45:30 2018 us=514362 remote_cert_ku[i] = 0 Mon Sep 3 11:45:30 2018 us=514367 remote_cert_ku[i] = 0 Mon Sep 3 11:45:30 2018 us=514373 remote_cert_ku[i] = 0 Mon Sep 3 11:45:30 2018 us=514379 remote_cert_ku[i] = 0 Mon Sep 3 11:45:30 2018 us=514384 remote_cert_ku[i] = 0 Mon Sep 3 11:45:30 2018 us=514390 remote_cert_ku[i] = 0 Mon Sep 3 11:45:30 2018 us=514396 remote_cert_eku = 'TLS Web Server Authentication' Mon Sep 3 11:45:30 2018 us=514401 ssl_flags = 0 Mon Sep 3 11:45:30 2018 us=514407 tls_timeout = 2 Mon Sep 3 11:45:30 2018 us=514413 renegotiate_bytes = 0 Mon Sep 3 11:45:30 2018 us=514419 renegotiate_packets = 0 Mon Sep 3 11:45:30 2018 us=514424 renegotiate_seconds = 0 Mon Sep 3 11:45:30 2018 us=514430 handshake_window = 60 Mon Sep 3 11:45:30 2018 us=514436 transition_window = 3600 Mon Sep 3 11:45:30 2018 us=514442 single_session = DISABLED Mon Sep 3 11:45:30 2018 us=514448 push_peer_info = DISABLED Mon Sep 3 11:45:30 2018 us=514453 tls_exit = DISABLED Mon Sep 3 11:45:30 2018 us=514459 tls_auth_file = '[[INLINE]]' Mon Sep 3 11:45:30 2018 us=514465 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514471 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514477 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514482 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514488 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514494 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514501 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514508 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514513 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514519 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514524 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514530 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514536 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514541 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514547 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514552 pkcs11_protected_authentication = DISABLED Mon Sep 3 11:45:30 2018 us=514559 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514564 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514570 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514575 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514585 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514591 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514596 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514602 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514607 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514613 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514619 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514624 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514630 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514635 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514641 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514646 pkcs11_private_mode = 00000000 Mon Sep 3 11:45:30 2018 us=514652 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514657 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514663 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514669 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514674 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514680 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514685 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514691 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514696 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514702 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514707 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514713 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514719 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514724 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514730 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514735 pkcs11_cert_private = DISABLED Mon Sep 3 11:45:30 2018 us=514741 pkcs11_pin_cache_period = -1 Mon Sep 3 11:45:30 2018 us=514747 pkcs11_id = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514753 pkcs11_id_management = DISABLED Mon Sep 3 11:45:30 2018 us=514760 server_network = 0.0.0.0 Mon Sep 3 11:45:30 2018 us=514766 server_netmask = 0.0.0.0 Mon Sep 3 11:45:30 2018 us=514776 server_network_ipv6 = :: Mon Sep 3 11:45:30 2018 us=514782 server_netbits_ipv6 = 0 Mon Sep 3 11:45:30 2018 us=514788 server_bridge_ip = 0.0.0.0 Mon Sep 3 11:45:30 2018 us=514795 server_bridge_netmask = 0.0.0.0 Mon Sep 3 11:45:30 2018 us=514801 server_bridge_pool_start = 0.0.0.0 Mon Sep 3 11:45:30 2018 us=514807 server_bridge_pool_end = 0.0.0.0 Mon Sep 3 11:45:30 2018 us=514813 ifconfig_pool_defined = DISABLED Mon Sep 3 11:45:30 2018 us=514819 ifconfig_pool_start = 0.0.0.0 Mon Sep 3 11:45:30 2018 us=514826 ifconfig_pool_end = 0.0.0.0 Mon Sep 3 11:45:30 2018 us=514832 ifconfig_pool_netmask = 0.0.0.0 Mon Sep 3 11:45:30 2018 us=514838 ifconfig_pool_persist_filename = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514844 ifconfig_pool_persist_refresh_freq = 600 Mon Sep 3 11:45:30 2018 us=514849 ifconfig_ipv6_pool_defined = DISABLED Mon Sep 3 11:45:30 2018 us=514855 ifconfig_ipv6_pool_base = :: Mon Sep 3 11:45:30 2018 us=514861 ifconfig_ipv6_pool_netbits = 0 Mon Sep 3 11:45:30 2018 us=514867 n_bcast_buf = 256 Mon Sep 3 11:45:30 2018 us=514873 tcp_queue_limit = 64 Mon Sep 3 11:45:30 2018 us=514878 real_hash_size = 256 Mon Sep 3 11:45:30 2018 us=514884 virtual_hash_size = 256 Mon Sep 3 11:45:30 2018 us=514890 client_connect_script = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514896 learn_address_script = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514902 client_disconnect_script = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514907 client_config_dir = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=514913 ccd_exclusive = DISABLED Mon Sep 3 11:45:30 2018 us=514919 tmp_dir = '/tmp' Mon Sep 3 11:45:30 2018 us=514925 push_ifconfig_defined = DISABLED Mon Sep 3 11:45:30 2018 us=514931 push_ifconfig_local = 0.0.0.0 Mon Sep 3 11:45:30 2018 us=514937 push_ifconfig_remote_netmask = 0.0.0.0 Mon Sep 3 11:45:30 2018 us=514946 push_ifconfig_ipv6_defined = DISABLED Mon Sep 3 11:45:30 2018 us=514952 push_ifconfig_ipv6_local = ::/0 Mon Sep 3 11:45:30 2018 us=514958 push_ifconfig_ipv6_remote = :: Mon Sep 3 11:45:30 2018 us=514964 enable_c2c = DISABLED Mon Sep 3 11:45:30 2018 us=514970 duplicate_cn = DISABLED Mon Sep 3 11:45:30 2018 us=514975 cf_max = 0 Mon Sep 3 11:45:30 2018 us=514981 cf_per = 0 Mon Sep 3 11:45:30 2018 us=514987 max_clients = 1024 Mon Sep 3 11:45:30 2018 us=514993 max_routes_per_client = 256 Mon Sep 3 11:45:30 2018 us=514999 auth_user_pass_verify_script = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=515005 auth_user_pass_verify_script_via_file = DISABLED Mon Sep 3 11:45:30 2018 us=515011 port_share_host = '[UNDEF]' Mon Sep 3 11:45:30 2018 us=515016 port_share_port = 0 Mon Sep 3 11:45:30 2018 us=515022 client = ENABLED Mon Sep 3 11:45:30 2018 us=515028 pull = ENABLED Mon Sep 3 11:45:30 2018 us=515034 auth_user_pass_file = '/home/b/.protonvpn-cli/protonvpn_openvpn_credentials' Mon Sep 3 11:45:30 2018 us=515041 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 22 2017 Mon Sep 3 11:45:30 2018 us=515051 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08 Mon Sep 3 11:45:30 2018 us=515410 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Mon Sep 3 11:45:30 2018 us=515718 Control Channel Authentication: tls-auth using INLINE static key file Mon Sep 3 11:45:30 2018 us=515740 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication Mon Sep 3 11:45:30 2018 us=515750 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication Mon Sep 3 11:45:30 2018 us=515768 LZO compression initialized Mon Sep 3 11:45:30 2018 us=515817 Control Channel MTU parms [ L:1634 D:1140 EF:110 EB:0 ET:0 EL:3 ] Mon Sep 3 11:45:30 2018 us=515841 Socket Buffers: R=[212992->212992] S=[212992->212992] Mon Sep 3 11:45:30 2018 us=580394 Data Channel MTU parms [ L:1634 D:1450 EF:102 EB:143 ET:32 EL:3 AF:3/1 ] Mon Sep 3 11:45:30 2018 us=580464 Local Options String: 'V4,dev-type tun,link-mtu 1634,tun-mtu 1532,proto UDPv4,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA512,keysize 256,tls-auth,key-method 2,tls-client' Mon Sep 3 11:45:30 2018 us=580480 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1634,tun-mtu 1532,proto UDPv4,comp-lzo,keydir 0,cipher AES-256-CBC,auth SHA512,keysize 256,tls-auth,key-method 2,tls-server' Mon Sep 3 11:45:30 2018 us=580507 Local Options hash (VER=V4): '6a152ec4' Mon Sep 3 11:45:30 2018 us=580527 Expected Remote Options hash (VER=V4): 'e1f65e10' Mon Sep 3 11:45:30 2018 us=580547 UDPv4 link local: [undef] Mon Sep 3 11:45:30 2018 us=580563 UDPv4 link remote: [AF_INET]204.188.215.220:1194 Mon Sep 3 11:45:30 2018 us=703495 TLS: Initial packet from [AF_INET]204.188.215.220:1194, sid=e964dcf2 06ee9311 Mon Sep 3 11:45:30 2018 us=703660 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this Mon Sep 3 11:45:30 2018 us=950898 VERIFY OK: depth=2, C=CH, O=ProtonVPN AG, CN=ProtonVPN Root CA Mon Sep 3 11:45:30 2018 us=951444 VERIFY OK: depth=1, C=CH, O=ProtonVPN AG, CN=ProtonVPN Intermediate CA 1 Mon Sep 3 11:45:30 2018 us=951918 Validating certificate key usage Mon Sep 3 11:45:30 2018 us=951940 ++ Certificate has key usage 00a0, expects 00a0 Mon Sep 3 11:45:30 2018 us=951952 VERIFY KU OK Mon Sep 3 11:45:30 2018 us=951967 Validating certificate extended key usage Mon Sep 3 11:45:30 2018 us=951980 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication Mon Sep 3 11:45:30 2018 us=951992 VERIFY EKU OK Mon Sep 3 11:45:30 2018 us=952003 VERIFY OK: depth=0, CN=us-il-102.protonvpn.com Mon Sep 3 11:45:31 2018 us=842208 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key Mon Sep 3 11:45:31 2018 us=842295 Data Channel Encrypt: Using 512 bit message hash 'SHA512' for HMAC authentication Mon Sep 3 11:45:31 2018 us=842342 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key Mon Sep 3 11:45:31 2018 us=842368 Data Channel Decrypt: Using 512 bit message hash 'SHA512' for HMAC authentication Mon Sep 3 11:45:31 2018 us=842466 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA Mon Sep 3 11:45:31 2018 us=842522 [us-il-102.protonvpn.com] Peer Connection Initiated with [AF_INET]204.188.215.220:1194 Mon Sep 3 11:45:34 2018 us=215190 SENT CONTROL [us-il-102.protonvpn.com]: 'PUSH_REQUEST' (status=1) Mon Sep 3 11:45:34 2018 us=340624 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.8.8.1,sndbuf 524288,rcvbuf 524288,explicit-exit-notify,comp-lzo no,route-gateway 10.8.8.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.8.8.48 255.255.255.0,peer-id 46' Mon Sep 3 11:45:34 2018 us=340861 OPTIONS IMPORT: timers and/or timeouts modified Mon Sep 3 11:45:34 2018 us=340895 OPTIONS IMPORT: explicit notify parm(s) modified Mon Sep 3 11:45:34 2018 us=340916 OPTIONS IMPORT: LZO parms modified Mon Sep 3 11:45:34 2018 us=340935 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified Mon Sep 3 11:45:34 2018 us=340969 Socket Buffers: R=[212992->425984] S=[212992->425984] Mon Sep 3 11:45:34 2018 us=340989 OPTIONS IMPORT: --ifconfig/up options modified Mon Sep 3 11:45:34 2018 us=341007 OPTIONS IMPORT: route options modified Mon Sep 3 11:45:34 2018 us=341023 OPTIONS IMPORT: route-related options modified Mon Sep 3 11:45:34 2018 us=341038 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified Mon Sep 3 11:45:34 2018 us=341054 OPTIONS IMPORT: peer-id set Mon Sep 3 11:45:34 2018 us=341071 OPTIONS IMPORT: adjusting link_mtu to 1637 Mon Sep 3 11:45:34 2018 us=341343 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=wlx9444528a5bd0 HWADDR=94:44:52:8a:5b:d0 Mon Sep 3 11:45:34 2018 us=341960 TUN/TAP device tun0 opened Mon Sep 3 11:45:34 2018 us=342115 TUN/TAP TX queue length set to 100 Mon Sep 3 11:45:34 2018 us=342178 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0 Mon Sep 3 11:45:34 2018 us=342225 /sbin/ip link set dev tun0 up mtu 1500 Mon Sep 3 11:45:34 2018 us=344672 /sbin/ip addr add dev tun0 10.8.8.48/24 broadcast 10.8.8.255 Mon Sep 3 11:45:34 2018 us=351383 /etc/openvpn/update-resolv-conf tun0 1500 1637 10.8.8.48 255.255.255.0 init dhcp-option DNS 10.8.8.1 Mon Sep 3 11:45:34 2018 us=356757 /sbin/ip route add 204.188.215.220/32 via 192.168.0.1 Mon Sep 3 11:45:34 2018 us=357317 /sbin/ip route add 0.0.0.0/1 via 10.8.8.1 Mon Sep 3 11:45:34 2018 us=357874 /sbin/ip route add 128.0.0.0/1 via 10.8.8.1 Mon Sep 3 11:45:34 2018 us=358361 Initialization Sequence Completed Mon Sep 3 11:46:42 2018 us=910741 event_wait : Interrupted system call (code=4) Mon Sep 3 11:46:42 2018 us=910772 SIGTERM received, sending exit notification to peer Mon Sep 3 11:46:43 2018 us=429996 event_wait : Interrupted system call (code=4) Mon Sep 3 11:46:43 2018 us=430151 TCP/UDP: Closing socket Mon Sep 3 11:46:43 2018 us=430180 /sbin/ip route del 204.188.215.220/32 Mon Sep 3 11:46:43 2018 us=430714 /sbin/ip route del 0.0.0.0/1 Mon Sep 3 11:46:43 2018 us=431251 /sbin/ip route del 128.0.0.0/1 Mon Sep 3 11:46:43 2018 us=431949 Closing TUN/TAP interface Mon Sep 3 11:46:43 2018 us=431972 /sbin/ip addr del dev tun0 10.8.8.48/24 Mon Sep 3 11:46:43 2018 us=460721 /etc/openvpn/update-resolv-conf tun0 1500 1637 10.8.8.48 255.255.255.0 init Failed to try-restart unbound.service: Unit unbound.service not found. Mon Sep 3 11:46:43 2018 us=488807 WARNING: Failed running command (--up/--down): external program exited with error status: 5 Mon Sep 3 11:46:43 2018 us=488840 Exiting due to fatal error

It keeps getting a fatal error, and I was wondering if anyone had any ideas as to why I can't connect to the VPN?

xilopaint commented 5 years ago

Can you try to reinitialise your profile with sudo pvpn --initand ensure you use the free tier plan? Your logs show an attempt to connect using the 10.8.8.1 DNS server which is for paid tiers. Free tier should use 10.8.0.1.

6lackHeart commented 5 years ago

I did using the sudo pvpn --init and it gave me a different error, but I've seen it before.

Connecting... [!] Error connecting to VPN. [!] This is an error in enabling IPv6 on the machine. Please enable it manually.

The logs say it's still trying to connect to 10.8.8.1 and I know I chose 1 (free) this time. I was looking at the openvpn manual setup and it asks for network_manager_openvpn_genome package. The guide on ProtonVPN didn't call for that particular package. Should I install it? Just seems like I'm missing something.

xilopaint commented 5 years ago

Please, notice you used sudo PROTONVPN_CLI_LOG=true ./protonvpn-cli.sh -f to generate the logs instead of sudo PROTONVPN_CLI_LOG=true protonvpn-cli -f. When you do that you're not running the CLI binary from your $PATH, but from the copy of the repo that you have somewhere in your machine. So if you update the CLI with sudo pvpn --update both versions will differ and the logs generated with ./protovon-cli.sh might not reflect the current state of the updated version.

That said, If you already installed the CLI by running sudo ./protonvpn-cli --install, make sure you have its latest version by running sudo pvpn --update. After that, initialise your profile with sudo pvpn --init and generate the logs with sudo PROTONVPN_CLI_LOG=true protonvpn-cli -f.

Again, DO NOT use ./protonvpn-cli to generate the logs or make your tests. It should be used only on the installation process.

6lackHeart commented 5 years ago

sudo PROTONVPN_CLI_LOG=true protonvpn-cli -f Fetching ProtonVPN servers... [] CLI logging mode enabled. [] Logs path: /home/b/.protonvpn-cli/connection_logs Connecting... [!] Error connecting to VPN. sudo gedit /home/b/.protonvpn-cli/connection_logs

Mon Sep 3 13:09:13 2018 us=42859 Current Parameter Settings: Mon Sep 3 13:09:13 2018 us=42935 config = '/home/b/.protonvpn-cli/protonvpn_openvpn_config.conf' Mon Sep 3 13:09:13 2018 us=42955 mode = 0 Mon Sep 3 13:09:13 2018 us=42967 persist_config = DISABLED Mon Sep 3 13:09:13 2018 us=42979 persist_mode = 1 Mon Sep 3 13:09:13 2018 us=42991 show_ciphers = DISABLED Mon Sep 3 13:09:13 2018 us=43002 show_digests = DISABLED Mon Sep 3 13:09:13 2018 us=43013 show_engines = DISABLED Mon Sep 3 13:09:13 2018 us=43024 genkey = DISABLED Mon Sep 3 13:09:13 2018 us=43036 key_pass_file = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43047 show_tls_ciphers = DISABLED Mon Sep 3 13:09:13 2018 us=43058 Connection profiles [default]: Mon Sep 3 13:09:13 2018 us=43069 proto = udp Mon Sep 3 13:09:13 2018 us=43081 local = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43091 local_port = 0 Mon Sep 3 13:09:13 2018 us=43103 remote = 'us-free-02.protonvpn.com' Mon Sep 3 13:09:13 2018 us=43114 remote_port = 1194 Mon Sep 3 13:09:13 2018 us=43125 remote_float = DISABLED Mon Sep 3 13:09:13 2018 us=43136 bind_defined = DISABLED Mon Sep 3 13:09:13 2018 us=43146 bind_local = DISABLED Mon Sep 3 13:09:13 2018 us=43157 connect_retry_seconds = 5 Mon Sep 3 13:09:13 2018 us=43168 connect_timeout = 10 Mon Sep 3 13:09:13 2018 us=43179 connect_retry_max = 0 Mon Sep 3 13:09:13 2018 us=43191 socks_proxy_server = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43202 socks_proxy_port = 0 Mon Sep 3 13:09:13 2018 us=43213 socks_proxy_retry = DISABLED Mon Sep 3 13:09:13 2018 us=43224 tun_mtu = 1500 Mon Sep 3 13:09:13 2018 us=43235 tun_mtu_defined = ENABLED Mon Sep 3 13:09:13 2018 us=43246 link_mtu = 1500 Mon Sep 3 13:09:13 2018 us=43257 link_mtu_defined = DISABLED Mon Sep 3 13:09:13 2018 us=43268 tun_mtu_extra = 32 Mon Sep 3 13:09:13 2018 us=43279 tun_mtu_extra_defined = ENABLED Mon Sep 3 13:09:13 2018 us=43290 mtu_discover_type = -1 Mon Sep 3 13:09:13 2018 us=43301 fragment = 0 Mon Sep 3 13:09:13 2018 us=43312 mssfix = 1450 Mon Sep 3 13:09:13 2018 us=43323 explicit_exit_notification = 0 Mon Sep 3 13:09:13 2018 us=43334 Connection profiles END Mon Sep 3 13:09:13 2018 us=43346 remote_random = ENABLED Mon Sep 3 13:09:13 2018 us=43357 ipchange = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43369 dev = 'tun' Mon Sep 3 13:09:13 2018 us=43380 dev_type = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43391 dev_node = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43402 lladdr = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43413 topology = 1 Mon Sep 3 13:09:13 2018 us=43424 tun_ipv6 = DISABLED Mon Sep 3 13:09:13 2018 us=43435 ifconfig_local = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43446 ifconfig_remote_netmask = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43457 ifconfig_noexec = DISABLED Mon Sep 3 13:09:13 2018 us=43467 ifconfig_nowarn = DISABLED Mon Sep 3 13:09:13 2018 us=43478 ifconfig_ipv6_local = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43490 ifconfig_ipv6_netbits = 0 Mon Sep 3 13:09:13 2018 us=43501 ifconfig_ipv6_remote = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43512 shaper = 0 Mon Sep 3 13:09:13 2018 us=43523 mtu_test = 0 Mon Sep 3 13:09:13 2018 us=43534 mlock = DISABLED Mon Sep 3 13:09:13 2018 us=43545 keepalive_ping = 0 Mon Sep 3 13:09:13 2018 us=43556 keepalive_timeout = 0 Mon Sep 3 13:09:13 2018 us=43567 inactivity_timeout = 0 Mon Sep 3 13:09:13 2018 us=43578 ping_send_timeout = 0 Mon Sep 3 13:09:13 2018 us=43589 ping_rec_timeout = 0 Mon Sep 3 13:09:13 2018 us=43600 ping_rec_timeout_action = 0 Mon Sep 3 13:09:13 2018 us=43610 ping_timer_remote = DISABLED Mon Sep 3 13:09:13 2018 us=43621 remap_sigusr1 = 0 Mon Sep 3 13:09:13 2018 us=43632 persist_tun = ENABLED Mon Sep 3 13:09:13 2018 us=43643 persist_local_ip = DISABLED Mon Sep 3 13:09:13 2018 us=43654 persist_remote_ip = DISABLED Mon Sep 3 13:09:13 2018 us=43665 persist_key = ENABLED Mon Sep 3 13:09:13 2018 us=43675 passtos = DISABLED Mon Sep 3 13:09:13 2018 us=43687 resolve_retry_seconds = 1000000000 Mon Sep 3 13:09:13 2018 us=43698 username = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43719 groupname = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43730 chroot_dir = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43741 cd_dir = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43752 writepid = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43763 up_script = '/etc/openvpn/update-resolv-conf' Mon Sep 3 13:09:13 2018 us=43774 down_script = '/etc/openvpn/update-resolv-conf' Mon Sep 3 13:09:13 2018 us=43785 down_pre = DISABLED Mon Sep 3 13:09:13 2018 us=43796 up_restart = DISABLED Mon Sep 3 13:09:13 2018 us=43807 up_delay = DISABLED Mon Sep 3 13:09:13 2018 us=43818 daemon = ENABLED Mon Sep 3 13:09:13 2018 us=43829 inetd = 0 Mon Sep 3 13:09:13 2018 us=43840 log = ENABLED Mon Sep 3 13:09:13 2018 us=43851 suppress_timestamps = DISABLED Mon Sep 3 13:09:13 2018 us=43861 nice = 0 Mon Sep 3 13:09:13 2018 us=43873 verbosity = 4 Mon Sep 3 13:09:13 2018 us=43883 mute = 0 Mon Sep 3 13:09:13 2018 us=43894 gremlin = 0 Mon Sep 3 13:09:13 2018 us=43905 status_file = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=43916 status_file_version = 1 Mon Sep 3 13:09:13 2018 us=43927 status_file_update_freq = 60 Mon Sep 3 13:09:13 2018 us=43938 occ = ENABLED Mon Sep 3 13:09:13 2018 us=43949 rcvbuf = 0 Mon Sep 3 13:09:13 2018 us=43960 sndbuf = 0 Mon Sep 3 13:09:13 2018 us=43971 mark = 0 Mon Sep 3 13:09:13 2018 us=43982 sockflags = 0 Mon Sep 3 13:09:13 2018 us=43993 fast_io = ENABLED Mon Sep 3 13:09:13 2018 us=44004 lzo = 1 Mon Sep 3 13:09:13 2018 us=44015 route_script = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44026 route_default_gateway = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44037 route_default_metric = 0 Mon Sep 3 13:09:13 2018 us=44049 route_noexec = DISABLED Mon Sep 3 13:09:13 2018 us=44060 route_delay = 0 Mon Sep 3 13:09:13 2018 us=44071 route_delay_window = 30 Mon Sep 3 13:09:13 2018 us=44083 route_delay_defined = DISABLED Mon Sep 3 13:09:13 2018 us=44094 route_nopull = DISABLED Mon Sep 3 13:09:13 2018 us=44105 route_gateway_via_dhcp = DISABLED Mon Sep 3 13:09:13 2018 us=44116 max_routes = 100 Mon Sep 3 13:09:13 2018 us=44128 allow_pull_fqdn = DISABLED Mon Sep 3 13:09:13 2018 us=44139 management_addr = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44150 management_port = 0 Mon Sep 3 13:09:13 2018 us=44161 management_user_pass = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44172 management_log_history_cache = 250 Mon Sep 3 13:09:13 2018 us=44183 management_echo_buffer_size = 100 Mon Sep 3 13:09:13 2018 us=44195 management_write_peer_info_file = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44206 management_client_user = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44217 management_client_group = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44228 management_flags = 0 Mon Sep 3 13:09:13 2018 us=44239 shared_secret_file = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44250 key_direction = 2 Mon Sep 3 13:09:13 2018 us=44262 ciphername_defined = ENABLED Mon Sep 3 13:09:13 2018 us=44273 ciphername = 'AES-256-CBC' Mon Sep 3 13:09:13 2018 us=44284 authname_defined = ENABLED Mon Sep 3 13:09:13 2018 us=44295 authname = 'SHA512' Mon Sep 3 13:09:13 2018 us=44306 prng_hash = 'SHA1' Mon Sep 3 13:09:13 2018 us=44317 prng_nonce_secret_len = 16 Mon Sep 3 13:09:13 2018 us=44328 keysize = 0 Mon Sep 3 13:09:13 2018 us=44339 engine = DISABLED Mon Sep 3 13:09:13 2018 us=44350 replay = ENABLED Mon Sep 3 13:09:13 2018 us=44361 mute_replay_warnings = DISABLED Mon Sep 3 13:09:13 2018 us=44373 replay_window = 64 Mon Sep 3 13:09:13 2018 us=44384 replay_time = 15 Mon Sep 3 13:09:13 2018 us=44395 packet_id_file = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44407 use_iv = ENABLED Mon Sep 3 13:09:13 2018 us=44418 test_crypto = DISABLED Mon Sep 3 13:09:13 2018 us=44429 tls_server = DISABLED Mon Sep 3 13:09:13 2018 us=44439 tls_client = ENABLED Mon Sep 3 13:09:13 2018 us=44450 key_method = 2 Mon Sep 3 13:09:13 2018 us=44461 ca_file = '[[INLINE]]' Mon Sep 3 13:09:13 2018 us=44472 ca_path = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44488 dh_file = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44500 cert_file = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44510 extra_certs_file = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44522 priv_key_file = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44533 pkcs12_file = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44544 cipher_list = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44555 tls_verify = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44566 tls_export_cert = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44577 verify_x509_type = 0 Mon Sep 3 13:09:13 2018 us=44611 verify_x509_name = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44622 crl_file = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=44633 ns_cert_type = 0 Mon Sep 3 13:09:13 2018 us=44644 remote_cert_ku[i] = 160 Mon Sep 3 13:09:13 2018 us=44656 remote_cert_ku[i] = 136 Mon Sep 3 13:09:13 2018 us=44666 remote_cert_ku[i] = 0 Mon Sep 3 13:09:13 2018 us=44677 remote_cert_ku[i] = 0 Mon Sep 3 13:09:13 2018 us=44688 remote_cert_ku[i] = 0 Mon Sep 3 13:09:13 2018 us=44698 remote_cert_ku[i] = 0 Mon Sep 3 13:09:13 2018 us=44709 remote_cert_ku[i] = 0 Mon Sep 3 13:09:13 2018 us=44719 remote_cert_ku[i] = 0 Mon Sep 3 13:09:13 2018 us=44730 remote_cert_ku[i] = 0 Mon Sep 3 13:09:13 2018 us=44741 remote_cert_ku[i] = 0 Mon Sep 3 13:09:13 2018 us=44751 remote_cert_ku[i] = 0 Mon Sep 3 13:09:13 2018 us=44762 remote_cert_ku[i] = 0 Mon Sep 3 13:09:13 2018 us=44772 remote_cert_ku[i] = 0 Mon Sep 3 13:09:13 2018 us=44783 remote_cert_ku[i] = 0 Mon Sep 3 13:09:13 2018 us=44794 remote_cert_ku[i] = 0 Mon Sep 3 13:09:13 2018 us=44804 remote_cert_ku[i] = 0 Mon Sep 3 13:09:13 2018 us=44815 remote_cert_eku = 'TLS Web Server Authentication' Mon Sep 3 13:09:13 2018 us=44826 ssl_flags = 0 Mon Sep 3 13:09:13 2018 us=44837 tls_timeout = 2 Mon Sep 3 13:09:13 2018 us=44848 renegotiate_bytes = 0 Mon Sep 3 13:09:13 2018 us=44859 renegotiate_packets = 0 Mon Sep 3 13:09:13 2018 us=44870 renegotiate_seconds = 0 Mon Sep 3 13:09:13 2018 us=44881 handshake_window = 60 Mon Sep 3 13:09:13 2018 us=44892 transition_window = 3600 Mon Sep 3 13:09:13 2018 us=44903 single_session = DISABLED Mon Sep 3 13:09:13 2018 us=44914 push_peer_info = DISABLED Mon Sep 3 13:09:13 2018 us=44924 tls_exit = DISABLED Mon Sep 3 13:09:13 2018 us=44935 tls_auth_file = '[[INLINE]]' Mon Sep 3 13:09:13 2018 us=44947 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=44958 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=44969 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=44979 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=44990 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=45001 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=45016 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=45028 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=45039 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=45050 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=45061 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=45072 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=45083 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=45093 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=45104 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=45115 pkcs11_protected_authentication = DISABLED Mon Sep 3 13:09:13 2018 us=45127 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45138 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45149 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45159 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45170 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45181 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45191 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45207 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45218 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45229 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45239 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45250 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45261 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45272 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45282 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45293 pkcs11_private_mode = 00000000 Mon Sep 3 13:09:13 2018 us=45304 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45314 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45325 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45336 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45347 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45357 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45368 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45379 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45389 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45400 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45411 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45421 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45432 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45443 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45453 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45464 pkcs11_cert_private = DISABLED Mon Sep 3 13:09:13 2018 us=45475 pkcs11_pin_cache_period = -1 Mon Sep 3 13:09:13 2018 us=45486 pkcs11_id = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=45498 pkcs11_id_management = DISABLED Mon Sep 3 13:09:13 2018 us=45516 server_network = 0.0.0.0 Mon Sep 3 13:09:13 2018 us=45529 server_netmask = 0.0.0.0 Mon Sep 3 13:09:13 2018 us=45543 server_network_ipv6 = :: Mon Sep 3 13:09:13 2018 us=45554 server_netbits_ipv6 = 0 Mon Sep 3 13:09:13 2018 us=45566 server_bridge_ip = 0.0.0.0 Mon Sep 3 13:09:13 2018 us=45578 server_bridge_netmask = 0.0.0.0 Mon Sep 3 13:09:13 2018 us=45590 server_bridge_pool_start = 0.0.0.0 Mon Sep 3 13:09:13 2018 us=45602 server_bridge_pool_end = 0.0.0.0 Mon Sep 3 13:09:13 2018 us=45613 ifconfig_pool_defined = DISABLED Mon Sep 3 13:09:13 2018 us=45626 ifconfig_pool_start = 0.0.0.0 Mon Sep 3 13:09:13 2018 us=45638 ifconfig_pool_end = 0.0.0.0 Mon Sep 3 13:09:13 2018 us=45650 ifconfig_pool_netmask = 0.0.0.0 Mon Sep 3 13:09:13 2018 us=45661 ifconfig_pool_persist_filename = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=45672 ifconfig_pool_persist_refresh_freq = 600 Mon Sep 3 13:09:13 2018 us=45683 ifconfig_ipv6_pool_defined = DISABLED Mon Sep 3 13:09:13 2018 us=45695 ifconfig_ipv6_pool_base = :: Mon Sep 3 13:09:13 2018 us=45706 ifconfig_ipv6_pool_netbits = 0 Mon Sep 3 13:09:13 2018 us=45717 n_bcast_buf = 256 Mon Sep 3 13:09:13 2018 us=45728 tcp_queue_limit = 64 Mon Sep 3 13:09:13 2018 us=45739 real_hash_size = 256 Mon Sep 3 13:09:13 2018 us=45750 virtual_hash_size = 256 Mon Sep 3 13:09:13 2018 us=45761 client_connect_script = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=45772 learn_address_script = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=45783 client_disconnect_script = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=45794 client_config_dir = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=45805 ccd_exclusive = DISABLED Mon Sep 3 13:09:13 2018 us=45816 tmp_dir = '/tmp' Mon Sep 3 13:09:13 2018 us=45827 push_ifconfig_defined = DISABLED Mon Sep 3 13:09:13 2018 us=45839 push_ifconfig_local = 0.0.0.0 Mon Sep 3 13:09:13 2018 us=45851 push_ifconfig_remote_netmask = 0.0.0.0 Mon Sep 3 13:09:13 2018 us=45862 push_ifconfig_ipv6_defined = DISABLED Mon Sep 3 13:09:13 2018 us=45873 push_ifconfig_ipv6_local = ::/0 Mon Sep 3 13:09:13 2018 us=45885 push_ifconfig_ipv6_remote = :: Mon Sep 3 13:09:13 2018 us=45896 enable_c2c = DISABLED Mon Sep 3 13:09:13 2018 us=45912 duplicate_cn = DISABLED Mon Sep 3 13:09:13 2018 us=45923 cf_max = 0 Mon Sep 3 13:09:13 2018 us=45934 cf_per = 0 Mon Sep 3 13:09:13 2018 us=45945 max_clients = 1024 Mon Sep 3 13:09:13 2018 us=45956 max_routes_per_client = 256 Mon Sep 3 13:09:13 2018 us=45968 auth_user_pass_verify_script = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=45979 auth_user_pass_verify_script_via_file = DISABLED Mon Sep 3 13:09:13 2018 us=45990 port_share_host = '[UNDEF]' Mon Sep 3 13:09:13 2018 us=46001 port_share_port = 0 Mon Sep 3 13:09:13 2018 us=46012 client = ENABLED Mon Sep 3 13:09:13 2018 us=46023 pull = ENABLED Mon Sep 3 13:09:13 2018 us=46034 auth_user_pass_file = '/home/b/.protonvpn-cli/protonvpn_openvpn_credentials' Mon Sep 3 13:09:13 2018 us=46048 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 22 2017 Mon Sep 3 13:09:13 2018 us=46066 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08 Mon Sep 3 13:09:13 2018 us=46743 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Mon Sep 3 13:09:13 2018 us=47324 Control Channel Authentication: tls-auth using INLINE static key file Mon Sep 3 13:09:13 2018 us=47366 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication Mon Sep 3 13:09:13 2018 us=47384 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication Mon Sep 3 13:09:13 2018 us=47420 LZO compression initialized Mon Sep 3 13:09:13 2018 us=47509 Control Channel MTU parms [ L:1634 D:1140 EF:110 EB:0 ET:0 EL:3 ] Mon Sep 3 13:09:13 2018 us=47557 Socket Buffers: R=[212992->212992] S=[212992->212992] Mon Sep 3 13:09:13 2018 us=62822 Data Channel MTU parms [ L:1634 D:1450 EF:102 EB:143 ET:32 EL:3 AF:3/1 ] Mon Sep 3 13:09:13 2018 us=62868 Local Options String: 'V4,dev-type tun,link-mtu 1634,tun-mtu 1532,proto UDPv4,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA512,keysize 256,tls-auth,key-method 2,tls-client' Mon Sep 3 13:09:13 2018 us=62878 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1634,tun-mtu 1532,proto UDPv4,comp-lzo,keydir 0,cipher AES-256-CBC,auth SHA512,keysize 256,tls-auth,key-method 2,tls-server' Mon Sep 3 13:09:13 2018 us=62894 Local Options hash (VER=V4): '6a152ec4' Mon Sep 3 13:09:13 2018 us=62905 Expected Remote Options hash (VER=V4): 'e1f65e10' Mon Sep 3 13:09:13 2018 us=62917 UDPv4 link local: [undef] Mon Sep 3 13:09:13 2018 us=62927 UDPv4 link remote: [AF_INET]108.59.0.40:1194 Mon Sep 3 13:09:13 2018 us=190418 TLS: Initial packet from [AF_INET]108.59.0.40:1194, sid=485fe70b 3fa6ad12 Mon Sep 3 13:09:13 2018 us=190625 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this Mon Sep 3 13:09:13 2018 us=449215 VERIFY OK: depth=2, C=CH, O=ProtonVPN AG, CN=ProtonVPN Root CA Mon Sep 3 13:09:13 2018 us=450011 VERIFY OK: depth=1, C=CH, O=ProtonVPN AG, CN=ProtonVPN Intermediate CA 1 Mon Sep 3 13:09:13 2018 us=450714 Validating certificate key usage Mon Sep 3 13:09:13 2018 us=450747 ++ Certificate has key usage 00a0, expects 00a0 Mon Sep 3 13:09:13 2018 us=450766 VERIFY KU OK Mon Sep 3 13:09:13 2018 us=450789 Validating certificate extended key usage Mon Sep 3 13:09:13 2018 us=450809 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication Mon Sep 3 13:09:13 2018 us=450827 VERIFY EKU OK Mon Sep 3 13:09:13 2018 us=450843 VERIFY OK: depth=0, CN=us-va-104.protonvpn.com Mon Sep 3 13:09:15 2018 us=85784 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key Mon Sep 3 13:09:15 2018 us=85872 Data Channel Encrypt: Using 512 bit message hash 'SHA512' for HMAC authentication Mon Sep 3 13:09:15 2018 us=85896 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key Mon Sep 3 13:09:15 2018 us=85919 Data Channel Decrypt: Using 512 bit message hash 'SHA512' for HMAC authentication Mon Sep 3 13:09:15 2018 us=86032 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA Mon Sep 3 13:09:15 2018 us=86112 [us-va-104.protonvpn.com] Peer Connection Initiated with [AF_INET]108.59.0.40:1194 Mon Sep 3 13:09:17 2018 us=470781 SENT CONTROL [us-va-104.protonvpn.com]: 'PUSH_REQUEST' (status=1) Mon Sep 3 13:09:17 2018 us=603105 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.8.8.1,sndbuf 524288,rcvbuf 524288,explicit-exit-notify,comp-lzo no,route-gateway 10.8.8.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.8.8.14 255.255.255.0,peer-id 21' Mon Sep 3 13:09:17 2018 us=603297 OPTIONS IMPORT: timers and/or timeouts modified Mon Sep 3 13:09:17 2018 us=603325 OPTIONS IMPORT: explicit notify parm(s) modified Mon Sep 3 13:09:17 2018 us=603340 OPTIONS IMPORT: LZO parms modified Mon Sep 3 13:09:17 2018 us=603354 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified Mon Sep 3 13:09:17 2018 us=603380 Socket Buffers: R=[212992->425984] S=[212992->425984] Mon Sep 3 13:09:17 2018 us=603394 OPTIONS IMPORT: --ifconfig/up options modified Mon Sep 3 13:09:17 2018 us=603407 OPTIONS IMPORT: route options modified Mon Sep 3 13:09:17 2018 us=603421 OPTIONS IMPORT: route-related options modified Mon Sep 3 13:09:17 2018 us=603434 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified Mon Sep 3 13:09:17 2018 us=603447 OPTIONS IMPORT: peer-id set Mon Sep 3 13:09:17 2018 us=603461 OPTIONS IMPORT: adjusting link_mtu to 1637 Mon Sep 3 13:09:17 2018 us=603680 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=wlx9444528a5bd0 HWADDR=94:44:52:8a:5b:d0 Mon Sep 3 13:09:17 2018 us=605842 TUN/TAP device tun0 opened Mon Sep 3 13:09:17 2018 us=605963 TUN/TAP TX queue length set to 100 Mon Sep 3 13:09:17 2018 us=606006 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0 Mon Sep 3 13:09:17 2018 us=606050 /sbin/ip link set dev tun0 up mtu 1500 Mon Sep 3 13:09:17 2018 us=608240 /sbin/ip addr add dev tun0 10.8.8.14/24 broadcast 10.8.8.255 Mon Sep 3 13:09:17 2018 us=612149 /etc/openvpn/update-resolv-conf tun0 1500 1637 10.8.8.14 255.255.255.0 init dhcp-option DNS 10.8.8.1 Failed to try-restart unbound.service: Unit unbound.service not found. Mon Sep 3 13:09:17 2018 us=630985 WARNING: Failed running command (--up/--down): external program exited with error status: 5 Mon Sep 3 13:09:17 2018 us=631009 Exiting due to fatal error

I think its still doing the same thing.

xilopaint commented 5 years ago

Have you already tried to connect to another Wi-Fi network?

6lackHeart commented 5 years ago

I haven't, but only because this is my home network and the only one my computer has access to. I was just looking for a little extra anonymity besides using TOR.

xilopaint commented 5 years ago

Hey @6lackHeart, on the ckeck_ip() function (line 130) of your protonvpn-cli.sh file you can see this:

| $python -c 'import json; _ = open("/dev/stdin", "r").read(); print(json.loads(_)["IP"])' 2> /dev/null)

Please, remove 2> /dev/null so you will have this:

| $python -c 'import json; _ = open("/dev/stdin", "r").read(); print(json.loads(_)["IP"])')

After that, save the change, run $ sudo ./protonvpn-cli.sh -f and paste the output here.

(Yes, this time you should use ./protonvpn-cli.sh so you don't mess your installation)

6lackHeart commented 5 years ago

Okay so I took out 2> /dev/null It gave me this error

Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.7/json/init.py", line 339, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded [!] Error connecting to VPN. [!] This is an error in enabling IPv6 on the machine. Please enable it manually.

Here is my log output

Mon Sep 3 20:38:14 2018 us=560514 Current Parameter Settings: Mon Sep 3 20:38:14 2018 us=560549 config = '/home/b/.protonvpn-cli/protonvpn_openvpn_config.conf' Mon Sep 3 20:38:14 2018 us=560556 mode = 0 Mon Sep 3 20:38:14 2018 us=560561 persist_config = DISABLED Mon Sep 3 20:38:14 2018 us=560565 persist_mode = 1 Mon Sep 3 20:38:14 2018 us=560569 show_ciphers = DISABLED Mon Sep 3 20:38:14 2018 us=560574 show_digests = DISABLED Mon Sep 3 20:38:14 2018 us=560578 show_engines = DISABLED Mon Sep 3 20:38:14 2018 us=560588 genkey = DISABLED Mon Sep 3 20:38:14 2018 us=560592 key_pass_file = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560596 show_tls_ciphers = DISABLED Mon Sep 3 20:38:14 2018 us=560600 Connection profiles [default]: Mon Sep 3 20:38:14 2018 us=560604 proto = udp Mon Sep 3 20:38:14 2018 us=560608 local = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560612 local_port = 0 Mon Sep 3 20:38:14 2018 us=560617 remote = 'us-free-01.protonvpn.com' Mon Sep 3 20:38:14 2018 us=560621 remote_port = 1194 Mon Sep 3 20:38:14 2018 us=560625 remote_float = DISABLED Mon Sep 3 20:38:14 2018 us=560628 bind_defined = DISABLED Mon Sep 3 20:38:14 2018 us=560632 bind_local = DISABLED Mon Sep 3 20:38:14 2018 us=560636 connect_retry_seconds = 5 Mon Sep 3 20:38:14 2018 us=560640 connect_timeout = 10 Mon Sep 3 20:38:14 2018 us=560644 connect_retry_max = 0 Mon Sep 3 20:38:14 2018 us=560649 socks_proxy_server = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560653 socks_proxy_port = 0 Mon Sep 3 20:38:14 2018 us=560656 socks_proxy_retry = DISABLED Mon Sep 3 20:38:14 2018 us=560660 tun_mtu = 1500 Mon Sep 3 20:38:14 2018 us=560664 tun_mtu_defined = ENABLED Mon Sep 3 20:38:14 2018 us=560668 link_mtu = 1500 Mon Sep 3 20:38:14 2018 us=560672 link_mtu_defined = DISABLED Mon Sep 3 20:38:14 2018 us=560676 tun_mtu_extra = 32 Mon Sep 3 20:38:14 2018 us=560680 tun_mtu_extra_defined = ENABLED Mon Sep 3 20:38:14 2018 us=560684 mtu_discover_type = -1 Mon Sep 3 20:38:14 2018 us=560688 fragment = 0 Mon Sep 3 20:38:14 2018 us=560692 mssfix = 1450 Mon Sep 3 20:38:14 2018 us=560696 explicit_exit_notification = 0 Mon Sep 3 20:38:14 2018 us=560700 Connection profiles END Mon Sep 3 20:38:14 2018 us=560704 remote_random = ENABLED Mon Sep 3 20:38:14 2018 us=560708 ipchange = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560713 dev = 'tun' Mon Sep 3 20:38:14 2018 us=560717 dev_type = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560720 dev_node = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560724 lladdr = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560728 topology = 1 Mon Sep 3 20:38:14 2018 us=560732 tun_ipv6 = DISABLED Mon Sep 3 20:38:14 2018 us=560736 ifconfig_local = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560740 ifconfig_remote_netmask = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560744 ifconfig_noexec = DISABLED Mon Sep 3 20:38:14 2018 us=560748 ifconfig_nowarn = DISABLED Mon Sep 3 20:38:14 2018 us=560752 ifconfig_ipv6_local = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560756 ifconfig_ipv6_netbits = 0 Mon Sep 3 20:38:14 2018 us=560760 ifconfig_ipv6_remote = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560764 shaper = 0 Mon Sep 3 20:38:14 2018 us=560768 mtu_test = 0 Mon Sep 3 20:38:14 2018 us=560772 mlock = DISABLED Mon Sep 3 20:38:14 2018 us=560776 keepalive_ping = 0 Mon Sep 3 20:38:14 2018 us=560780 keepalive_timeout = 0 Mon Sep 3 20:38:14 2018 us=560784 inactivity_timeout = 0 Mon Sep 3 20:38:14 2018 us=560788 ping_send_timeout = 0 Mon Sep 3 20:38:14 2018 us=560792 ping_rec_timeout = 0 Mon Sep 3 20:38:14 2018 us=560796 ping_rec_timeout_action = 0 Mon Sep 3 20:38:14 2018 us=560800 ping_timer_remote = DISABLED Mon Sep 3 20:38:14 2018 us=560804 remap_sigusr1 = 0 Mon Sep 3 20:38:14 2018 us=560807 persist_tun = ENABLED Mon Sep 3 20:38:14 2018 us=560811 persist_local_ip = DISABLED Mon Sep 3 20:38:14 2018 us=560815 persist_remote_ip = DISABLED Mon Sep 3 20:38:14 2018 us=560819 persist_key = ENABLED Mon Sep 3 20:38:14 2018 us=560823 passtos = DISABLED Mon Sep 3 20:38:14 2018 us=560827 resolve_retry_seconds = 1000000000 Mon Sep 3 20:38:14 2018 us=560834 username = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560838 groupname = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560842 chroot_dir = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560846 cd_dir = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560850 writepid = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560854 up_script = '/etc/openvpn/update-resolv-conf' Mon Sep 3 20:38:14 2018 us=560858 down_script = '/etc/openvpn/update-resolv-conf' Mon Sep 3 20:38:14 2018 us=560862 down_pre = DISABLED Mon Sep 3 20:38:14 2018 us=560866 up_restart = DISABLED Mon Sep 3 20:38:14 2018 us=560870 up_delay = DISABLED Mon Sep 3 20:38:14 2018 us=560873 daemon = ENABLED Mon Sep 3 20:38:14 2018 us=560877 inetd = 0 Mon Sep 3 20:38:14 2018 us=560881 log = ENABLED Mon Sep 3 20:38:14 2018 us=560885 suppress_timestamps = DISABLED Mon Sep 3 20:38:14 2018 us=560889 nice = 0 Mon Sep 3 20:38:14 2018 us=560893 verbosity = 4 Mon Sep 3 20:38:14 2018 us=560897 mute = 0 Mon Sep 3 20:38:14 2018 us=560901 gremlin = 0 Mon Sep 3 20:38:14 2018 us=560905 status_file = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560909 status_file_version = 1 Mon Sep 3 20:38:14 2018 us=560913 status_file_update_freq = 60 Mon Sep 3 20:38:14 2018 us=560917 occ = ENABLED Mon Sep 3 20:38:14 2018 us=560921 rcvbuf = 0 Mon Sep 3 20:38:14 2018 us=560925 sndbuf = 0 Mon Sep 3 20:38:14 2018 us=560929 mark = 0 Mon Sep 3 20:38:14 2018 us=560933 sockflags = 0 Mon Sep 3 20:38:14 2018 us=560937 fast_io = ENABLED Mon Sep 3 20:38:14 2018 us=560941 lzo = 1 Mon Sep 3 20:38:14 2018 us=560945 route_script = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560948 route_default_gateway = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560952 route_default_metric = 0 Mon Sep 3 20:38:14 2018 us=560956 route_noexec = DISABLED Mon Sep 3 20:38:14 2018 us=560961 route_delay = 0 Mon Sep 3 20:38:14 2018 us=560965 route_delay_window = 30 Mon Sep 3 20:38:14 2018 us=560969 route_delay_defined = DISABLED Mon Sep 3 20:38:14 2018 us=560973 route_nopull = DISABLED Mon Sep 3 20:38:14 2018 us=560977 route_gateway_via_dhcp = DISABLED Mon Sep 3 20:38:14 2018 us=560981 max_routes = 100 Mon Sep 3 20:38:14 2018 us=560985 allow_pull_fqdn = DISABLED Mon Sep 3 20:38:14 2018 us=560989 management_addr = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=560993 management_port = 0 Mon Sep 3 20:38:14 2018 us=560997 management_user_pass = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561001 management_log_history_cache = 250 Mon Sep 3 20:38:14 2018 us=561005 management_echo_buffer_size = 100 Mon Sep 3 20:38:14 2018 us=561009 management_write_peer_info_file = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561013 management_client_user = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561017 management_client_group = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561021 management_flags = 0 Mon Sep 3 20:38:14 2018 us=561025 shared_secret_file = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561029 key_direction = 2 Mon Sep 3 20:38:14 2018 us=561033 ciphername_defined = ENABLED Mon Sep 3 20:38:14 2018 us=561037 ciphername = 'AES-256-CBC' Mon Sep 3 20:38:14 2018 us=561041 authname_defined = ENABLED Mon Sep 3 20:38:14 2018 us=561045 authname = 'SHA512' Mon Sep 3 20:38:14 2018 us=561049 prng_hash = 'SHA1' Mon Sep 3 20:38:14 2018 us=561053 prng_nonce_secret_len = 16 Mon Sep 3 20:38:14 2018 us=561057 keysize = 0 Mon Sep 3 20:38:14 2018 us=561061 engine = DISABLED Mon Sep 3 20:38:14 2018 us=561065 replay = ENABLED Mon Sep 3 20:38:14 2018 us=561069 mute_replay_warnings = DISABLED Mon Sep 3 20:38:14 2018 us=561073 replay_window = 64 Mon Sep 3 20:38:14 2018 us=561077 replay_time = 15 Mon Sep 3 20:38:14 2018 us=561081 packet_id_file = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561085 use_iv = ENABLED Mon Sep 3 20:38:14 2018 us=561089 test_crypto = DISABLED Mon Sep 3 20:38:14 2018 us=561093 tls_server = DISABLED Mon Sep 3 20:38:14 2018 us=561097 tls_client = ENABLED Mon Sep 3 20:38:14 2018 us=561101 key_method = 2 Mon Sep 3 20:38:14 2018 us=561107 ca_file = '[[INLINE]]' Mon Sep 3 20:38:14 2018 us=561111 ca_path = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561115 dh_file = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561119 cert_file = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561123 extra_certs_file = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561127 priv_key_file = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561131 pkcs12_file = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561135 cipher_list = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561139 tls_verify = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561143 tls_export_cert = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561147 verify_x509_type = 0 Mon Sep 3 20:38:14 2018 us=561151 verify_x509_name = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561155 crl_file = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561159 ns_cert_type = 0 Mon Sep 3 20:38:14 2018 us=561163 remote_cert_ku[i] = 160 Mon Sep 3 20:38:14 2018 us=561167 remote_cert_ku[i] = 136 Mon Sep 3 20:38:14 2018 us=561171 remote_cert_ku[i] = 0 Mon Sep 3 20:38:14 2018 us=561175 remote_cert_ku[i] = 0 Mon Sep 3 20:38:14 2018 us=561178 remote_cert_ku[i] = 0 Mon Sep 3 20:38:14 2018 us=561182 remote_cert_ku[i] = 0 Mon Sep 3 20:38:14 2018 us=561186 remote_cert_ku[i] = 0 Mon Sep 3 20:38:14 2018 us=561190 remote_cert_ku[i] = 0 Mon Sep 3 20:38:14 2018 us=561194 remote_cert_ku[i] = 0 Mon Sep 3 20:38:14 2018 us=561198 remote_cert_ku[i] = 0 Mon Sep 3 20:38:14 2018 us=561201 remote_cert_ku[i] = 0 Mon Sep 3 20:38:14 2018 us=561205 remote_cert_ku[i] = 0 Mon Sep 3 20:38:14 2018 us=561209 remote_cert_ku[i] = 0 Mon Sep 3 20:38:14 2018 us=561213 remote_cert_ku[i] = 0 Mon Sep 3 20:38:14 2018 us=561217 remote_cert_ku[i] = 0 Mon Sep 3 20:38:14 2018 us=561221 remote_cert_ku[i] = 0 Mon Sep 3 20:38:14 2018 us=561225 remote_cert_eku = 'TLS Web Server Authentication' Mon Sep 3 20:38:14 2018 us=561229 ssl_flags = 0 Mon Sep 3 20:38:14 2018 us=561233 tls_timeout = 2 Mon Sep 3 20:38:14 2018 us=561237 renegotiate_bytes = 0 Mon Sep 3 20:38:14 2018 us=561240 renegotiate_packets = 0 Mon Sep 3 20:38:14 2018 us=561244 renegotiate_seconds = 0 Mon Sep 3 20:38:14 2018 us=561248 handshake_window = 60 Mon Sep 3 20:38:14 2018 us=561252 transition_window = 3600 Mon Sep 3 20:38:14 2018 us=561256 single_session = DISABLED Mon Sep 3 20:38:14 2018 us=561260 push_peer_info = DISABLED Mon Sep 3 20:38:14 2018 us=561264 tls_exit = DISABLED Mon Sep 3 20:38:14 2018 us=561268 tls_auth_file = '[[INLINE]]' Mon Sep 3 20:38:14 2018 us=561272 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561276 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561280 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561284 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561288 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561292 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561299 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561303 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561307 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561311 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561315 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561319 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561323 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561326 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561330 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561334 pkcs11_protected_authentication = DISABLED Mon Sep 3 20:38:14 2018 us=561339 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561343 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561346 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561350 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561356 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561360 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561364 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561368 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561372 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561375 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561379 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561383 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561387 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561391 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561395 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561398 pkcs11_private_mode = 00000000 Mon Sep 3 20:38:14 2018 us=561402 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561406 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561410 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561414 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561418 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561422 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561426 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561429 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561433 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561437 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561441 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561445 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561449 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561452 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561456 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561460 pkcs11_cert_private = DISABLED Mon Sep 3 20:38:14 2018 us=561464 pkcs11_pin_cache_period = -1 Mon Sep 3 20:38:14 2018 us=561468 pkcs11_id = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561472 pkcs11_id_management = DISABLED Mon Sep 3 20:38:14 2018 us=561480 server_network = 0.0.0.0 Mon Sep 3 20:38:14 2018 us=561484 server_netmask = 0.0.0.0 Mon Sep 3 20:38:14 2018 us=561490 server_network_ipv6 = :: Mon Sep 3 20:38:14 2018 us=561494 server_netbits_ipv6 = 0 Mon Sep 3 20:38:14 2018 us=561498 server_bridge_ip = 0.0.0.0 Mon Sep 3 20:38:14 2018 us=561502 server_bridge_netmask = 0.0.0.0 Mon Sep 3 20:38:14 2018 us=561507 server_bridge_pool_start = 0.0.0.0 Mon Sep 3 20:38:14 2018 us=561511 server_bridge_pool_end = 0.0.0.0 Mon Sep 3 20:38:14 2018 us=561515 ifconfig_pool_defined = DISABLED Mon Sep 3 20:38:14 2018 us=561520 ifconfig_pool_start = 0.0.0.0 Mon Sep 3 20:38:14 2018 us=561524 ifconfig_pool_end = 0.0.0.0 Mon Sep 3 20:38:14 2018 us=561529 ifconfig_pool_netmask = 0.0.0.0 Mon Sep 3 20:38:14 2018 us=561533 ifconfig_pool_persist_filename = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561537 ifconfig_pool_persist_refresh_freq = 600 Mon Sep 3 20:38:14 2018 us=561541 ifconfig_ipv6_pool_defined = DISABLED Mon Sep 3 20:38:14 2018 us=561545 ifconfig_ipv6_pool_base = :: Mon Sep 3 20:38:14 2018 us=561549 ifconfig_ipv6_pool_netbits = 0 Mon Sep 3 20:38:14 2018 us=561553 n_bcast_buf = 256 Mon Sep 3 20:38:14 2018 us=561557 tcp_queue_limit = 64 Mon Sep 3 20:38:14 2018 us=561561 real_hash_size = 256 Mon Sep 3 20:38:14 2018 us=561565 virtual_hash_size = 256 Mon Sep 3 20:38:14 2018 us=561569 client_connect_script = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561573 learn_address_script = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561577 client_disconnect_script = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561581 client_config_dir = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561585 ccd_exclusive = DISABLED Mon Sep 3 20:38:14 2018 us=561589 tmp_dir = '/tmp' Mon Sep 3 20:38:14 2018 us=561593 push_ifconfig_defined = DISABLED Mon Sep 3 20:38:14 2018 us=561597 push_ifconfig_local = 0.0.0.0 Mon Sep 3 20:38:14 2018 us=561602 push_ifconfig_remote_netmask = 0.0.0.0 Mon Sep 3 20:38:14 2018 us=561608 push_ifconfig_ipv6_defined = DISABLED Mon Sep 3 20:38:14 2018 us=561612 push_ifconfig_ipv6_local = ::/0 Mon Sep 3 20:38:14 2018 us=561617 push_ifconfig_ipv6_remote = :: Mon Sep 3 20:38:14 2018 us=561621 enable_c2c = DISABLED Mon Sep 3 20:38:14 2018 us=561625 duplicate_cn = DISABLED Mon Sep 3 20:38:14 2018 us=561629 cf_max = 0 Mon Sep 3 20:38:14 2018 us=561633 cf_per = 0 Mon Sep 3 20:38:14 2018 us=561637 max_clients = 1024 Mon Sep 3 20:38:14 2018 us=561641 max_routes_per_client = 256 Mon Sep 3 20:38:14 2018 us=561645 auth_user_pass_verify_script = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561649 auth_user_pass_verify_script_via_file = DISABLED Mon Sep 3 20:38:14 2018 us=561653 port_share_host = '[UNDEF]' Mon Sep 3 20:38:14 2018 us=561657 port_share_port = 0 Mon Sep 3 20:38:14 2018 us=561661 client = ENABLED Mon Sep 3 20:38:14 2018 us=561665 pull = ENABLED Mon Sep 3 20:38:14 2018 us=561669 auth_user_pass_file = '/home/b/.protonvpn-cli/protonvpn_openvpn_credentials' Mon Sep 3 20:38:14 2018 us=561674 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 22 2017 Mon Sep 3 20:38:14 2018 us=561683 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08 Mon Sep 3 20:38:14 2018 us=561967 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Mon Sep 3 20:38:14 2018 us=562209 Control Channel Authentication: tls-auth using INLINE static key file Mon Sep 3 20:38:14 2018 us=562224 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication Mon Sep 3 20:38:14 2018 us=562230 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication Mon Sep 3 20:38:14 2018 us=562242 LZO compression initialized Mon Sep 3 20:38:14 2018 us=562273 Control Channel MTU parms [ L:1634 D:1140 EF:110 EB:0 ET:0 EL:3 ] Mon Sep 3 20:38:14 2018 us=562290 Socket Buffers: R=[212992->212992] S=[212992->212992] Mon Sep 3 20:38:14 2018 us=674445 Data Channel MTU parms [ L:1634 D:1450 EF:102 EB:143 ET:32 EL:3 AF:3/1 ] Mon Sep 3 20:38:14 2018 us=674506 Local Options String: 'V4,dev-type tun,link-mtu 1634,tun-mtu 1532,proto UDPv4,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA512,keysize 256,tls-auth,key-method 2,tls-client' Mon Sep 3 20:38:14 2018 us=674519 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1634,tun-mtu 1532,proto UDPv4,comp-lzo,keydir 0,cipher AES-256-CBC,auth SHA512,keysize 256,tls-auth,key-method 2,tls-server' Mon Sep 3 20:38:14 2018 us=674542 Local Options hash (VER=V4): '6a152ec4' Mon Sep 3 20:38:14 2018 us=674559 Expected Remote Options hash (VER=V4): 'e1f65e10' Mon Sep 3 20:38:14 2018 us=674576 UDPv4 link local: [undef] Mon Sep 3 20:38:14 2018 us=674589 UDPv4 link remote: [AF_INET]207.244.109.179:1194 Mon Sep 3 20:38:14 2018 us=843724 TLS: Initial packet from [AF_INET]207.244.109.179:1194, sid=aa44f259 27dda624 Mon Sep 3 20:38:14 2018 us=843965 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this Mon Sep 3 20:38:15 2018 us=189466 VERIFY OK: depth=2, C=CH, O=ProtonVPN AG, CN=ProtonVPN Root CA Mon Sep 3 20:38:15 2018 us=190266 VERIFY OK: depth=1, C=CH, O=ProtonVPN AG, CN=ProtonVPN Intermediate CA 1 Mon Sep 3 20:38:15 2018 us=191074 Validating certificate key usage Mon Sep 3 20:38:15 2018 us=191114 ++ Certificate has key usage 00a0, expects 00a0 Mon Sep 3 20:38:15 2018 us=191132 VERIFY KU OK Mon Sep 3 20:38:15 2018 us=191154 Validating certificate extended key usage Mon Sep 3 20:38:15 2018 us=191174 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication Mon Sep 3 20:38:15 2018 us=191192 VERIFY EKU OK Mon Sep 3 20:38:15 2018 us=191208 VERIFY OK: depth=0, CN=us-va-109.protonvpn.com Mon Sep 3 20:38:16 2018 us=833079 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key Mon Sep 3 20:38:16 2018 us=833183 Data Channel Encrypt: Using 512 bit message hash 'SHA512' for HMAC authentication Mon Sep 3 20:38:16 2018 us=833251 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key Mon Sep 3 20:38:16 2018 us=833290 Data Channel Decrypt: Using 512 bit message hash 'SHA512' for HMAC authentication Mon Sep 3 20:38:16 2018 us=833422 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA Mon Sep 3 20:38:16 2018 us=833487 [us-va-109.protonvpn.com] Peer Connection Initiated with [AF_INET]207.244.109.179:1194 Mon Sep 3 20:38:18 2018 us=861774 SENT CONTROL [us-va-109.protonvpn.com]: 'PUSH_REQUEST' (status=1) Mon Sep 3 20:38:19 2018 us=49408 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.8.8.1,sndbuf 524288,rcvbuf 524288,explicit-exit-notify,comp-lzo no,route-gateway 10.8.8.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.8.8.12 255.255.255.0,peer-id 7' Mon Sep 3 20:38:19 2018 us=49613 OPTIONS IMPORT: timers and/or timeouts modified Mon Sep 3 20:38:19 2018 us=49640 OPTIONS IMPORT: explicit notify parm(s) modified Mon Sep 3 20:38:19 2018 us=49655 OPTIONS IMPORT: LZO parms modified Mon Sep 3 20:38:19 2018 us=49669 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified Mon Sep 3 20:38:19 2018 us=49697 Socket Buffers: R=[212992->425984] S=[212992->425984] Mon Sep 3 20:38:19 2018 us=49712 OPTIONS IMPORT: --ifconfig/up options modified Mon Sep 3 20:38:19 2018 us=49725 OPTIONS IMPORT: route options modified Mon Sep 3 20:38:19 2018 us=49739 OPTIONS IMPORT: route-related options modified Mon Sep 3 20:38:19 2018 us=49752 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified Mon Sep 3 20:38:19 2018 us=49766 OPTIONS IMPORT: peer-id set Mon Sep 3 20:38:19 2018 us=49781 OPTIONS IMPORT: adjusting link_mtu to 1637 Mon Sep 3 20:38:19 2018 us=50010 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=wlx9444528a5bd0 HWADDR=94:44:52:8a:5b:d0 Mon Sep 3 20:38:19 2018 us=50481 TUN/TAP device tun0 opened Mon Sep 3 20:38:19 2018 us=50549 TUN/TAP TX queue length set to 100 Mon Sep 3 20:38:19 2018 us=50582 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0 Mon Sep 3 20:38:19 2018 us=50622 /sbin/ip link set dev tun0 up mtu 1500 Mon Sep 3 20:38:19 2018 us=52888 /sbin/ip addr add dev tun0 10.8.8.12/24 broadcast 10.8.8.255 Mon Sep 3 20:38:19 2018 us=55189 /etc/openvpn/update-resolv-conf tun0 1500 1637 10.8.8.12 255.255.255.0 init dhcp-option DNS 10.8.8.1 Mon Sep 3 20:38:19 2018 us=266691 /sbin/ip route add 207.244.109.179/32 via 192.168.0.1 Mon Sep 3 20:38:19 2018 us=268171 /sbin/ip route add 0.0.0.0/1 via 10.8.8.1 Mon Sep 3 20:38:19 2018 us=269483 /sbin/ip route add 128.0.0.0/1 via 10.8.8.1 Mon Sep 3 20:38:19 2018 us=270717 Initialization Sequence Completed Mon Sep 3 20:39:26 2018 us=723927 event_wait : Interrupted system call (code=4) Mon Sep 3 20:39:26 2018 us=723962 SIGTERM received, sending exit notification to peer Mon Sep 3 20:39:27 2018 us=242655 event_wait : Interrupted system call (code=4) Mon Sep 3 20:39:27 2018 us=242810 TCP/UDP: Closing socket Mon Sep 3 20:39:27 2018 us=242841 /sbin/ip route del 207.244.109.179/32 Mon Sep 3 20:39:27 2018 us=243375 /sbin/ip route del 0.0.0.0/1 Mon Sep 3 20:39:27 2018 us=243920 /sbin/ip route del 128.0.0.0/1 Mon Sep 3 20:39:27 2018 us=244540 Closing TUN/TAP interface Mon Sep 3 20:39:27 2018 us=244562 /sbin/ip addr del dev tun0 10.8.8.12/24 Mon Sep 3 20:39:27 2018 us=272742 /etc/openvpn/update-resolv-conf tun0 1500 1637 10.8.8.12 255.255.255.0 init Failed to try-restart unbound.service: Unit unbound.service not found. Mon Sep 3 20:39:27 2018 us=513827 WARNING: Failed running command (--up/--down): external program exited with error status: 5 Mon Sep 3 20:39:27 2018 us=513895 Exiting due to fatal error

There are other lines that have the 2> /dev/null Should it be removed from them too?

xilopaint commented 5 years ago

Enter this command in your terminal and paste here the output hiding your personal data if any (not your logs just the output of the command):

wget --header 'x-pm-appversion: Other' \
                --header 'x-pm-apiversion: 3' \
                --header 'Accept: application/vnd.protonmail.v1+json' \
                --timeout 4 --tries 1 -q -O - 'https://api.protonmail.ch/vpn/location'
6lackHeart commented 5 years ago

This is the output, got rid of all the personal information. Unless I redacted too much info from the output.

"Code": 1000, "IP": "", "Lat": , "Long": , "Country": "", "ISP": ""

xilopaint commented 5 years ago

Was the IP field blank or it showed your IP number correctly?

Besides that, are you in China? ProtonVPN is blocked there.

6lackHeart commented 5 years ago

Yeah all the information was correct, and accurate. I'm located in the US

xilopaint commented 5 years ago

The code should be failing here:

      wget --header 'x-pm-appversion: Other' \
         --header 'x-pm-apiversion: 3' \
         --header 'Accept: application/vnd.protonmail.v1+json' \
         --timeout 10 --tries 1 -q -O "$openvpn_config" "https://api.protonmail.ch/vpn/config?Platform=$(detect_platform_type)&LogicalID=$config_id&Protocol=$selected_protocol" \

      openvpn --daemon --config "$openvpn_config" --auth-user-pass "$(get_protonvpn_cli_home)/protonvpn_openvpn_credentials" --auth-retry nointeract --verb 4 --log "$connection_logs"

  echo "Connecting..."

  max_checks=3
  counter=0
  while [[ $counter -lt $max_checks ]]; do
    sleep 6
    new_ip="$(check_ip)"

When the check_ip() function is called on line 497 the Python code of the function fails because there's no JSON returning a new IP what causes the ValueError exception been raised:

Traceback (most recent call last):
File "", line 1, in 
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

My guess is the first IP check can detect your current IP, but the last one for whatever reason doesn't return a new IP so protonvpn-cli cannot connect.

I hope @mazen160 can help you but it sounds to me the issue is on your end.

xilopaint commented 5 years ago

Have you tried to connect with OpenVPN directly? If you try that and don't succeed you can be sure the issue is on your end.

Here's a guide that shows how to do it. The Option B has a CLI setup.

6lackHeart commented 5 years ago

I've run openvpn it says initialization completed at the end, which I guess means its working. I just can't load any websites because its so slow. I was just kinda trying to see if it would work before I pay for anything. Was wondering if you thought I should try a different VPN server. I just kinda had a thing for Protonvpn since I've used it before, but I would use anything at this point. Protonvpn use to work once upon a time on my cellphone, then one day it just stopped, and that was shortly after they got rid of net neutrality in my country. Its kind of a conspiracy, but my cable company is the only one in my state, which means they can do just about anything they want and not lose customers. I've definitely noticed they have been throttling my connection, and I'm thinking they may be blocking VPN protocols if thats possible.

I really appreciate you taking the time to try to help me figure this out. You're awesome.

xilopaint commented 5 years ago

Can't you load any websites or the websites load slowly?

6lackHeart commented 5 years ago

It times out, and says website can't be reached. I used the us free #1 and the japan free #1 server. They both did the same thing, just timed out.

xilopaint commented 5 years ago

Have you already tried to initialise your protonvpn-cli profile with a custom DNS and tried to connect?

Rafficer commented 5 years ago

Are you in a university, workplace or any other "shared" network behind a firewall? It could be that the firewall is blocking openvpn.

xilopaint commented 5 years ago

Hey @Rafficer, why do his logs mention the 10.8.8.1 DNS while he has a free tier plan?

6lackHeart commented 5 years ago

I have not because it warns against it, but is there a guide that explains how to setup a custom DNS? I'm at my home network, and I have access to the routers admin settings.

xilopaint commented 5 years ago

You don't need to setup anything the CLI will manage it for you. Just inform 8.8.8.8 when initialising your profile and asked for a custom DNS server. It's Google DNS.

6lackHeart commented 5 years ago

Yeah even with the Google DNS it still gives me the Connecting... [!] Error connecting to VPN.

6lackHeart commented 5 years ago

Could it be because my router is the modem at the same time? I read that you can't directly configure a VPN on your ISP's router/modem. Is this true?

Rafficer commented 5 years ago

@xilopaint What I've noticed is this line:

Mon Sep 3 11:45:30 2018 us=515768 LZO compression initialized

The thing is, ProtonVPN disabled compression on all their servers, to fix a vulnerability. See: https://protonvpn.com/blog/voracle-attack/

So that's weird already, but I'm not sure if I'm not missing something.

And the DNS would be an issue once he's connected, but not that the connection itself fails...

Rafficer commented 5 years ago

@6lackHeart I doubt it. Since you are running it off a machine behind the router, this shouldn't be a problem at all.

Can you post the output of sudo pvpn --version?

xilopaint commented 5 years ago

Can you post the output of sudo pvpn --version?

This is not particularly relevant since there were many commits on master after the last (and only) release.

6lackHeart commented 5 years ago

This is the output when I run sudo pvpn --version

ProtonVPN Command-Line Tool – v1.1.0 Copyright (c) 2013-2018 Proton Technologies A.G. (Switzerland) Distributed under the MIT software license (see the accompanying file license.md).

Rafficer commented 5 years ago

To be fair, I just wanted to see if the command works to make sure it's not a super old version :P

@xilopaint 10.8.8.1 seems to be the new DNS for free servers, as @mazen160 mentioned here: https://github.com/ProtonVPN/protonvpn-cli/issues/73#issuecomment-396097237

https://i.imgur.com/jyROrzx.png

@6lackHeart

If you follow the guide here and do the manual setup, are you running in the same issues?

https://protonvpn.com/support/linux-vpn-setup/

Make sure to use Option B!

amgxv commented 5 years ago

I'm having the same issue when i try to connect with openvpn cli

Tue Sep 4 22:06:04 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Tue Sep 4 22:06:04 2018 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication Tue Sep 4 22:06:04 2018 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication Tue Sep 4 22:06:04 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]185.94.189.187:1194 Tue Sep 4 22:06:04 2018 Socket Buffers: R=[212992->212992] S=[212992->212992] Tue Sep 4 22:06:04 2018 UDP link local: (not bound) Tue Sep 4 22:06:04 2018 UDP link remote: [AF_INET]185.94.189.187:1194 Tue Sep 4 22:07:04 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Tue Sep 4 22:07:04 2018 TLS Error: TLS handshake failed Tue Sep 4 22:07:04 2018 SIGUSR1[soft,tls-error] received, process restarting Tue Sep 4 22:07:04 2018 Restart pause, 5 second(s)

xilopaint commented 5 years ago

@amgxv It doesn't sound the same issue.

Tue Sep 4 22:07:04 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

From the OpenVPN FAQ:

TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) One of the most common problems in setting up OpenVPN is that the two OpenVPN daemons on either side of the connection are unable to establish a TCP or UDP connection with each other.

This is usually the result of:

A perimeter firewall on the server's network is filtering out incoming OpenVPN packets (by default OpenVPN uses UDP or TCP port number 1194). A software firewall running on the OpenVPN server machine itself is filtering incoming connections on port 1194. Be aware that many OSes will block incoming connections by default, unless configured otherwise. A NAT gateway on the server's network does not have a port forward rule for TCP/UDP 1194 to the internal address of the OpenVPN server machine. The OpenVPN client config does not have the correct server address in its config file. The remote directive in the client config file must point to either the server itself or the public IP address of the server network's gateway. Another possible cause is that the windows firewall is blocking access for the openvpn.exe binary. You may need to whitelist (add it to the "Exceptions" list) it for OpenVPN to work.

6lackHeart commented 5 years ago

I have manually setup openvpn using two different free trial servers. It says initialization sequence completed, but then when I try to connect to the web says server not found.

Rafficer commented 5 years ago

What's the output of nslookup protonvpn.com?

6lackHeart commented 5 years ago

Server: 127.0.1.1 Address: 127.0.1.1#53

Non-authoritative answer: Name: protonvpn.com Address: 185.70.40.231

Rafficer commented 5 years ago

Was this while connected?

6lackHeart commented 5 years ago

When I'm connected manually it says ;; connection timed out; no servers could be reached when I use nslookup protonvpn.com

amgxv commented 5 years ago

@xilopaint It was exactly that, my fault. Thanks so much.

xilopaint commented 5 years ago

@6lackHeart What's the output of cat /etc/resolv.conf while you're NOT connected to OpenVPN/ProtonVPN?

Rafficer commented 5 years ago

Can you ping 1.1.1.1 while connected?

6lackHeart commented 5 years ago

Here is the output when I use cat /etc/resolv.conf

'# Generated by resolvconf search **.rr.com nameserver 127.0.1.1'

When I ping 1.1.1.1 I get this

PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data. 64 bytes from 1.1.1.1: icmp_seq=1 ttl=59 time=96.6 ms 64 bytes from 1.1.1.1: icmp_seq=2 ttl=59 time=96.8 ms 64 bytes from 1.1.1.1: icmp_seq=3 ttl=59 time=95.9 ms 64 bytes from 1.1.1.1: icmp_seq=4 ttl=59 time=96.7 ms

6lackHeart commented 5 years ago

I wasn't connected for the first output and I was connect for the second output

6lackHeart commented 5 years ago

When I ping without being connected its 30 ms faster

PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data. 64 bytes from 1.1.1.1: icmp_seq=1 ttl=52 time=66.6 ms 64 bytes from 1.1.1.1: icmp_seq=2 ttl=52 time=65.7 ms 64 bytes from 1.1.1.1: icmp_seq=3 ttl=52 time=67.2 ms

Rafficer commented 5 years ago

Okay, so your connection works. DNS seems to be the problem now...

I'm kind of lost now as well...

Rafficer commented 5 years ago

What's the output of ip a or ifconfig? Both being connected.

xilopaint commented 5 years ago

Please now provide the output of cat /etc/resolv.conf after being connected manually to OpenVPN.

6lackHeart commented 5 years ago

Here is the output for ip awhile connected:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever 2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 link/ether b0:83:fe:63:c4:c4 brd ff:ff:ff:ff:ff:ff 3: wlx9444528a5bd0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 94:44:52:8a:5b:d0 brd ff:ff:ff:ff:ff:ff inet 192.168.0.5/24 brd 192.168.0.255 scope global dynamic wlx9444528a5bd0 valid_lft 2096sec preferred_lft 2096sec 35: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 100 link/none inet 10.8.8.14/24 brd 10.8.8.255 scope global tun0 valid_lft forever preferred_lft forever

Here is the output for ifconfig while connected:

enp3s0 Link encap:Ethernet HWaddr b0:83:fe:63:c4:c4
UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:37002 errors:0 dropped:0 overruns:0 frame:0 TX packets:37002 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3153556 (3.1 MB) TX bytes:3153556 (3.1 MB)

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.8.14 P-t-P:10.8.8.14 Mask:255.255.255.0 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:1 errors:0 dropped:0 overruns:0 frame:0 TX packets:83 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:110 (110.0 B) TX bytes:9964 (9.9 KB)

wlx9444528a5bd0 Link encap:Ethernet HWaddr 94:44:52:8a:5b:d0
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5702359 errors:0 dropped:4462096 overruns:0 frame:0 TX packets:17118359 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:612137248 (612.1 MB) TX bytes:1984518162 (1.9 GB)

Here is the output for cat /etc/resolv.conf while connected:

Generated by resolvconf search **.rr.com nameserver 127.0.1.1

Rafficer commented 5 years ago

Can you ping 10.8.8.1 while connected?

xilopaint commented 5 years ago

Here is the output for cat /etc/resolv.conf while connected:

Generated by resolvconf search **.rr.com nameserver 127.0.1.1

/etc/resolv.conf is not being updated. You should see nameserver 10.8.8.1 on /etc/resolv.conf while connected.

On my linux machine this is my output for $ cat /etc/resolv.conf while connected:

# ProtonVPN DNS - protonvpn-cli
nameserver 10.8.8.1

Do you have /etc/openvpn/update-resolv-conf on your machine?

6lackHeart commented 5 years ago

Yeah it lets me ping 10.8.8.1 64 bytes from 10.8.8.1: icmp_seq=2 ttl=64 time=96.3 ms 64 bytes from 10.8.8.1: icmp_seq=3 ttl=64 time=96.1 ms

6lackHeart commented 5 years ago

I located it, and it says its there. ~$ locate update-resolv-conf /etc/openvpn/update-resolv-conf