webif: Add a GUI for configuring VLAN interfaces

This patch adds a new CGI file which allows users to edit the
VLAN configuration as well as configuring zones as bridges.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Florian Bührle
2019-05-08 11:56:18 +01:00
committed by Michael Tremer
parent a494174979
commit 1dcf513a41
15 changed files with 638 additions and 0 deletions

View File

@@ -961,6 +961,7 @@
'err rs 6 decrypt' => 'Fehler beim Entschlüsseln des Archivs',
'err rs 7 untartst' => 'Ungültiges entschlüsseltes Archiv',
'err rs 8 untar' => 'Fehler beim un-tar-en des Archivs',
'error' => 'Fehler',
'error config' => 'Kann /var/ipfire/ovpn/config/ZERINA.ovpn nicht öffnen!',
'error external access' => 'Kann /var/ipfire/xtaccess/config nicht öffnen (external acccess could not be granted)!',
'error messages' => 'Fehlermeldungen',
@@ -2879,6 +2880,19 @@
'you can only define one roadwarrior connection when using pre-shared key authentication' => 'Sie können nur eine Roadwarrior-Verbindung definieren, wenn die Pre-shared-Schlüsselauthentifizierung verwendet wird.<br/>Entweder haben Sie bereits eine Roadwarrior-Verbindung mit Pre-shared-Schlüsselauthentifizierung, oder Sie versuchen gerade, eine hinzuzufügen.',
'your department' => 'Ihre Abteilung',
'your e-mail' => 'Ihre E-Mail-Adresse',
'zoneconf access native' => 'Nativ',
'zoneconf access none' => 'Keine',
'zoneconf access vlan' => 'VLAN',
'zoneconf nic assignment' => 'Netzwerkkarten-Zuordnung',
'zoneconf nicmode bridge' => 'Brücke',
'zoneconf nicmode default' => 'Normal',
'zoneconf nicmode macvtap' => 'Macvtap',
'zoneconf title' => 'Zonen einrichten',
'zoneconf val native assignment error' => 'Eine Netzwerkkarte kann nicht von mehreren Zonen nativ verwendet werden.',
'zoneconf val ppp assignment error' => 'Die Netzwerkkarte, die von RED im PPP-Modus verwendet wird, kann keiner anderen Zone zugeordnet werden.',
'zoneconf val vlan amount assignment error' => 'Pro Zone kann nur ein VLAN verwendet werden.',
'zoneconf val vlan tag assignment error' => 'Pro Netzwerkkarte kann derselbe VLAN-Tag nur einmal verwendet werden.',
'zoneconf warning incorrect configuration' => 'Achtung: Fehlerhafte Einstellungen können dazu führen, dass diese Webseite nicht mehr erreichbar ist!',
);
#EOF

View File

@@ -991,6 +991,7 @@
'err rs 6 decrypt' => 'Error decrypting archive',
'err rs 7 untartst' => 'Invalid decrypted archive',
'err rs 8 untar' => 'Error untarring archive',
'error' => 'Error',
'error config' => 'Could not open /var/ipfire/ovpn/config/ZERINA.ovpn !',
'error external access' => 'Could not open /var/ipfire/xtaccess/config (external acccess could not be granted)!',
'error messages' => 'Error messages',
@@ -2928,6 +2929,19 @@
'you can only define one roadwarrior connection when using pre-shared key authentication' => 'You can only define one Roadwarrior connection when using pre-shared key authentication.<br />Either you already have a Roadwarrior connection with pre-shared key authentication, or you\'re trying to add one now.',
'your department' => 'Your department',
'your e-mail' => 'Your e-mail address',
'zoneconf access native' => 'Native',
'zoneconf access none' => 'None',
'zoneconf access vlan' => 'VLAN',
'zoneconf nic assignment' => 'NIC Assignment',
'zoneconf nicmode bridge' => 'Bridge',
'zoneconf nicmode default' => 'Default',
'zoneconf nicmode macvtap' => 'Macvtap',
'zoneconf title' => 'Zone Configuration',
'zoneconf val native assignment error' => 'A NIC can\'t be accessed natively by more than one zone.',
'zoneconf val ppp assignment error' => 'The NIC used for RED in PPP mode can\'t be accessed by any other zone.',
'zoneconf val vlan amount assignment error' => 'A zone can\'t have more than one VLAN assigned.',
'zoneconf val vlan tag assignment error' => 'You can\'t use the same VLAN tag more than once per NIC.',
'zoneconf warning incorrect configuration' => 'Warning: Incorrect configuration may render this web interface unreachable!',
);
#EOF