Welcome, Guest. Please login or register.
Did you miss your activation email?
Tuesday 24 December 2024, 12:04:20 pm

Login with username, password and session length

Download the latest community FREE version  HERE
14262 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 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: OpenVPN change Port & Protocole Fix  (Read 12339 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.047 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com