OpenVPN Running, Not Connected

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Alan_smithee
Posts: 8
Joined: Mon Mar 25, 2013 4:38 pm

Re: OpenVPN Running, Not Connected

Post by Alan_smithee »

Changed rule 51 to

Code: Select all

year_day=$(date +%j | awk '{printf "%d", $1}')
And everything works like a charm.
I haven't tested changing rule 52 to

Code: Select all

EXPIRATION_MAX=$(( (365*(2038-$year)) - ${year_day//0} ))
but that will probably solve the issue to.

I would have never guessed what the issue was if I had waited two weeks :?
Thanks everyone that has put his time and effort into this.

Robertf
Posts: 14
Joined: Wed Mar 27, 2013 3:01 pm

Re: OpenVPN Running, Not Connected

Post by Robertf »

No probs,

Both methods address the same issue: getting rid of leading zeros, just in different ways.

I would stick to the one provided by Eric since this is the 'official' one :)

lori_2001
Posts: 5
Joined: Mon Apr 01, 2013 5:30 am

Re: OpenVPN Running, Not Connected

Post by lori_2001 »

I have one 1043nd, with 1.5.9.
After upgrade to the build from 30 march, 1.5.X (Built 20130331-0044 git@8db2ea1), i can save the credentials for OpenVPN, everything is ok.

Also, in Status, OpenVpn Status, i can acces, is ok. Previously, i could not acces, nor save credentials.

lori_2001
Posts: 5
Joined: Mon Apr 01, 2013 5:30 am

Re: OpenVPN Running, Not Connected

Post by lori_2001 »

Well, it seems theare are some problems.
Trying to conect with vpn clinet, i get:
Unable to obtain Session ID from xyz.no-ip.org:443: XML-RPC: ('301', 'Moved Permanently').
What is that meaning of the message?
The server looks ok: Running, Connected, IP: 10.8.0.1.
Thanks in advance.
I mention that i tried from lan and from outside, a 3g conection from anothe ISP.
I can acces the router interface from outside.

7PBHChD
Posts: 14
Joined: Tue Jan 08, 2013 6:55 am

Re: OpenVPN Running, Not Connected

Post by 7PBHChD »

There is one annoying issue with restoring settings and OpenVPN server does not start after that, although it was set up and running during backup. It is for all builds 1.5.9 and further. I do not know how it was before. Cannot start it from GUI, OpenVPN Server is set up but not running. When I try to save the settings it says that the port I set is already redirected.
Had to delete 'ra_openvpn' section from /etc/firewall config file and set OpenVPN from scratch. I sat OpenVPN on 443 TCP port .
Maybe, someone cannot save credentials due to the same issue.
Model:TP-Link TL-WR1043N/ND v1
Gargoyle Version:1.5.X (Built 20130404-0612 git@8db2ea1)

lori_2001
Posts: 5
Joined: Mon Apr 01, 2013 5:30 am

Re: OpenVPN Running, Not Connected

Post by lori_2001 »

I managed to conect to the OpenVPN server, (the router), with a client OpenVpn on my laptop, from outside.
To see the pc in my network, i have to install a OpenVPN client too on them ?

ispyisail
Moderator
Posts: 5212
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: OpenVPN Running, Not Connected

Post by ispyisail »

To see the pc in my network, i have to install a OpenVPN client too on them ?
no

You can't browse the network with the gargoyle setup of openVPN

You can connect with IP

Post Reply