New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
how to set up openvpn? (Gullo's Hosting) (NAT)
Hi,
I need some help setting up openvpn in Gullo's Hosting 2$ yearly VPS.
I am am following this article in their wiki.
systemctl status
root@ham:~# systemctl status openvpn
● openvpn.service - OpenVPN service
Loaded: loaded (/lib/systemd/system/openvpn.service; enabled; vendor preset: enabled)
Active: active (exited) since Tue 2019-06-18 11:07:53 EDT; 1min 47s ago
Main PID: 14830 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/openvpn.service
Jun 18 11:07:53 ham systemd[1]: Starting OpenVPN service...
Jun 18 11:07:53 ham systemd[1]: Started OpenVPN service.
I cannot connect from my pc
Tue Jun 18 20:44:42 2019 Unrecognized option or missing or extra parameter(s) in thanos(1).ovpn:17: block-outside-dns (2.4.7)
Tue Jun 18 20:44:42 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019
Tue Jun 18 20:44:42 2019 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10
Tue Jun 18 20:44:42 2019 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Tue Jun 18 20:44:42 2019 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Tue Jun 18 20:44:42 2019 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Tue Jun 18 20:44:42 2019 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Tue Jun 18 20:44:42 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]192.99.148.130:23718
Tue Jun 18 20:44:42 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Tue Jun 18 20:44:42 2019 UDP link local: (not bound)
Tue Jun 18 20:44:42 2019 UDP link remote: [AF_INET]192.99.148.130:23718
Tue Jun 18 20:45:42 2019 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Tue Jun 18 20:45:42 2019 TLS Error: TLS handshake failed
Tue Jun 18 20:45:42 2019 SIGUSR1[soft,tls-error] received, process restarting
Tue Jun 18 20:45:42 2019 Restart pause, 5 second(s)
Tue Jun 18 20:45:47 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]192.99.148.130:23718
Tue Jun 18 20:45:47 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Tue Jun 18 20:45:47 2019 UDP link local: (not bound)
Tue Jun 18 20:45:47 2019 UDP link remote: [AF_INET]192.99.148.130:23718
I obtained my public from calculator proved in wiki.this is my info:
Gullo's Hosting
Your Local IP
10.10.20.237
Your External IP
192.99.148.130
Port Range
23700 to 23719
SSH Port: 23720
SSH Command
ssh [email protected] -p 23720
what am i doing wrong?
any help is very appreciated.
Comments
You do just change the specified port in the openvpn configuration to the one that you can use.
Just take one of these ports.
If I'm reading that properly he did. Perhaps an os-level firewall?
EDIT: Duh, that's his PC side.
i did. you can see it in the log.
still cannot connect.
Maybe this can help you https://github.com/Nyr/openvpn-install/issues/453
That log is your PC side though. We don't technically know you fixed it in the server side openvpn config file.
Re-install your OS and run these commands:
Well, install nginx, change the port and check if you can reach dat.
If you can, its a openvpn issue if not is a general issue with the forwarded ports or your pc is behind a firewall which blocks it.
Tried a different computer, on a different network?
Or just a different computer?
https://pastebin.com/1b4wx7mp
Please don't use root
it took ipv6 as default.useless for me.thanks for the suggestion though. .I am always selecting port within my assigned range.
upon selecting 'TCP' this time instead of UDP i am now getting connection refused error.