mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-11 03:28:36 +01:00
Minor fix to exposed host
This commit is contained in:
parent
2275454efa
commit
c785edac75
1 changed files with 24 additions and 26 deletions
|
|
@ -1,30 +1,28 @@
|
|||
<luci-layout-with-sidebar>
|
||||
<div ng-controller="InternetExHostPageCtrl">
|
||||
<luci-config>
|
||||
<luci-config-heading>{{'Exposed Host'|translate}}</luci-config-heading>
|
||||
<luci-config-section >
|
||||
<luci-config-info>{{'internet.exposed_host.info'|translate}}</luci-config-info>
|
||||
<luci-config-lines>
|
||||
<luci-config-line title="{{'Exposed Host Function'|translate}}">
|
||||
<switch id="enabled" name="enabled" ng-model="firewall.dmz.enabled.value" class="green"></switch>
|
||||
</luci-config-line>
|
||||
</luci-config-lines>
|
||||
</luci-config-section>
|
||||
<luci-config-section ng-show="firewall.dmz.enabled.value">
|
||||
<div class="alert alert-danger">
|
||||
<p translate><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> Warning: By using the exposed host function you bypass the firewall of your {{config.friendly_name}}. Please make sure that your computer is protected against attacks from Internet. The following ports will not be forwarded: {{ nonforwardedPorts || 'None'}}.</p>
|
||||
</div>
|
||||
<p translate>Choose the local IP address that should be exposed to Internet. Additionally you should configure this IP address as static DHCP address for your device (see Settings/Network).</p>
|
||||
<luci-config-lines>
|
||||
<luci-config-line title="{{'Public IP Address'|translate}}">
|
||||
<strong>{{wan.ip}}</strong>
|
||||
</luci-config-line>
|
||||
<luci-config-line title="{{'Local IP Address'|translate}}">
|
||||
<input type="text" class="form-control" placeholder="{{'ip.address.label'|translate}}" ng-model="firewall.dmz.host.value"/>
|
||||
</luci-config-line>
|
||||
</luci-config-lines>
|
||||
<luci-config-apply></luci-config-apply>
|
||||
</luci-config-section>
|
||||
</luci-config>
|
||||
<luci-config-heading>{{'Exposed Host'|translate}}</luci-config-heading>
|
||||
<luci-config-section >
|
||||
<luci-config-info>{{'internet.exposed_host.info'|translate}}</luci-config-info>
|
||||
<luci-config-lines>
|
||||
<luci-config-line title="{{'Exposed Host Function'|translate}}">
|
||||
<switch id="enabled" name="enabled" ng-model="firewall.dmz.enabled.value" class="green"></switch>
|
||||
</luci-config-line>
|
||||
</luci-config-lines>
|
||||
</luci-config-section>
|
||||
<luci-config-section ng-show="firewall.dmz.enabled.value">
|
||||
<div class="alert alert-danger">
|
||||
<p translate><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> Warning: By using the exposed host function you bypass the firewall of your {{config.friendly_name}}. Please make sure that your computer is protected against attacks from Internet. The following ports will not be forwarded: {{ nonforwardedPorts || 'None'}}.</p>
|
||||
</div>
|
||||
<p translate>Choose the local IP address that should be exposed to Internet. Additionally you should configure this IP address as static DHCP address for your device (see Settings/Network).</p>
|
||||
<luci-config-lines>
|
||||
<luci-config-line title="{{'Public IP Address'|translate}}">
|
||||
<strong>{{wan.ip}}</strong>
|
||||
</luci-config-line>
|
||||
<luci-config-line title="{{'Local IP Address'|translate}}">
|
||||
<input type="text" class="form-control" placeholder="{{'ip.address.label'|translate}}" ng-model="firewall.dmz.host.value"/>
|
||||
</luci-config-line>
|
||||
</luci-config-lines>
|
||||
</luci-config-section>
|
||||
<luci-config-apply></luci-config-apply>
|
||||
</div>
|
||||
</luci-layout-with-sidebar>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue