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
cb2e961a
Commit
cb2e961a
authored
Aug 18, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall: fix typo
(cherry picked from commit
5f50315c
)
parent
9b74e3c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
main.xml
...pnsense/mvc/app/controllers/OPNsense/Proxy/forms/main.xml
+2
-2
firewall_nat_edit.php
src/www/firewall_nat_edit.php
+2
-2
No files found.
src/opnsense/mvc/app/controllers/OPNsense/Proxy/forms/main.xml
View file @
cb2e961a
...
...
@@ -214,7 +214,7 @@
Enable transparent proxy mode. You will need a firewall rule to forward traffic from the firewall to the proxy server.
You may leave the proxy interfaces empty, but remember to set a valid ACL in that case.
<br/>
<a
href=
"/firewall_nat_edit.php?template=transpar
a
nt_proxy"
>
Add a new firewall rule
</a>
<a
href=
"/firewall_nat_edit.php?template=transpar
e
nt_proxy"
>
Add a new firewall rule
</a>
]]>
</help>
</field>
<field>
...
...
@@ -228,7 +228,7 @@
<br/><br/>
Transparent HTTP proxy needs to be enabled and you need nat rules to reflect your traffic
for this feature to work.
<br/>
<a
href=
"/firewall_nat_edit.php?template=transpar
a
nt_proxy&https=1"
>
Add a new firewall rule
</a>
<a
href=
"/firewall_nat_edit.php?template=transpar
e
nt_proxy&https=1"
>
Add a new firewall rule
</a>
]]>
</help>
</field>
<field>
...
...
src/www/firewall_nat_edit.php
View file @
cb2e961a
...
...
@@ -87,8 +87,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$pconfig
[
'ipprotocol'
]
=
'inet'
;
}
}
}
elseif
(
isset
(
$_GET
[
'template'
])
&&
$_GET
[
'template'
]
==
'transpar
a
nt_proxy'
)
{
// new rule for transpar
a
nt proxy reflection, to use as sample
}
elseif
(
isset
(
$_GET
[
'template'
])
&&
$_GET
[
'template'
]
==
'transpar
e
nt_proxy'
)
{
// new rule for transpar
e
nt proxy reflection, to use as sample
$pconfig
[
'interface'
]
=
"lan"
;
$pconfig
[
'src'
]
=
"lan"
;
$pconfig
[
'dst'
]
=
"any"
;
...
...
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