Project

General

Profile

Download (20.8 KB) Statistics
| Branch: | Tag: | Revision:
1
<?php
2
/*
3
	vpn_pppoe.php
4
	part of pfSense
5
	
6
	Copyright (C) 2005 Scott Ullrich (sullrich@gmail.com)
7
	All rights reserved.
8
	
9
	Redistribution and use in source and binary forms, with or without
10
	modification, are permitted provided that the following conditions are met:
11
	
12
	1. Redistributions of source code must retain the above copyright notice,
13
	   this list of conditions and the following disclaimer.
14
	
15
	2. Redistributions in binary form must reproduce the above copyright
16
	   notice, this list of conditions and the following disclaimer in the
17
	   documentation and/or other materials provided with the distribution.
18
	
19
	THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
20
	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
21
	AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
22
	AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
23
	OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24
	SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25
	INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26
	CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27
	ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28
	POSSIBILITY OF SUCH DAMAGE.
29
*/
30

    
31
require("guiconfig.inc");
32

    
33
if (!is_array($config['pppoe']['radius'])) {
34
	$config['pppoe']['radius'] = array();
35
}
36
$pppoecfg = &$config['pppoe'];
37

    
38
$pconfig['remoteip'] = $pppoecfg['remoteip'];
39
$pconfig['localip'] = $pppoecfg['localip'];
40
$pconfig['mode'] = $pppoecfg['mode'];
41
$pconfig['interface'] = $pppoecfg['interface'];
42
$pconfig['n_pppoe_units'] = $pppoecfg['n_pppoe_units'];
43
$pconfig['pppoe_subnet'] = $pppoecfg['pppoe_subnet'];
44
$pconfig['pppoe_dns1'] = $pppoecfg['dns1'];
45
$pconfig['pppoe_dns2'] = $pppoecfg['dns2'];
46
$pconfig['radacct_enable'] = isset($pppoecfg['radius']['accounting']);
47
$pconfig['radiusissueips'] = isset($pppoecfg['radius']['radiusissueips']);
48
$pconfig['radiusenable'] = isset($pppoecfg['radius']['server']['enable']);
49
$pconfig['radiusserver'] = $pppoecfg['radius']['server']['ip'];
50
$pconfig['radiusserverport'] = $pppoecfg['radius']['server']['port'];
51
$pconfig['radiusserveracctport'] = $pppoecfg['radius']['server']['acctport'];
52
$pconfig['radiussecret'] = $pppoecfg['radius']['server']['secret'];
53
$pconfig['radiussecenable'] = isset($pppoecfg['radius']['server2']['enable']);
54
$pconfig['radiusserver2'] = $pppoecfg['radius']['server2']['ip'];
55
$pconfig['radiusserver2port'] = $pppoecfg['radius']['server2']['port'];
56
$pconfig['radiusserver2acctport'] = $pppoecfg['radius']['server2']['acctport'];
57
$pconfig['radiussecret2'] = $pppoecfg['radius']['server2']['secret2'];
58
$pconfig['radiusissueips'] = isset($pppoecfg['radius']['radiusissueips']);
59
$pconfig['radius_nasip'] = $pppoecfg['radius']['nasip'];
60
$pconfig['radius_acct_update'] = $pppoecfg['radius']['acct_update'];
61

    
62

    
63
if ($_POST) {
64

    
65
	unset($input_errors);
66
	$pconfig = $_POST;
67

    
68
	/* input validation */
69
	if ($_POST['mode'] == "server") {
70
		$reqdfields = explode(" ", "localip remoteip");
71
		$reqdfieldsn = explode(",", "Server address,Remote start address");
72
		
73
		if ($_POST['radiusenable']) {
74
			$reqdfields = array_merge($reqdfields, explode(" ", "radiusserver radiussecret"));
75
			$reqdfieldsn = array_merge($reqdfieldsn, 
76
				explode(",", "RADIUS server address,RADIUS shared secret"));
77
		}
78
		
79
		do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
80
		
81
		if (($_POST['localip'] && !is_ipaddr($_POST['localip']))) {
82
			$input_errors[] = "A valid server address must be specified.";
83
		}
84
		if (($_POST['subnet'] && !is_ipaddr($_POST['remoteip']))) {
85
			$input_errors[] = "A valid remote start address must be specified.";
86
		}
87
		if (($_POST['radiusserver'] && !is_ipaddr($_POST['radiusserver']))) {
88
			$input_errors[] = "A valid RADIUS server address must be specified.";
89
		}
90
		
91
		if (!$input_errors) {	
92
			$_POST['remoteip'] = $pconfig['remoteip'] = gen_subnet($_POST['remoteip'], $g['pppoe_subnet']);
93
			$subnet_start = ip2long($_POST['remoteip']);
94
			$subnet_end = ip2long($_POST['remoteip']) + $g['pppoe_subnet'] - 1;
95
						
96
			if ((ip2long($_POST['localip']) >= $subnet_start) && 
97
			    (ip2long($_POST['localip']) <= $subnet_end)) {
98
				$input_errors[] = "The specified server address lies in the remote subnet.";	
99
			}
100
			if ($_POST['localip'] == $config['interfaces']['lan']['ipaddr']) {
101
				$input_errors[] = "The specified server address is equal to the LAN interface address.";	
102
			}
103
		}
104
	} else {
105
		/* turning pppoe off, lets dump any custom rules */
106
		$rules = &$config['filter']['rule'];
107
		for($x=0; $x<count($rules); $x++) {
108
			if($rules[$x]['interface'] == "pppoe") { 
109
				unset($rules[$x]);
110
			}
111
		}
112
		unset($config['pppoe']);
113
		write_config();		
114
	}
115
	
116
	if (!$input_errors) {
117
		$pppoecfg['remoteip'] = $_POST['remoteip'];
118
		$pppoecfg['localip'] = $_POST['localip'];
119
		$pppoecfg['mode'] = $_POST['mode'];
120
		$pppoecfg['interface'] = $_POST['interface'];
121
		$pppoecfg['n_pppoe_units'] = $_POST['n_pppoe_units'];	
122
		$pppoecfg['pppoe_subnet'] = $_POST['pppoe_subnet'];
123
		$pppoecfg['radius']['server']['ip'] = $_POST['radiusserver'];
124
		$pppoecfg['radius']['server']['secret'] = $_POST['radiussecret'];
125
		$pppoecfg['radius']['server']['port'] = $_POST['radiusserverport'];
126
		$pppoecfg['radius']['server']['acctport'] = $_POST['radiusserveracctport'];
127
		$pppoecfg['radius']['server2']['ip'] = $_POST['radiusserver2'];
128
		$pppoecfg['radius']['server2']['secret2'] = $_POST['radiussecret2'];
129
		$pppoecfg['radius']['server2']['port'] = $_POST['radiusserver2port'];
130
		$pppoecfg['radius']['server2']['acctport'] = $_POST['radiusserver2acctport'];
131
		$pppoecfg['radius']['nasip'] = $_POST['radius_nasip'];
132
		$pppoecfg['radius']['acct_update'] = $_POST['radius_acct_update'];
133

    
134
 		if ($_POST['pppoe_dns1'] == "") 
135
        		unset($pppoecfg['dns1']);
136
		else
137
			$pppoecfg['dns1'] = $_POST['pppoe_dns1'];
138

    
139
 		if ($_POST['pppoe_dns2'] == "") 
140
        		unset($pppoecfg['dns2']);
141
		else
142
			$pppoecfg['dns2'] = $_POST['pppoe_dns2'];
143

    
144
		if($_POST['radiusenable'] == "yes")
145
			$pppoecfg['radius']['server']['enable'] = true;
146
		else
147
			unset($pppoecfg['radius']['server']['enable']);
148
			
149
		if($_POST['radiussecenable'] == "yes")
150
			$pppoecfg['radius']['server2']['enable'] = true;
151
		else
152
			unset($pppoecfg['radius']['server2']['enable']);
153
			
154
		if($_POST['radacct_enable'] == "yes")
155
			$pppoecfg['radius']['accounting'] = true;
156
		else
157
			unset($pppoecfg['radius']['accounting']);
158

    
159
		if($_POST['radiusissueips'] == "yes") {
160
			$pppoecfg['radius']['radiusissueips'] = true;
161
		} else
162
			unset($pppoecfg['radius']['radiusissueips']);
163

    
164
		write_config();
165
		
166
		$retval = 0;
167
		
168
		config_lock();
169
		$retval = vpn_setup();
170
		config_unlock();
171
		
172
		$savemsg = get_std_save_message($retval);
173
	}
174
}
175

    
176
$pgtitle = "VPN: PPPoE";
177
include("head.inc");
178

    
179
?>
180

    
181
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
182
<?php include("fbegin.inc"); ?>
183
<p class="pgtitle"><?=$pgtitle?></p>
184
<script language="JavaScript">
185
<!--
186
function get_radio_value(obj)
187
{
188
	for (i = 0; i < obj.length; i++) {
189
		if (obj[i].checked)
190
			return obj[i].value;
191
	}
192
	return null;
193
}
194

    
195
function enable_change(enable_over) {
196
	if ((get_radio_value(document.iform.mode) == "server") || enable_over) {
197
		document.iform.remoteip.disabled = 0;
198
		document.iform.localip.disabled = 0;
199
		document.iform.radiusenable.disabled = 0;
200
		document.iform.interface.disabled = 0;
201
		document.iform.n_pppoe_units.disabled = 0;		
202
		document.iform.pppoe_subnet.disabled = 0;		
203
		document.iform.pppoe_dns1.disabled = 0;
204
		document.iform.pppoe_dns2.disabled = 0;		
205
		if (document.iform.radiusenable.checked || enable_over) {
206
			document.iform.radacct_enable.disabled = 0;
207
			document.iform.radiusserver.disabled = 0;
208
			document.iform.radiussecret.disabled = 0;
209
			document.iform.radiusserverport.disabled = 0;
210
			document.iform.radiusserveracctport.disabled = 0;
211
			document.iform.radiusissueips.disabled = 0;
212
			document.iform.radius_nasip.disabled = 0;
213
			document.iform.radiusissueips.disabled = 0;
214
			document.iform.radius_nasip.disabled = 0;
215
			document.iform.radius_acct_update = 0;
216
			document.iform.radiussecenable.disabled = 0;
217
			if (document.iform.radiussecenable.checked || enable_over) {
218
				document.iform.radiusserver2.disabled = 0;
219
				document.iform.radiussecret2.disabled = 0;
220
				document.iform.radiusserver2port.disabled = 0;
221
				document.iform.radiusserver2acctport.disabled = 0;
222
			} else {
223

    
224
				document.iform.radiusserver2.disabled = 1;
225
				document.iform.radiussecret2.disabled = 1;
226
				document.iform.radiusserver2port.disabled = 1;
227
				document.iform.radiusserver2acctport.disabled = 1;
228
			}
229
		} else {
230
			document.iform.radacct_enable.disabled = 1;
231
			document.iform.radiusserver.disabled = 1;
232
			document.iform.radiussecret.disabled = 1;
233
			document.iform.radiusserverport.disabled = 1;
234
			document.iform.radiusserveracctport.disabled = 1;
235
			document.iform.radiusissueips.disabled = 1;
236
			document.iform.radius_nasip.disabled = 1;
237
			document.iform.radius_acct_update = 1;
238
			document.iform.radiussecenable.disabled = 1;
239
		}
240
	} else {
241
		document.iform.interface.disabled = 1;
242
		document.iform.n_pppoe_units.disabled = 1;		
243
		document.iform.pppoe_subnet.disabled = 1;		
244
		document.iform.remoteip.disabled = 1;
245
		document.iform.localip.disabled = 1;
246
		document.iform.pppoe_dns1.disabled = 1;
247
		document.iform.pppoe_dns2.disabled = 1;
248
		document.iform.radiusenable.disabled = 1;
249
		document.iform.radiussecenable.disabled = 1;
250
		document.iform.radacct_enable.disabled = 1;
251
		document.iform.radiusserver.disabled = 1;
252
		document.iform.radiussecret.disabled = 1;
253
		document.iform.radiusserverport.disabled = 1;
254
		document.iform.radiusserveracctport.disabled = 1;
255
		document.iform.radiusserver2.disabled = 1;
256
		document.iform.radiussecret2.disabled = 1;
257
		document.iform.radiusserver2port.disabled = 1;
258
		document.iform.radiusserver2acctport.disabled = 1;
259
		document.iform.radiusissueips.disabled = 1;
260
		document.iform.radius_nasip.disabled = 1;
261
		document.iform.radius_acct_update = 1;
262
	}
263
}
264
//-->
265
</script>
266
<form action="vpn_pppoe.php" method="post" name="iform" id="iform">
267
<?php if ($input_errors) print_input_errors($input_errors); ?>
268
<?php if ($savemsg) print_info_box($savemsg); ?>
269
<table width="100%" border="0" cellpadding="0" cellspacing="0">
270
  <tr><td class="tabnavtbl">
271
<?php
272
	$tab_array = array();
273
	$tab_array[0] = array("Configuration", true, "vpn_pppoe.php");
274
	$tab_array[1] = array("Users", false, "vpn_pppoe_users.php");
275
	display_top_tabs($tab_array);
276
?>  
277
  </td></tr>
278
  <tr> 
279
    <td>
280
	<div id="mainarea">
281
              <table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
282
                <tr> 
283
                  <td width="22%" valign="top" class="vtable">&nbsp;</td>
284
                  <td width="78%" class="vtable"> 
285
                    <input name="mode" type="radio" onclick="enable_change(false)" value="off"
286
				  	<?php if (($pconfig['mode'] != "server") && ($pconfig['mode'] != "redir")) echo "checked";?>>
287
                    Off</td>
288
		</tr>
289
                <tr> 
290
                  <td width="22%" valign="top" class="vtable">&nbsp;</td>
291
                  <td width="78%" class="vtable">
292
		    <input type="radio" name="mode" value="server" onclick="enable_change(false)" <?php if ($pconfig['mode'] == "server") echo "checked"; ?>>
293
                    Enable PPPoE server</td>
294
		</tr>
295

    
296
                <tr> 
297
                  <td width="22%" valign="top" class="vncell"><b>Interface</b></td>
298
                  <td width="78%" valign="top" class="vtable">
299

    
300
			<select name="interface" class="formfld" id="interface">
301
			  <?php
302
				$interfaces = array('lan' => 'LAN', 'wan' => 'WAN');
303
				for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
304
				      if (isset($config['interfaces']['opt' . $i]['enable']))
305
					      $interfaces['opt' . $i] = $config['interfaces']['opt' . $i]['descr'];
306
				}
307
				foreach ($interfaces as $iface => $ifacename):
308
			  ?>
309
			  <option value="<?=$iface;?>" <?php if ($iface == $pconfig['interface']) echo "selected"; ?>>
310
			  <?=htmlspecialchars($ifacename);?>
311
			  </option>
312
			  <?php endforeach; ?>
313
			</select> <br>			
314
                      
315
		  </td>
316
                </tr>
317
                <tr> 
318
                  <td width="22%" valign="top" class="vncellreq">Subnet netmask</td>
319
                  <td width="78%" class="vtable">
320
		    <select id="pppoe_subnet" name="pppoe_subnet">
321
		    <?php
322
		     for($x=0; $x<33; $x++) {
323
			if($x == $pconfig['pppoe_subnet'])
324
				$SELECTED = " SELECTED";
325
			else
326
				$SELECTED = "";
327
			echo "<option value=\"{$x}\"{$SELECTED}>{$x}</option>\n";			
328
		     }
329
		    ?>
330
		    </select>
331
		    <br>Hint: 24 is 255.255.255.0
332
                  </td>
333
		</tr>
334
                <tr> 
335
                  <td width="22%" valign="top" class="vncellreq">No. PPPOE users</td>
336
                  <td width="78%" class="vtable">
337
		    <select id="n_pppoe_units" name="n_pppoe_units">
338
		    <?php
339
		     for($x=0; $x<255; $x++) {
340
			if($x == $pconfig['n_pppoe_units'])
341
				$SELECTED = " SELECTED";
342
			else
343
				$SELECTED = "";
344
			echo "<option value=\"{$x}\"{$SELECTED}>{$x}</option>\n";			
345
		     }
346
		    ?>
347
		    </select>
348
		    <br>Hint: 10 is TEN pppoe clients
349
                  </td>
350
		</tr>
351
                <tr> 
352
                  <td width="22%" valign="top" class="vncellreq">Server address</td>
353
                  <td width="78%" class="vtable"> 
354
                    <?=$mandfldhtml;?><input name="localip" type="text" class="formfld" id="localip" size="20" value="<?=htmlspecialchars($pconfig['localip']);?>"> 
355
                    <br>
356
                    Enter the IP address the PPPoE server should use on its side 
357
                    for all clients.</td>
358
                </tr>
359
                <tr> 
360
                  <td width="22%" valign="top" class="vncellreq">Remote address range</td>
361
                  <td width="78%" class="vtable"> 
362
                    <?=$mandfldhtml;?><input name="remoteip" type="text" class="formfld" id="remoteip" size="20" value="<?=htmlspecialchars($pconfig['remoteip']);?>">
363
                    <br>
364
                    Specify the starting address for the client IP address subnet.<br>
365
                    </td>
366
                </tr>
367
                <tr> 
368
                  <td width="22%" valign="top" class="vncellreq">DNS servers</td>
369
                  <td width="78%" class="vtable"> 
370
                    <?=$mandfldhtml;?><input name="pppoe_dns1" type="text" class="formfld" id="pppoe_dns1" size="20" value="<?=htmlspecialchars($pconfig['pppoe_dns1']);?>">
371
                    <br>
372
			<input name="pppoe_dns2" type="text" class="formfld" id="pppoe_dns2" size="20" value="<?=htmlspecialchars($pconfig['pppoe_dns2']);?>">
373
                    <br>
374
                    If entered they will be given to all pppoe clients else lan dns and one wan dns will go to all clients<br>
375
                    </td>
376
                </tr>
377
                <tr> 
378
                  <td width="22%" valign="top" class="vncell">RADIUS</td>
379
                  <td width="78%" class="vtable"> 
380
                      <input name="radiusenable" type="checkbox" id="radiusenable" onclick="enable_change(false)" value="yes" <?php if ($pconfig['radiusenable']) echo "checked"; ?>>
381
                      <strong>Use a RADIUS server for authentication<br>
382
                      </strong>When set, all users will be authenticated using 
383
                      the RADIUS server specified below. The local user database 
384
                      will not be used.<br>
385
                      <br>
386
                      <input name="radacct_enable" type="checkbox" id="radacct_enable" onclick="enable_change(false)" value="yes" <?php if ($pconfig['radacct_enable']) echo "checked"; ?>>
387
                      <strong>Enable RADIUS accounting <br>
388
			 <br>
389
                      </strong>Sends accounting packets to the RADIUS server.<br>
390
                      <input name="radiussecenable" type="checkbox" id="radiussecenable" onclick="enable_change(false)" value="yes" <?php if ($pconfig['radiussecenable']) echo "checked"; ?>>
391
                      <strong>Use Backup Radius Server</strong><br>
392
                      When set, if primary server fails all requests will be sent via backup server</td>
393
                </tr>
394
                <tr> 
395
                  <td width="22%" valign="top" class="vncellreq">NAS IP ADDRESS</td>
396
                  <td width="78%" class="vtable"> 
397
                    <?=$mandfldhtml;?><input name="radius_nasip" type="text" class="formfld" id="radius_nasip" size="20" value="<?=htmlspecialchars($pconfig['radius_nasip']);?>">
398
                    <br>radius server NAS ip Address<br>
399
                    </td>
400
                </tr>
401
                <tr> 
402
                  <td width="22%" valign="top" class="vncellreq">Radius Accounting Update</td>
403
                  <td width="78%" class="vtable"> 
404
                    <?=$mandfldhtml;?><input name="radius_acct_update" type="text" class="formfld" id="radius_acct_update" size="20" value="<?=htmlspecialchars($pconfig['radius_acct_update']);?>">
405
                    <br>Radius accounting update period in seconds
406
                    </td>
407
                </tr>
408
                <tr> 
409
                  <td width="22%" valign="top" class="vncell">RADIUS issued IP's</td>
410
                  <td width="78%" valign="top" class="vtable">
411
                      <input name="radiusissueips" value="yes" type="checkbox" class="formfld" id="radiusissueips"<?php if($pconfig['radiusissueips']) echo " CHECKED"; ?>>
412
                      <br>Issue IP Addresses via RADIUS server.</td>
413
                </tr>
414
                <tr> 
415
                  <td width="22%" valign="top" class="vncell">RADIUS server Primary</td>
416
                  <td width="78%" class="vtable">
417
                      <input name="radiusserver" type="text" class="formfld" id="radiusserver" size="20" value="<?=htmlspecialchars($pconfig['radiusserver']);?>">
418
			 <input name="radiusserverport" type="text" class="formfld" id="radiusserverport" size="4" value="<?=htmlspecialchars($pconfig['radiusserverport']);?>">
419
			 <input name="radiusserveracctport" type="text" class="formfld" id="radiusserveracctport" size="4" value="<?=htmlspecialchars($pconfig['radiusserveracctport']);?>">
420
                      <br>Enter the IP address and portof the RADIUS server. Format ip auth_port acct_port<br>
421
			 <br> standard port 1812 and 1813 accounting</td>
422
                </tr>
423
                <tr> 
424
                  <td width="22%" valign="top" class="vncell">RADIUS primary shared secret</td>
425
                  <td width="78%" valign="top" class="vtable">
426
                      <input name="radiussecret" type="password" class="formfld" id="radiussecret" size="20" value="<?=htmlspecialchars($pconfig['radiussecret']);?>">
427
                      <br>Enter the shared secret that will be used to authenticate 
428
                      to the RADIUS server.</td>
429
                </tr>
430
                <tr> 
431
                  <td width="22%" valign="top" class="vncell">RADIUS server Secondary</td>
432
                  <td width="78%" class="vtable">
433
                      <input name="radiusserver2" type="text" class="formfld" id="radiusserver2" size="20" value="<?=htmlspecialchars($pconfig['radiusserver2']);?>">
434
			 <input name="radiusserver2port" type="text" class="formfld" id="radiusserver2port" size="4" value="<?=htmlspecialchars($pconfig['radiusserver2port']);?>">
435
			 <input name="radiusserver2acctport" type="text" class="formfld" id="radiusserver2acctport" size="4" value="<?=htmlspecialchars($pconfig['radiusserver2acctport']);?>">
436
                      <br>Enter the IP address and port of the BACKUP RADIUS server. Format ip auth_port acct_port<br>
437
			 <br> standard port 1812 and 1813 accounting</td>
438
                </tr>
439
                <tr> 
440
                  <td width="22%" valign="top" class="vncell">RADIUS secondary shared secret</td>
441
                  <td width="78%" valign="top" class="vtable">
442
                      <input name="radiussecret2" type="password" class="formfld" id="radiussecret2" size="20" value="<?=htmlspecialchars($pconfig['radiussecret2']);?>">
443
                      <br>
444
                      Enter the shared secret that will be used to authenticate 
445
                      to the RADIUS server.</td>
446
                </tr>
447
                <tr> 
448
                  <td height="16" colspan="2" valign="top"></td>
449
                </tr>
450
                <tr> 
451
                  <td width="22%" valign="top">&nbsp;</td>
452
                  <td width="78%"> 
453
                    <input name="Submit" type="submit" class="formbtn" value="Save" onclick="enable_change(true)"> 
454
                  </td>
455
                </tr>
456
                <tr> 
457
                  <td width="22%" valign="top">&nbsp;</td>
458
                  <td width="78%"><span class="vexpl"><span class="red"><strong>Note:<br>
459
                    </strong></span>don't forget to add a firewall rule to permit 
460
                    traffic from PPPoE clients!</span></td>
461
                </tr>
462
              </table>
463
	   </div>
464
	 </td>
465
	</tr>
466
</table>
467
</form>
468
<script language="JavaScript">
469
<!--
470
enable_change(false);
471
//-->
472
</script>
473
<?php include("fend.inc"); ?>
474
</body>
475
</html>
(168-168/175)