Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
d082d450
Commit
d082d450
authored
Jan 10, 2016
by
Manuel Faux
Committed by
Franco Fichtner
Jan 10, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Outbound NAT: enhanced description of NAT modes
parent
dd17b596
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
46 deletions
+32
-46
firewall_nat_out.php
src/www/firewall_nat_out.php
+32
-46
No files found.
src/www/firewall_nat_out.php
View file @
d082d450
...
...
@@ -268,42 +268,54 @@ include("head.inc");
<tbody>
<tr>
<td>
<input
name=
"mode"
type=
"radio"
value=
"automatic"
<?=
$mode
==
"automatic"
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<input
name=
"mode"
type=
"radio"
id=
"mode_automatic"
value=
"automatic"
<?=
$mode
==
"automatic"
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
</td>
<td>
<label
for=
"mode_automatic"
>
<strong>
<?=
gettext
(
"Automatic outbound NAT rule generation"
);
?>
<br
/>
<?=
gettext
(
"(IPsec passthrough includ
ed)"
);
?>
<?=
gettext
(
"(no manual rules can be us
ed)"
);
?>
</strong>
</label>
</td>
<td>
<input
name=
"mode"
type=
"radio"
value=
"hybrid"
<?=
$mode
==
"hybrid"
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<input
name=
"mode"
type=
"radio"
id=
"mode_hybrid"
value=
"hybrid"
<?=
$mode
==
"hybrid"
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
</td>
<td>
<label
for=
"mode_hybrid"
>
<strong>
<?=
gettext
(
"Hybrid O
utbound NAT rule generation"
);
?>
<br
/>
<?=
gettext
(
"(Automatic Outbound NAT + rules below
)"
);
?>
<?=
gettext
(
"Hybrid o
utbound NAT rule generation"
);
?>
<br
/>
<?=
gettext
(
"(automatically generated rules are applied after manual rules
)"
);
?>
</strong>
</label>
</td>
</tr>
<tr>
<td>
<input
name=
"mode"
type=
"radio"
value=
"advanced"
<?=
$mode
==
"advanced"
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<input
name=
"mode"
type=
"radio"
id=
"mode_advanced"
value=
"advanced"
<?=
$mode
==
"advanced"
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
</td>
<td>
<label
for=
"mode_advanced"
>
<strong>
<?=
gettext
(
"Manual O
utbound NAT rule generation"
);
?>
<br
/>
<?=
gettext
(
"(AON - Advanced Outbound NAT
)"
);
?>
<?=
gettext
(
"Manual o
utbound NAT rule generation"
);
?>
<br
/>
<?=
gettext
(
"(no automatic rules are being generated
)"
);
?>
</strong>
</label>
</td>
<td>
<input
name=
"mode"
type=
"radio"
value=
"disabled"
<?=
$mode
==
"disabled"
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<input
name=
"mode"
type=
"radio"
id=
"mode_disabled"
value=
"disabled"
<?=
$mode
==
"disabled"
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
</td>
<td>
<label
for=
"mode_disabled"
>
<strong>
<?=
gettext
(
"Disable O
utbound NAT rule generation"
);
?>
<br
/>
<?=
gettext
(
"(No Outbound NAT rules
)"
);
?>
<?=
gettext
(
"Disable o
utbound NAT rule generation"
);
?>
<br
/>
<?=
gettext
(
"(outbound NAT is disabled
)"
);
?>
</strong>
</label>
</td>
</tr>
<tr>
...
...
@@ -593,32 +605,6 @@ include("head.inc");
<?php
endif
;
?>
<section
class=
"col-xs-12"
>
<div
class=
"table-responsive content-box "
>
<table
class=
"table table-striped table-sort"
>
<tr>
<td>
<span
class=
"text-danger"
>
<strong>
<?=
gettext
(
"Note:"
);
?>
<br
/></strong>
</span>
<?=
gettext
(
"If automatic outbound NAT selected, a mapping is automatically created "
.
"for each interface's subnet (except WAN-type connections) and the rules "
.
"on
\"
Mappings
\"
section of this page are ignored.<br /><br /> "
.
"If manual outbound NAT is selected, outbound NAT rules will not be "
.
"automatically generated and only the mappings you specify on this page "
.
"will be used. <br /><br /> "
.
"If hybrid outbound NAT is selected, mappings you specify on this page will "
.
"be used, followed by the automatically generated ones. <br /><br />"
.
"If disable outbound NAT is selected, no rules will be used. <br /><br />"
.
"If a target address other than a WAN-type interface's IP address is used, "
.
"then depending on the way the WAN connection is setup, a "
);
?>
<a
href=
"firewall_virtual_ip.php"
>
<?=
gettext
(
"Virtual IP"
);
?>
</a>
<?=
gettext
(
" may also be required."
)
?>
</td>
</tr>
</table>
</div>
</section>
</form>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment