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
require("guiconfig.inc");
39
require_once("vpn.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
	}
122
	
123
	if (!$input_errors) {
124
		$pppoecfg['remoteip'] = $_POST['remoteip'];
125
		$pppoecfg['localip'] = $_POST['localip'];
126
		$pppoecfg['mode'] = $_POST['mode'];
127
		$pppoecfg['interface'] = $_POST['interface'];
128
		$pppoecfg['n_pppoe_units'] = $_POST['n_pppoe_units'];	
129
		$pppoecfg['pppoe_subnet'] = $_POST['pppoe_subnet'];
130
		$pppoecfg['radius']['server']['ip'] = $_POST['radiusserver'];
131
		$pppoecfg['radius']['server']['secret'] = $_POST['radiussecret'];
132
		$pppoecfg['radius']['server']['port'] = $_POST['radiusserverport'];
133
		$pppoecfg['radius']['server']['acctport'] = $_POST['radiusserveracctport'];
134
		$pppoecfg['radius']['server2']['ip'] = $_POST['radiusserver2'];
135
		$pppoecfg['radius']['server2']['secret2'] = $_POST['radiussecret2'];
136
		$pppoecfg['radius']['server2']['port'] = $_POST['radiusserver2port'];
137
		$pppoecfg['radius']['server2']['acctport'] = $_POST['radiusserver2acctport'];
138
		$pppoecfg['radius']['nasip'] = $_POST['radius_nasip'];
139
		$pppoecfg['radius']['acct_update'] = $_POST['radius_acct_update'];
140

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

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

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

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

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

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

    
182
?>
183

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

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

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

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

    
302
			<select name="interface" class="formselect" id="interface">
303
			  <?php
304
				$interfaces = get_configured_interface_with_descr();
305

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