diff options
author | mgrooms <mgrooms@shrew.net> | 2009-03-15 06:14:54 +0000 |
---|---|---|
committer | mgrooms <mgrooms@shrew.net> | 2009-03-15 06:18:35 +0000 |
commit | 4b96b3675a8ee4fd0d276ad0a7c3b8b93bd14cac (patch) | |
tree | 958b9cad6a732f92151e4d2fb4238125af08150c /usr/local/www/vpn_ipsec.php | |
parent | 030f0cb794e2cc477432aa108eceb3dd2a01a4b0 (diff) | |
download | pfsense-4b96b3675a8ee4fd0d276ad0a7c3b8b93bd14cac.zip pfsense-4b96b3675a8ee4fd0d276ad0a7c3b8b93bd14cac.tar.gz |
Modify IPsec code to allow for transport mode. All existing configurations are
marked as tunnel for backwards compatibility. There are problems with the spd
read code which Will likely choke on transport entries. We can fix this later.
Diffstat (limited to 'usr/local/www/vpn_ipsec.php')
-rwxr-xr-x | usr/local/www/vpn_ipsec.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php index c309986..d43f457 100755 --- a/usr/local/www/vpn_ipsec.php +++ b/usr/local/www/vpn_ipsec.php @@ -285,8 +285,11 @@ include("head.inc"); </div> <table class="tabcont" width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" id="tdph2-<?=$i?>" style="display:none"> <tr> + <td class="listhdrr">Mode</td> + <?php if($ph2ent['mode'] == "tunnel"): ?> <td class="listhdrr">Local Subnet</td> <td class="listhdrr">Remote Subnet</td> + <?php endif; ?> <td class="listhdrr">P2 Protocol</td> <td class="listhdrr">P2 Transforms</td> <td class="listhdrr">P2 Auth Methods</td> @@ -315,6 +318,12 @@ include("head.inc"); <td nowrap class="listlr"> <?=$spans;?> + <?=$ph2ent['mode'];?> + <?=$spane;?> + </td> + <?php if($ph2ent['mode'] == "tunnel"): ?> + <td nowrap class="listr"> + <?=$spans;?> <?=ipsec_idinfo_to_text($ph2ent['localid']); ?> <?=$spane;?> </td> @@ -323,6 +332,7 @@ include("head.inc"); <?=ipsec_idinfo_to_text($ph2ent['remoteid']); ?> <?=$spane;?> </td> + <?php endif; ?> <td nowrap class="listr"> <?=$spans;?> <?php echo $p2_protos[$ph2ent['protocol']]; ?> |