OpenVPN problems

Pratyay67
Posts: 17
Joined: Mon Oct 03, 2016 9:00 am

OpenVPN problems

Postby Pratyay67 » Fri Oct 07, 2016 11:57 am

I installed the openVPN app on my Amahi HDA.

I forwarded the port on my Netgear AC750 router as: Port No: 1154 (both starting and ending, for both internal and external), UCP.
The internal IP: 192.168.1.5 (the HDA static IP)

Then I checked the openVPN tester on the HDA control panel, and it said "Inactive..Activate it". I rebooted the HDA as well as the router, to get the same message once again when I checked. Then I changed to TCP, as suggested in another discussion (where it worked switching to TCP), with no avail. I still got the same message.
I ran the windows openVPN client and each time the log stops at a line (with the current state still "connecting") which looks something like this:
UDPv4 link remote: (My internet IP address):1194

What's the way around this? I need help.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: OpenVPN problems

Postby bigfoot65 » Fri Oct 07, 2016 1:43 pm

Recommend you check out OpenVPN Troubleshooting guide.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Pratyay67
Posts: 17
Joined: Mon Oct 03, 2016 9:00 am

Re: OpenVPN problems

Postby Pratyay67 » Tue Oct 11, 2016 8:05 am

I tried every possible internet resource, but still haven't been able to reach a solution. Every time I start the HDA and go the 'servers' tab in the dashboard, it shows with a red icon that the OpenVPN server is stopped. And no matter how many times I try to re-start it by the options just below, it won't start.
When I re-install the plugin itself, just after that, it shows that the OpenVPN server is running, but when I test it from the control panel, it shows the same message, 'Inactive..Enable it'.
When I reboot my HDA after that, it goes back to the red icon saying the openVPN server isn't running.

Help me out please, my resources have exhausted.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: OpenVPN problems

Postby bigfoot65 » Tue Oct 11, 2016 9:48 am

Every time I start the HDA and go the 'servers' tab in the dashboard, it shows with a red icon that the OpenVPN server is stopped.
This is related to bug 1910 and should not affect the actual service.

Try the following:

Code: Select all

sudo systemctl status openvpn
but when I test it from the control panel, it shows the same message, 'Inactive..Enable it'.
The tester is not reliable on amahi.org. The key will be what the above command returns.

Also, your ISP could be blocking port 1194 or a firewall on your network. Have you checked out OpenVPN troubleshooting guidance? There may be some help there for your situation.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Pratyay67
Posts: 17
Joined: Mon Oct 03, 2016 9:00 am

Re: OpenVPN problems

Postby Pratyay67 » Thu Oct 13, 2016 9:40 am

Try the following:

Code: Select all
sudo systemctl status openvpn
Like you suggested, I ran it from the terminal, and it returned the two lines.

Loaded: not found (Reason: No such file or directory)
Active: Inactive (dead)

I tried changing the port to 443 from 1194 following the troubleshooting guide, but it didn't help.

Help me out.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: OpenVPN problems

Postby bigfoot65 » Thu Oct 13, 2016 10:14 am

Please provide the URL for the following:

Code: Select all

apaste --sysinfo
Try the following command:

Code: Select all

sudo systemctl status openvpn@amahi
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Pratyay67
Posts: 17
Joined: Mon Oct 03, 2016 9:00 am

Re: OpenVPN problems

Postby Pratyay67 » Thu Oct 13, 2016 10:48 am

Please provide the URL for the following:
https://paste.fedoraproject.org/449672/80488147

Re:
Well, I ran the command with @amahi added,

sudo systemctl status openvpn@amahi

and it showed it is working.

loaded : loaded
Active: Active (running) (in green)

Pratyay67
Posts: 17
Joined: Mon Oct 03, 2016 9:00 am

Re: OpenVPN problems

Postby Pratyay67 » Thu Oct 13, 2016 11:42 am

Well, then I connected my laptop to my cellphone data, and tried connecting through the HDAConnect tool in windows.

The log stops at:

Fri Oct 14 00:11:10 2016 UDPv4 link remote: (My External IP):1194

It doesn't connect.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: OpenVPN problems

Postby bigfoot65 » Thu Oct 13, 2016 12:15 pm

It could be the port forwarding is not correct with your router. Did you check how to forward ports on it in the instructions?

Another issue could be a firewall on the router or network blocking traffic. I presume you only have 1 subnet and router on this network, correct.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Pratyay67
Posts: 17
Joined: Mon Oct 03, 2016 9:00 am

Re: OpenVPN problems

Postby Pratyay67 » Thu Oct 13, 2016 12:29 pm

For the port forwarding part:

Router: Netgear AC750
Service Type: UDP
External starting/ending port: 1194 (both)
Internal starting/ending port: 1194 (both)

I really don't have the resources to verify whether this is correct, so maybe you could help me out a bit.

As for your second question, my home network consists of 3 routers (one master and two slaves; the slaves connected LAN-LAN to the master with DHCP turned off).
And yes, I have one subnet set up on the master router.
I can't know (because of my limitations in knowledge) whether the services are being blocked by firewall; again maybe you could shed some light on it, can't you? :D :D

Who is online

Users browsing this forum: No registered users and 26 guests