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
##|+PRIV
32
##|*IDENT=page-services-pppoeserver
33
##|*NAME=Services: PPPoE Server page
34
##|*DESCR=Allow access to the 'Services: PPPoE Server' page.
35
##|*MATCH=vpn_pppoe.php*
36
##|-PRIV
37

    
38

    
39
require("guiconfig.inc");
40

    
41
if (!is_array($config['pppoe']['radius'])) {
42
	$config['pppoe']['radius'] = array();
43
}
44
$pppoecfg = &$config['pppoe'];
45

    
46
$pconfig['remoteip'] = $pppoecfg['remoteip'];
47
$pconfig['localip'] = $pppoecfg['localip'];
48
$pconfig['mode'] = $pppoecfg['mode'];
49
$pconfig['interface'] = $pppoecfg['interface'];
50
$pconfig['n_pppoe_units'] = $pppoecfg['n_pppoe_units'];
51
$pconfig['pppoe_subnet'] = $pppoecfg['pppoe_subnet'];
52
$pconfig['pppoe_dns1'] = $pppoecfg['dns1'];
53
$pconfig['pppoe_dns2'] = $pppoecfg['dns2'];
54
$pconfig['radacct_enable'] = isset($pppoecfg['radius']['accounting']);
55
$pconfig['radiusissueips'] = isset($pppoecfg['radius']['radiusissueips']);
56
$pconfig['radiusenable'] = isset($pppoecfg['radius']['server']['enable']);
57
$pconfig['radiusserver'] = $pppoecfg['radius']['server']['ip'];
58
$pconfig['radiusserverport'] = $pppoecfg['radius']['server']['port'];
59
$pconfig['radiusserveracctport'] = $pppoecfg['radius']['server']['acctport'];
60
$pconfig['radiussecret'] = $pppoecfg['radius']['server']['secret'];
61
$pconfig['radiussecenable'] = isset($pppoecfg['radius']['server2']['enable']);
62
$pconfig['radiusserver2'] = $pppoecfg['radius']['server2']['ip'];
63
$pconfig['radiusserver2port'] = $pppoecfg['radius']['server2']['port'];
64
$pconfig['radiusserver2acctport'] = $pppoecfg['radius']['server2']['acctport'];
65
$pconfig['radiussecret2'] = $pppoecfg['radius']['server2']['secret2'];
66
$pconfig['radiusissueips'] = isset($pppoecfg['radius']['radiusissueips']);
67
$pconfig['radius_nasip'] = $pppoecfg['radius']['nasip'];
68
$pconfig['radius_acct_update'] = $pppoecfg['radius']['acct_update'];
69

    
70

    
71
if ($_POST) {
72

    
73
	unset($input_errors);
74
	$pconfig = $_POST;
75

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

    
142
 		if ($_POST['pppoe_dns1'] == "") 
143
        		unset($pppoecfg['dns1']);
144
		else
145
			$pppoecfg['dns1'] = $_POST['pppoe_dns1'];
146

    
147
 		if ($_POST['pppoe_dns2'] == "") 
148
        		unset($pppoecfg['dns2']);
149
		else
150
			$pppoecfg['dns2'] = $_POST['pppoe_dns2'];
151

    
152
		if($_POST['radiusenable'] == "yes")
153
			$pppoecfg['radius']['server']['enable'] = true;
154
		else
155
			unset($pppoecfg['radius']['server']['enable']);
156
			
157
		if($_POST['radiussecenable'] == "yes")
158
			$pppoecfg['radius']['server2']['enable'] = true;
159
		else
160
			unset($pppoecfg['radius']['server2']['enable']);
161
			
162
		if($_POST['radacct_enable'] == "yes")
163
			$pppoecfg['radius']['accounting'] = true;
164
		else
165
			unset($pppoecfg['radius']['accounting']);
166

    
167
		if($_POST['radiusissueips'] == "yes") {
168
			$pppoecfg['radius']['radiusissueips'] = true;
169
		} else
170
			unset($pppoecfg['radius']['radiusissueips']);
171

    
172
		write_config();
173
		
174
		$retval = 0;
175
		$retval = vpn_setup();
176
		$savemsg = get_std_save_message($retval);
177
	}
178
}
179

    
180
$pgtitle = array("Services","PPPoE Server");
181
include("head.inc");
182

    
183
?>
184

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

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

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

    
299
                <tr> 
300
                  <td width="22%" valign="top" class="vncell"><b>Interface</b></td>
301
                  <td width="78%" valign="top" class="vtable">
302

    
303
			<select name="interface" class="formselect" id="interface">
304
			  <?php
305
				$interfaces = get_configured_interface_with_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 unknown" 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 unknown" 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 unkown" id="pppoe_dns1" size="20" value="<?=htmlspecialchars($pconfig['pppoe_dns1']);?>">
371
                    <br>
372
			<input name="pppoe_dns2" type="text" class="formfld unknown" 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 unknown" 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 unknown" 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 unknown" id="radiusserver" size="20" value="<?=htmlspecialchars($pconfig['radiusserver']);?>">
418
			 <input name="radiusserverport" type="text" class="formfld unknown" id="radiusserverport" size="4" value="<?=htmlspecialchars($pconfig['radiusserverport']);?>">
419
			 <input name="radiusserveracctport" type="text" class="formfld unknown" 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 pwd" 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 unknown" id="radiusserver2" size="20" value="<?=htmlspecialchars($pconfig['radiusserver2']);?>">
434
			 <input name="radiusserver2port" type="text" class="formfld unknown" id="radiusserver2port" size="4" value="<?=htmlspecialchars($pconfig['radiusserver2port']);?>">
435
			 <input name="radiusserver2acctport" type="text" class="formfld unknown" 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 pwd" 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>
(199-199/206)