Hackplayers / 4nonimizer

A bash script for anonymizing the public IP used to browsing Internet, managing the connection to TOR network and to different VPNs providers (OpenVPN)
GNU General Public License v3.0
617 stars 192 forks source link

Change Provider Command #67

Open Vdevv opened 5 years ago

Vdevv commented 5 years ago

I tried to use the command but it failed to change from vpnbook to vpngate, after that i used pkill 4nonimizer and 4nonimizer start and worked fine.

vmotos commented 5 years ago

Please, paste the logs when you change the provider in order to investigate it.

Vdevv commented 5 years ago

Im getting these (pass is the latest from the vpnbook site no idea why it says auth failed) (from vpnbook to vpngate)

[+] There is a problem starting openvpn. Please, check nohup.out for details

Tue Jun 11 21:01:14 2019 SENT CONTROL [*.opengw.net]: 'PUSH_REQUEST' (status=1) Tue Jun 11 21:01:18 2019 PUSH: Received control message: 'PUSH_REPLY,ping 3,ping-restart 10,ifconfig 10.211.1.5 10.211.1.6,dhcp-option DNS 10.211.254.254,dhcp-option DNS 8.8.8.8,route-gateway 10.211.1.6,redirect-gateway def1' Tue Jun 11 21:01:18 2019 OPTIONS IMPORT: timers and/or timeouts modified Tue Jun 11 21:01:18 2019 OPTIONS IMPORT: --ifconfig/up options modified Tue Jun 11 21:01:18 2019 OPTIONS IMPORT: route options modified Tue Jun 11 21:01:18 2019 OPTIONS IMPORT: route-related options modified Tue Jun 11 21:01:18 2019 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified Tue Jun 11 21:01:18 2019 Outgoing Data Channel: Cipher 'AES-128-CBC' initialized with 128 bit key Tue Jun 11 21:01:18 2019 Outgoing Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication Tue Jun 11 21:01:18 2019 Incoming Data Channel: Cipher 'AES-128-CBC' initialized with 128 bit key Tue Jun 11 21:01:18 2019 Incoming Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication Tue Jun 11 21:01:18 2019 Preserving previous TUN/TAP instance: tun0 Tue Jun 11 21:01:18 2019 Initialization Sequence Completed Wed Jun 12 12:55:54 2019 WARNING: file 'pass.txt' is group or others accessible Wed Jun 12 12:55:54 2019 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019 Wed Jun 12 12:55:54 2019 library versions: OpenSSL 1.1.1b 26 Feb 2019, LZO 2.10 Wed Jun 12 12:55:54 2019 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. Wed Jun 12 12:55:54 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]198.7.58.147:25000 Wed Jun 12 12:55:54 2019 Socket Buffers: R=[212992->212992] S=[212992->212992] Wed Jun 12 12:55:54 2019 UDP link local: (not bound) Wed Jun 12 12:55:54 2019 UDP link remote: [AF_INET]198.7.58.147:25000 Wed Jun 12 12:55:57 2019 TLS: Initial packet from [AF_INET]198.7.58.147:25000, sid=fc59ce39 190628c9 Wed Jun 12 12:55:57 2019 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this Wed Jun 12 12:55:57 2019 VERIFY OK: depth=1, C=CH, ST=Zurich, L=Zurich, O=vpnbook.com, OU=IT, CN=vpnbook.com, name=vpnbook.com, emailAddress=admin@vpnbook.com Wed Jun 12 12:55:57 2019 VERIFY OK: depth=0, C=CH, ST=Zurich, L=Zurich, O=vpnbook.com, OU=IT, CN=vpnbook.com, name=vpnbook.com, emailAddress=admin@vpnbook.com Wed Jun 12 12:55:57 2019 Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 1024 bit RSA Wed Jun 12 12:55:57 2019 [vpnbook.com] Peer Connection Initiated with [AF_INET]198.7.58.147:25000 Wed Jun 12 12:55:58 2019 SENT CONTROL [vpnbook.com]: 'PUSH_REQUEST' (status=1) Wed Jun 12 12:55:58 2019 AUTH: Received control message: AUTH_FAILED Wed Jun 12 12:55:58 2019 SIGTERM[soft,auth-failure] received, process exiting

samuel823823823 commented 5 years ago

ME TOO i have the same problem

vmotos commented 5 years ago

check if the credentials in /opt/4nonimizer/vpn/vpnbook/pass.txt are correct/updated visiting: https://www.vpnbook.com/

Vdevv commented 5 years ago

As i mentioned i always have the the most recent pass from vpnbook site since im using the tool mainly with vpnbook.