Commit Graph

69 Commits

Author SHA1 Message Date
Alexander Marx
b376fae45c OpenVPN: Bugfix 10352: When opening advanced server options all fields are disabled under IE10 2013-04-29 12:57:01 +02:00
Alexander Marx
ab4cf06cff OpenVPN: Bugfix 10357, now when chaning an VPN N2N or editing an old one the ports are checked. 2013-04-28 05:47:50 +02:00
Stefan Schantl
75559f73dc Merge branch 'ovpn-client-pkg-download' into core67-merge 2013-03-03 13:37:15 +01:00
Alexander Marx
81da1b01e9 ovpnmain.cgi: Change check for pushed dhcp domains.
The Domainname is now checked against validdomainname instead of validfqdn,
so there's no need of a dotted domainname anymore.

Fixes #10262.
2013-03-03 13:23:49 +01:00
Alexander Marx
96096995ed ovpnmain.cgi: Fix downloading of client packages.
It was only possible to download the client packages if the OpenVPN server is running - which is very confusing.

Fixes #10300.
2013-03-01 19:25:15 +01:00
Arne Fitzenreiter
b34fdcae83 proxy: allow access to IPFire itself if nets are blocked.
This fixes missing pictures on blocking pages.
fixes #10138
2013-02-14 19:33:37 +01:00
Bernhard Bittner
f0ccae1819 ovpnmain.cgi: Fix typo. 2013-01-09 15:22:21 +01:00
Alexander Marx
b643120c01 OpenVPN CCD: Fix ccd filename when certificate has spaces in name. Now the filename gets an underscore to provide full functionality of openvpn. 2013-01-07 12:31:03 +01:00
Stefan Schantl
4f6e3ae3b8 ovpnmain.cgi: Fix client package creation.
Fix print aguments to fit with operation systems which uses \r\n on textfiles.

Fixes #10269.
2012-12-17 21:54:33 +01:00
Alexander Marx
82c809c752 OpenVPN ccd: fixed typos in ccd-files 2012-11-29 21:31:32 +01:00
Stefan Schantl
4cdf8b927a ovpnmain.cgi: Some cosmetic changes on the Net-to-Net section.
* Fix colspan of column.
* Check of mtu-disc and fragment or mssfix, before mtu will be performend.
2012-11-28 22:03:44 +01:00
Alexander Marx
e2429e8d34 OpenVPN ccd: created subnet checkfunction in general_functions, because ipsec needs this too!
This should prevent ipsec Hosts/Nets to have same ip addresses than openvpn Hosts/Nets
2012-11-28 20:24:59 +01:00
Alexander Marx
ac87f37110 OpenVPN ccd: fixed counter in static networks. Only 63 hosts are possible in /24 subnet Now IP-Range begins with ".2" 2012-11-28 20:18:14 +01:00
Alexander Marx
df9b48b753 OpenVPN ccd: added alphanumeric sort of static networks and under ROUTING, NONE is selected if no route is specified 2012-11-28 20:17:23 +01:00
Alexander Marx
5068ac3822 OpenVPN ccd: try to adapt changes to latest next branch. 2012-11-26 10:31:47 +01:00
Michael Tremer
b368a2f84d Merge remote-tracking branch 'stevee/next' into next 2012-11-23 12:58:40 +01:00
Alexander Marx
290007b3b0 openvpn ccd: Fix subnet mask validation. 2012-11-23 12:56:54 +01:00
Alexander Marx
52d08bcbd2 openvpn ccd: Minor fixes: iroute, delete route line.
Fixed several bugs:

1) iroute line not correctly printed in ccd file
2) route line was not deleted from server.conf when deleting a client
3) Routebox (client has access to these networks on ipfire site) did not show green,orange and blue when no static route was defined on ipfire
4) Green is no longer selected as default route in clientconfig.

Tested all Options with Windows 7 Client and Linux Mint 12
2012-11-23 12:56:47 +01:00
Stefan Schantl
1647059d74 ovpnmain.cgi: Check and only allow valid operation modes for mtu-disc.
In the past some unexpected things has been happened if the Path MTU Discovery not has been
configured.
2012-11-22 19:59:56 +01:00
Stefan Schantl
9e3b875694 ovpnmain.cgi: Path MTU Discovery defaults to Off on Net-to-Net connections. 2012-11-22 19:47:30 +01:00
Stefan Schantl
f2621c3190 Revert "openvpn.cgi: Respect if mtu-disc hasn't been configured yet."
This reverts commit a66e24bbfd.
2012-11-22 19:45:44 +01:00
Stefan Schantl
b228aaf09d ovpnmain.cgi: Path MTU Discovery defaults to Off on Net-to-Net connections. 2012-11-20 19:26:13 +01:00
Alexander Marx
e81be1e1ed openvpn ccd: Minor fixes.
some bugfixes, client advanced options no more visible under net-2-net config, blue network is recognized,
Fixed the bug with wrong ip address in ccd file.
2012-11-20 17:11:08 +01:00
Stefan Schantl
a66e24bbfd openvpn.cgi: Respect if mtu-disc hasn't been configured yet.
If mtu-disc has not been configured, the script anyway has write mtu-disc to the configuration files,
which has brocken them.
2012-11-19 21:07:55 +01:00
Stefan Schantl
350f298025 Merge branch 'ovpn-mtu-disc' into next
Conflicts:
	html/cgi-bin/ovpnmain.cgi
2012-11-17 13:10:05 +01:00
Alexander Marx
8c877a82f6 OpenVPN: Add CCD configuration GUI. 2012-11-16 17:08:49 +01:00
Stefan Schantl
2ee746be04 Add support for mtu-disc to openvpn.
OpenVPN now have support for an automaticaly mtu path discovery.
This feature can be enabled on roadwarrior or net-to-net connections.
It can be fully configured by using the webinterface.
2012-11-14 20:46:36 +01:00
Erik Kapfer
1de5c9454b openvpn: Fix fragment problem.
Bug #10220.

http://forum.ipfire.org/index.php/topic,6773.0.html
2012-09-17 20:55:37 +02:00
Michael Tremer
ae9f613950 ovpnmain.cgi: Sort out issues with FRAGMENT and MSSFIX.
Both had no proper default values which has been fixed.
2012-07-19 12:08:37 +02:00
Michael Tremer
6f7fcbf2ad openvpn: Properly handle fragment size.
Allow settings FRAGMENT=0.
2012-06-20 20:53:10 +02:00
Erik Kapfer
6140e7e0c2 openvpn: Introduce CCD. 2012-06-20 19:58:38 +02:00
Erik Kapfer
f6e1209344 openvpn: Honour DAYS_VALID for CA certificates. 2012-06-20 19:54:45 +02:00
Erik Kapfer
542b31d622 openvpn: Sort connections by name. 2012-06-20 19:54:09 +02:00
Nico Prenzel
8e148dc343 openvpn: Fix deletion of static routes. 2012-05-24 18:18:22 +02:00
Michael Tremer
54fd05358b Import VPN changes by the Special Interest Group.
See here for more details:
  http://lists.ipfire.org/pipermail/sig-vpn/2012-March/000031.html
2012-03-06 22:53:07 +01:00
Michael Tremer
cd0c0a0de7 Localize new OpenVPN features. 2011-09-16 11:12:09 +02:00
Alfred Haas
60f396d77d Update of ovpnmain.cgi. 2011-09-12 12:23:08 +02:00
Alfred Haas
18837a6a35 Updates :D 2011-09-07 19:27:46 +02:00
Alfred Haas
b278daf398 Updates :D 2011-09-05 22:56:49 +02:00
Alfred Haas
7c1d9faf27 Bugfixes on OpenVPN CGI. 2011-09-04 17:57:47 +02:00
Alfred Haas
d96c89eb06 Update of openvpn CGI scripts. 2011-08-18 14:29:51 +02:00
Alfred Haas
531f08359c Import new version of ovpnmain.cgi.
This fixes the import of the client package and creates
all necessary directories on its own.
2011-07-26 11:53:32 +02:00
Alfred Haas
ce9abb6627 Import ovpnmain.cgi with N2N support.
This is currently in development!
2011-07-18 12:28:33 +02:00
Christian Schmidt
f40fd7918a Changed openvpn CGI to create a CN without a blank as this may leed to errors when using the verify script.
Even removed the net2net display options. Host connections should be default now.
2011-04-09 12:33:29 +02:00
Jan Paul Tuecking
ee79343e3b Removed not working tap device. 2010-06-13 01:06:19 +02:00
Christian Schmidt
74225cce62 Fixed ovpn fragment flag not available if tcp is used. 2010-05-21 10:29:51 +02:00
Jan Paul Tuecking
a79fa1d627 Fixed bug 490
additional option is added to support crypto chips, but this is still disabled
2010-04-16 23:17:36 +02:00
Marcus Scholz
07675dc397 Fixed syntax of persist option for ovpn 2.1. 2009-09-06 13:51:21 +02:00
Marcus Scholz
7a1fb216e6 Fixed update script, added ovpn lease db + settings.
Besides an error in the update.sh file, openvpn now uses a lease file, to
to be able to "remember" dynamic ips not just for runtime but beyond reboots
or restarts of openvpn.
Also modified rootfiles and cgi as well as lfs.
2009-09-05 13:13:37 +02:00
root
2b29c22ee4 Reaply "Update openvpn from 2.0.9 to 2.1_rc19"
This reverts commit 98399e3b81.
2009-08-22 23:51:11 +02:00