Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 23 November 2024, 10:15:02 am

Login with username, password and session length

Visit the Official Endian Reference Manual  HERE
14258 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  VPN Support
| | |-+  OpenVPN change Port & Protocole Fix
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: OpenVPN change Port & Protocole Fix  (Read 10563 times)
Safarir
Jr. Member
*
Offline Offline

Posts: 2


« on: Friday 14 January 2011, 10:18:12 am »

Hi Everyone,

(Sorry for my bad english)

I just install endian 3 hours ago and I just love it even if there is a lot of bug. So I decide to fix the bug that dont allow you to change the openvpn port or protocol.

The bug was the result of the web interface that was setting the port and protocole setting as PORT and PROTOCOL in the /var/efw/openvpn/settings file when the script was looking for OPENVPN_PORT and OPENVPN_PROTOCOL. He you want, you can simply change these name in the file and manually restart the vpn but you will lose all your modification as soon as you make modification in the advanced tab of the web interface.

So I decide to fix the web interface so that it will write the good parameters name in the file. All you have to do to correct the bug is to replace the original file with mine with this command:
Code:
scp openvpn_advanced.cgi root@<endian_ip>:/home/httpd/cgi-bin/

Have a good time and sorry again for my bad english


oohh and BTW: No gmail adress on the forum, that is just sh*t

Charles-Xavier Roy
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.063 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com