aboutsummaryrefslogtreecommitdiff
path: root/security/kovpn/files
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-03 21:08:02 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-03 21:08:02 +0000
commit76dc862617320c84903357dce56be84fbcc6496d (patch)
treeaa838ba8198bfd5c12170025c0ba3725844c1c35 /security/kovpn/files
parent556814f32251471994a2d708b9f62d1db5a6ff66 (diff)
downloadports-76dc862617320c84903357dce56be84fbcc6496d.tar.gz
ports-76dc862617320c84903357dce56be84fbcc6496d.zip
Notes
Diffstat (limited to 'security/kovpn/files')
-rw-r--r--security/kovpn/files/README39
-rw-r--r--security/kovpn/files/patch-src-openvpnmanager.cpp11
2 files changed, 50 insertions, 0 deletions
diff --git a/security/kovpn/files/README b/security/kovpn/files/README
new file mode 100644
index 000000000000..749873fb44d4
--- /dev/null
+++ b/security/kovpn/files/README
@@ -0,0 +1,39 @@
+Kovpn's configuration steps
+
+First of all, you have to enable OpenVPN's management interface either by
+modifying its configuration file or by adding command line options.
+
+ o Modifying OpenVPN's configurations files:
+ + Add these lines to every OpenVPNconfiguration file you have.
+
+ management 127.0.0.1 11194 pwfile.txt
+ management-query-passwords
+ management-hold
+
+ NOTE: If you have any problems with configuring OpenVPN or if there are
+ obscurities, please take a look at the OpenVPN sample config file.
+
+ o Adding command line options:
+ + Set the openvpn_flags on /etc/rc.conf file:
+
+ openvpn_flags="--management 127.0.0.1 11194 pwfile.txt
+ --management-query-passwords
+ --management-hold"
+
+ o Restart OpenVPN server
+
+The next thing you have to to is to configure kovpn itself.
+ o Start kovpn
+ o right-click on kovpn's icon in the system tray to open the popup menu.
+ o left-click on the "Configure kovpn" menu item.
+ o Go to the page "OpenVPN" (which should already be on top).
+ o Click on the "Add" Button on the right side to add a new OpenVPN connection.
+ o Fill in the fields in the "OpenVPN connection" dialog.
+ + Name can be choosen freely but must be unique
+ + Host must be the hostname you told OpenVPN
+ (the management option in the first step)
+ + Port must be the port you told OpenVPN
+ (the management option in the first step)
+ o The other options are not important for kovpn to work but can raise your
+ comfort.
+ o That's it click on all OKs and your done.
diff --git a/security/kovpn/files/patch-src-openvpnmanager.cpp b/security/kovpn/files/patch-src-openvpnmanager.cpp
new file mode 100644
index 000000000000..52f51cd6be7b
--- /dev/null
+++ b/security/kovpn/files/patch-src-openvpnmanager.cpp
@@ -0,0 +1,11 @@
+--- src/openvpnmanager.cpp Fri Mar 31 21:56:53 2006
++++ src/openvpnmanager.cpp Tue Apr 11 16:27:47 2006
+@@ -159,7 +159,7 @@
+ mConnectionWanted = false;
+ mForce = false;
+ command( "hold on\n" ); /* OpenVPN does imediatelly reconnect without the hold release. */
+- command( "signal SIGUSR1\n" );
++ command( "signal SIGHUP\n" );
+ }
+
+ void openVPNManager::ovpnReconnect()