Hack Forums
Kali Linux OpenVPN Error - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: VPN, Proxies, and Socks (https://hackforums.net/forumdisplay.php?fid=91)
+---- Thread: Kali Linux OpenVPN Error (/showthread.php?tid=5932394)



Kali Linux OpenVPN Error - TechnicalRich - Jan 21, 2019

Hello, I'm trying to set up OpenVPN on my Kali Linux, I'm using VirtualBox, I tried installing OpenVPN through vpnbook.com and whenever I try to connect it gives me some errors.

Code
openvpn --config vpnbook-fr1-tcp80.ovpn
Mon Jan 21 20:36:29 2019 OpenVPN 2.4.6 i686-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 30 2018
Mon Jan 21 20:36:29 2019 library versions: OpenSSL 1.1.0h  27 Mar 2018, LZO 2.10
Enter Auth Username: vpnbook
Enter Auth Password: *******
Mon Jan 21 20:36:42 2019 WARNING: No server certificate verification method has been enabled.  See openvpn.net/howto.html#mitm for more info.
Mon Jan 21 20:36:42 2019 NOTE: --fast-io is disabled since we are not using UDP
Mon Jan 21 20:36:42 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]37.xxx.xxx.xx:80
Mon Jan 21 20:36:42 2019 Socket Buffers: R=[87380->87380] S=[16384->16384]
Mon Jan 21 20:36:42 2019 Attempting to establish TCP connection with [AF_INET]37.xxx.xx.xx:80 [nonblock]
Mon Jan 21 20:36:43 2019 TCP connection established with [AF_INET]37.xxx.xxx.xx:80
Mon Jan 21 20:36:43 2019 TCP_CLIENT link local: (not bound)
Mon Jan 21 20:36:43 2019 TCP_CLIENT link remote: [AF_INET]37.xxx.xxx.xx:80
Mon Jan 21 20:37:07 2019 Connection reset, restarting [-1]
Mon Jan 21 20:37:07 2019 SIGUSR1[soft,connection-reset] received, process restarting
Mon Jan 21 20:37:07 2019 Restart pause, 5 second(s)
Mon Jan 21 20:37:12 2019 WARNING: No server certificate verification method has been enabled.  See openvpn.net/howto.html#mitm for more info.
Mon Jan 21 20:37:12 2019 NOTE: --fast-io is disabled since we are not using UDP
Mon Jan 21 20:37:12 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]37.xxx.xxx.xx:80
Mon Jan 21 20:37:12 2019 Socket Buffers: R=[87380->87380] S=[16384->16384]
Mon Jan 21 20:37:12 2019 Attempting to establish TCP connection with [AF_INET]37.xxx.xxx.xx:80 [nonblock]
Mon Jan 21 20:37:13 2019 TCP connection established with [AF_INET]37.xxx.xxx.xx:80
Mon Jan 21 20:37:13 2019 TCP_CLIENT link local: (not bound)
Mon Jan 21 20:37:13 2019 TCP_CLIENT link remote: [AF_INET]37.xxx.xxx.xx:80

What's causing this?


RE: Kali Linux OpenVPN Error - TechnicalRich - Jan 22, 2019

(Jan 22, 2019 12:17 AM)jeremyratte Wrote:  It looks like you are connecting to VPN on port 80 and it doesn't seem right, because usually OpenVPN servers works on another port - 1194. Probably your connection at port 80 is reseting because no openvpn server listens on it. But it's only sugestion.

Hmm, I think I tried using a 1194 port file as well but I got the same error, I'm not completely sure though, I will test it again today.


RE: Kali Linux OpenVPN Error - sina - Jan 22, 2019

i have that error too but its solved now


RE: Kali Linux OpenVPN Error - TechnicalRich - Jan 22, 2019

(Jan 22, 2019 09:26 AM)sina Wrote:  i have that error too but its solved now

How did you manage to get it solved? Or did it get solved by itself?


RE: Kali Linux OpenVPN Error - TechnicalRich - Jan 25, 2019

Fixed it by installing some network related packages that I apparently didn't have.