Page 3 of 3

Re: OpenVPN Running, Not Connected

Posted: Thu Mar 28, 2013 5:16 am
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.

Re: OpenVPN Running, Not Connected

Posted: Thu Mar 28, 2013 6:16 am
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 :)

Re: OpenVPN Running, Not Connected

Posted: Mon Apr 01, 2013 7:16 am
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.

Re: OpenVPN Running, Not Connected

Posted: Fri Apr 05, 2013 3:18 pm
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.

Re: OpenVPN Running, Not Connected

Posted: Sun Apr 07, 2013 12:55 pm
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.

Re: OpenVPN Running, Not Connected

Posted: Mon Apr 08, 2013 4:14 am
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 ?

Re: OpenVPN Running, Not Connected

Posted: Mon Apr 08, 2013 4:31 am
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