From 3da9a135d462261965170a7efbd9e654ad884b21 Mon Sep 17 00:00:00 2001
From: Scott Ullrich
Date: Tue, 25 Jan 2005 21:32:40 +0000
Subject: Add IPCOMP (IP Compression) support to IPSEC VPN's
---
usr/local/www/vpn_ipsec.php | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
(limited to 'usr/local')
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index f34c897..3863293 100755
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -8,7 +8,7 @@
originally part of m0n0wall (http://m0n0.ch/wall)
Copyright (C) 2003-2004 Manuel Kasper .
All rights reserved.
-
+
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -41,6 +41,7 @@ $wancfg = &$config['interfaces']['wan'];
$pconfig['enable'] = isset($config['ipsec']['enable']);
$pconfig['preferredoldsa'] = isset($config['ipsec']['preferredoldsa']);
+$pconfig['ipcomp'] = isset($config['ipsec']['ipcomp']);
if ($_POST) {
@@ -58,6 +59,7 @@ if ($_POST) {
$config['ipsec']['enable'] = $_POST['enable'] ? true : false;
$config['ipsec']['preferredoldsa'] = $_POST['preferredoldsa'] ? true : false;
+ $config['ipsec']['ipcomp'] = $_POST['ipcomp'] ? true : false;
write_config();
@@ -124,6 +126,11 @@ if ($_GET['act'] == "del") {
Prefer newer SA's.
+
+ >
+ Enable VPN IP Compression
+
+ |
--
cgit v1.1
|