my %optionsfw=();
my %ifaces=();
-my $VERSION='0.9.9.2';
+my $VERSION='0.9.9.3';
my $color;
my $confignet = "${General::swroot}/fwhosts/customnetworks";
my $confighost = "${General::swroot}/fwhosts/customhosts";
if (-f "${General::swroot}/forward/reread"){
print "<table border='0'><form method='post'><td><div style='font-size:11pt; font-weight: bold;vertical-align: middle; '><input type='submit' name='ACTION' value='$Lang::tr{'fwdfw reread'}' style='font-face: Comic Sans MS; color: red; font-weight: bold; font-size: 14pt; text-decoration: blink;'>    $Lang::tr{'fwhost reread'}</div</td></tr></table></form><hr><br>";
}
- &Header::openbox('100%', 'left', $Lang::tr{'firewall'});
+ &Header::openbox('100%', 'left', "");
print "<form method='post'>";
print "<table border='0'>";
print "<tr><td><input type='submit' name='ACTION' value='$Lang::tr{'fwdfw newrule'}'></td>";
}
}
&Header::openbox('100%', 'left', $Lang::tr{'fwdfw addrule'});
- if ($fwdfwsettings{'TIME'} eq 'ON'){
- $fwdfwsettings{'TIME_FROM'} = &timeconvert($fwdfwsettings{'TIME_FROM'},'');
- $fwdfwsettings{'TIME_TO'} = &timeconvert($fwdfwsettings{'TIME_TO'},'');
- }
-print "<form method='post'>";
+ print "<form method='post'>";
&Header::closebox();
&Header::openbox('100%', 'left', $Lang::tr{'fwdfw source'});
#------SOURCE-------------------------------------------------------
sub viewtablerule
{
&General::readhash("/var/ipfire/ethernet/settings", \%netsettings);
- &viewtablenew(\%configdmzfw,$configdmz,$Lang::tr{'fwdfw rules'},"DMZ" );
+ &viewtablenew(\%confignatfw,$confignat,"$Lang::tr{'fwdfw rules'}","Portforward / SNAT" );
&viewtablenew(\%configfwdfw,$configfwdfw,"","Forward" );
- &viewtablenew(\%configinputfw,$configinput,"",$Lang::tr{'external access'} );
&viewtablenew(\%configoutgoingfw,$configoutgoing,"","Outgoing" );
- &viewtablenew(\%confignatfw,$confignat,"","NAT" );
+ &viewtablenew(\%configinputfw,$configinput,"",$Lang::tr{'fwdfw xt access'} );
+ &viewtablenew(\%configdmzfw,$configdmz,"","DMZ" );
}
sub viewtablenew
{
'fwdfw additional' => 'Zusätzlich',
'fwdfw action' => 'Aktion',
'fwdfw menu' => 'Firewall',
-'fwdfw addrule' => 'Neue Regel hinzufügen:',
+'fwdfw addrule' => 'Regel hinzufügen/ändern:',
'fwdfw addr grp' => 'Adressgruppen:',
'fwdfw change' => 'Aktualisieren',
'fwdfw cust addr' => 'Custom Adressen:',
'fwdfw wd_fri' => 'Fr',
'fwdfw wd_sat' => 'Sa',
'fwdfw wd_sun' => 'So',
+'fwdfw xt access' => 'Zugriff auf Firewall',
'fwhost addgrp' => 'Gruppe:',
'fwhost addgrpname' => 'Gruppenname:',
'fwhost addhost' => 'Adresse:',
'fwhost addnet' => 'Netzwerk:',
-'fwhost addrule' => 'Neue Regel hinzufügen:',
+'fwhost addrule' => 'Regel hinzufügen/ändern:',
'fwhost any' => 'Alle',
'fwhost attention' => 'ACHTUNG',
'fwhost back' => 'Zurück',
'fwdfw additional' => 'Additional',
'fwdfw action' => 'Action',
'fwdfw menu' => 'Firewall',
-'fwdfw addrule' => 'Add new rule:',
+'fwdfw addrule' => 'Add/Edit rule:',
'fwdfw addr grp' => 'Adress groups:',
'fwdfw change' => 'Update',
'fwdfw cust addr' => 'Custom addresses:',
'fwdfw togglelog' => 'Activate or deactivate logging',
'fwdfw use nat' => 'Use NAT',
'fwdfw useless rule' => 'This rule is rejected (useless).',
-'fwdfw use srcport' => 'Use sourceport',
-'fwdfw use srv' => 'Use targetport',
+'fwdfw use srcport' => 'Use source port',
+'fwdfw use srv' => 'Use target port',
'fwdfw natport used' => 'The NAT port is already used by another DNAT rule',
'fwdfw newrule' => 'New rule',
'fwdfw wd_mon' => 'Mon',
'fwdfw wd_fri' => 'Fri',
'fwdfw wd_sat' => 'Sat',
'fwdfw wd_sun' => 'Sun',
+'fwdfw xt access' => 'Access to firewall',
'fwhost addgrp' => 'Group:',
'fwhost addgrpname' => 'Groupname:',
'fwhost addhost' => 'Address:',
'fwhost addnet' => 'Network:',
-'fwhost addrule' => 'Add new rule:',
+'fwhost addrule' => 'Add/Edit rule:',
'fwhost any' => 'Any',
'fwhost attention' => 'ATTENTION',
'fwhost back' => 'back',