Project

General

Profile

« Previous | Next » 

Revision 129a4370

Added by Phil Davis over 8 years ago

More required fields for NAT pages

(cherry picked from commit 877be5e6205ada2608b364f57150010ba473e66d)

View differences:

src/usr/local/www/firewall_nat_1to1_edit.php
491 491

  
492 492
$section->addInput(new Form_Select(
493 493
	'interface',
494
	'Interface',
494
	'*Interface',
495 495
	$pconfig['interface'],
496 496
	$interfaces
497 497
))->setHelp('Choose which interface this rule applies to. In most cases "WAN" is specified.');
......
530 530

  
531 531
$section->add($group);
532 532

  
533
$group = new Form_Group('Destination');
533
$group = new Form_Group('*Destination');
534 534

  
535 535
$group->add(new Form_Checkbox(
536 536
	'dstnot',
src/usr/local/www/firewall_nat_edit.php
723 723

  
724 724
$section->addInput(new Form_Select(
725 725
	'interface',
726
	'Interface',
726
	'*Interface',
727 727
	$pconfig['interface'],
728 728
	$interfaces
729 729
))->setHelp('Choose which interface this rule applies to. In most cases "WAN" is specified.');
......
732 732

  
733 733
$section->addInput(new Form_Select(
734 734
	'proto',
735
	'Protocol',
735
	'*Protocol',
736 736
	$pconfig['proto'],
737 737
	array_combine(explode(" ", strtolower($protocols)), explode(" ", $protocols))
738 738
))->setHelp('Choose which protocol this rule should match. In most cases "TCP" is specified.');
src/usr/local/www/firewall_nat_npt_edit.php
227 227

  
228 228
$section->addInput(new Form_Select(
229 229
	'interface',
230
	'Interface',
230
	'*Interface',
231 231
	$pconfig['interface'],
232 232
	build_if_list()
233 233
))->setHelp('Choose which interface this rule applies to.' . '<br />' .
src/usr/local/www/firewall_nat_out_edit.php
504 504

  
505 505
$section->addInput(new Form_Select(
506 506
	'interface',
507
	'Interface',
507
	'*Interface',
508 508
	$pconfig['interface'],
509 509
	$interfaces
510 510
))->setHelp('The interface on which traffic is matched as it exits the firewall. In most cases this is "WAN" or another externally-connected interface.');
......
513 513

  
514 514
$section->addInput(new Form_Select(
515 515
	'protocol',
516
	'Protocol',
516
	'*Protocol',
517 517
	$pconfig['protocol'],
518 518
	array_combine(explode(" ", strtolower($protocols)), explode(" ", $protocols))
519 519
))->setHelp('Choose which protocol this rule should match. In most cases "any" is specified.');
......
543 543

  
544 544
$section->add($group);
545 545

  
546
$group = new Form_Group('Destination');
546
$group = new Form_Group('*Destination');
547 547

  
548 548
$group->add(new Form_Select(
549 549
	'destination_type',
......
582 582

  
583 583
$section->addInput(new Form_Select(
584 584
	'target',
585
	'Address',
585
	'*Address',
586 586
	$pconfig['target'],
587 587
	build_target_list()
588 588
))->setHelp(	'Connections matching this rule will be mapped to the specified <b>Address</b>.' . '<br />' .

Also available in: Unified diff