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['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'], $g['pppoe_subnet']);
101
			$subnet_start = ip2long($_POST['remoteip']);
102
			$subnet_end = ip2long($_POST['remoteip']) + $g['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'] == $config['interfaces']['lan']['ipaddr']) {
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
		
176
		config_lock();
177
		$retval = vpn_setup();
178
		config_unlock();
179
		
180
		$savemsg = get_std_save_message($retval);
181
	}
182
}
183

    
184
$pgtitle = array("Services","PPPoE Server");
185
include("head.inc");
186

    
187
?>
188

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

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

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

    
303
                <tr> 
304
                  <td width="22%" valign="top" class="vncell"><b>Interface</b></td>
305
                  <td width="78%" valign="top" class="vtable">
306

    
307
			<select name="interface" class="formselect" id="interface">
308
			  <?php
309
				$interfaces = get_configured_interface_with_descr();
310

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