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
64ba953f
Commit
64ba953f
authored
Jun 03, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vpn: split up legacy VPN into individual ACL/menu parts
parent
fad4f673
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
124 additions
and
0 deletions
+124
-0
ACL.xml
src/opnsense/mvc/app/models/OPNsense/L2TP/ACL/ACL.xml
+31
-0
Menu.xml
src/opnsense/mvc/app/models/OPNsense/L2TP/Menu/Menu.xml
+13
-0
ACL.xml
src/opnsense/mvc/app/models/OPNsense/PPPoE/ACL/ACL.xml
+24
-0
Menu.xml
src/opnsense/mvc/app/models/OPNsense/PPPoE/Menu/Menu.xml
+12
-0
ACL.xml
src/opnsense/mvc/app/models/OPNsense/PPTP/ACL/ACL.xml
+31
-0
Menu.xml
src/opnsense/mvc/app/models/OPNsense/PPTP/Menu/Menu.xml
+13
-0
No files found.
src/opnsense/mvc/app/models/OPNsense/L
egacyVPN
/ACL/ACL.xml
→
src/opnsense/mvc/app/models/OPNsense/L
2TP
/ACL/ACL.xml
View file @
64ba953f
<acl>
<acl>
<!-- unique acl key, must be globally unique for all acl's -->
<!-- unique acl key, must be globally unique for all acl's -->
<page-diagnostics-logs-pptp>
<name>
WebCfg - Diagnostics: Logs: PPTP page
</name>
<description>
Allow access to the 'Diagnostics: Logs: PPTP' page.
</description>
<patterns>
<pattern>
diag_logs_pptp.php*
</pattern>
</patterns>
</page-diagnostics-logs-pptp>
<page-diagnostics-logs-poes>
<name>
WebCfg - Diagnostics: Logs: PPPoE page
</name>
<description>
Allow access to the 'Diagnostics: Logs: PPPoE' page.
</description>
<patterns>
<pattern>
diag_logs_poes.php*
</pattern>
</patterns>
</page-diagnostics-logs-poes>
<page-diagnostics-logs-l2tp>
<page-diagnostics-logs-l2tp>
<name>
WebCfg - Diagnostics: Logs: L2TP page
</name>
<name>
WebCfg - Diagnostics: Logs: L2TP page
</name>
<description>
Allow access to the 'Diagnostics: Logs: L2TP' page.
</description>
<description>
Allow access to the 'Diagnostics: Logs: L2TP' page.
</description>
...
@@ -42,39 +28,4 @@
...
@@ -42,39 +28,4 @@
<pattern>
vpn_l2tp_users.php*
</pattern>
<pattern>
vpn_l2tp_users.php*
</pattern>
</patterns>
</patterns>
</page-vpn-vpnl2tp-users>
</page-vpn-vpnl2tp-users>
<page-services-pppoeserver>
<name>
WebCfg - Services: PPPoE Server page
</name>
<description>
Allow access to the 'Services: PPPoE Server' page.
</description>
<patterns>
<pattern>
vpn_pppoe.php*
</pattern>
</patterns>
</page-services-pppoeserver>
<page-services-pppoeserver-edit>
<name>
WebCfg - Services: PPPoE Server: Edit page
</name>
<description>
Allow access to the 'Services: PPPoE Server: Edit' page.
</description>
<patterns>
<pattern>
vpn_pppoe_edit.php*
</pattern>
</patterns>
</page-services-pppoeserver-edit>
<page-vpn-vpnpptp>
<name>
WebCfg - VPN: PPTP page
</name>
<description>
Allow access to the 'VPN: PPTP' page.
</description>
<patterns>
<pattern>
vpn_pptp.php*
</pattern>
</patterns>
</page-vpn-vpnpptp>
<page-vpn-vpnpptp-user-edit>
<name>
WebCfg - VPN: PPTP: User: Edit page
</name>
<description>
Allow access to the 'VPN: PPTP: User: Edit' page.
</description>
<patterns>
<pattern>
vpn_pptp_users_edit.php*
</pattern>
</patterns>
</page-vpn-vpnpptp-user-edit>
<page-vpn-vpnpptp-users>
<name>
WebCfg - VPN: PPTP: Users page
</name>
<description>
Allow access to the 'VPN: PPTP: Users' page.
</description>
<patterns>
<pattern>
vpn_pptp_users.php*
</pattern>
</patterns>
</page-vpn-vpnpptp-users>
</acl>
</acl>
src/opnsense/mvc/app/models/OPNsense/L
egacyVPN
/Menu/Menu.xml
→
src/opnsense/mvc/app/models/OPNsense/L
2TP
/Menu/Menu.xml
View file @
64ba953f
...
@@ -9,22 +9,5 @@
...
@@ -9,22 +9,5 @@
<Type
url=
"/diag_logs_l2tp.php*"
visibility=
"hidden"
/>
<Type
url=
"/diag_logs_l2tp.php*"
visibility=
"hidden"
/>
</LogFile>
</LogFile>
</L2TP>
</L2TP>
<PPPoE
cssClass=
"fa fa-tty fa-fw"
order=
"110"
>
<Settings
order=
"10"
url=
"/vpn_pppoe.php"
>
<Edit
url=
"/vpn_pppoe_edit.php*"
visibility=
"hidden"
/>
</Settings>
<LogFile
order=
"20"
VisibleName=
"Log File"
url=
"/diag_logs_poes.php"
>
<Type
url=
"/diag_logs_poes.php*"
visibility=
"hidden"
/>
</LogFile>
</PPPoE>
<PPTP
cssClass=
"fa fa-unlock fa-fw"
order=
"120"
>
<Settings
order=
"10"
url=
"/vpn_pptp.php"
/>
<Users
order=
"20"
url=
"/vpn_pptp_users.php"
>
<Edit
url=
"/vpn_pptp_users_edit.php*"
visibility=
"hidden"
/>
</Users>
<LogFile
order=
"30"
VisibleName=
"Log File"
url=
"/diag_logs_pptp.php"
>
<Type
url=
"/diag_logs_pptp.php*"
visibility=
"hidden"
/>
</LogFile>
</PPTP>
</VPN>
</VPN>
</menu>
</menu>
src/opnsense/mvc/app/models/OPNsense/PPPoE/ACL/ACL.xml
0 → 100644
View file @
64ba953f
<acl>
<!-- unique acl key, must be globally unique for all acl's -->
<page-diagnostics-logs-poes>
<name>
WebCfg - Diagnostics: Logs: PPPoE page
</name>
<description>
Allow access to the 'Diagnostics: Logs: PPPoE' page.
</description>
<patterns>
<pattern>
diag_logs_poes.php*
</pattern>
</patterns>
</page-diagnostics-logs-poes>
<page-services-pppoeserver>
<name>
WebCfg - Services: PPPoE Server page
</name>
<description>
Allow access to the 'Services: PPPoE Server' page.
</description>
<patterns>
<pattern>
vpn_pppoe.php*
</pattern>
</patterns>
</page-services-pppoeserver>
<page-services-pppoeserver-edit>
<name>
WebCfg - Services: PPPoE Server: Edit page
</name>
<description>
Allow access to the 'Services: PPPoE Server: Edit' page.
</description>
<patterns>
<pattern>
vpn_pppoe_edit.php*
</pattern>
</patterns>
</page-services-pppoeserver-edit>
</acl>
src/opnsense/mvc/app/models/OPNsense/PPPoE/Menu/Menu.xml
0 → 100644
View file @
64ba953f
<menu>
<VPN>
<PPPoE
cssClass=
"fa fa-tty fa-fw"
order=
"110"
>
<Settings
order=
"10"
url=
"/vpn_pppoe.php"
>
<Edit
url=
"/vpn_pppoe_edit.php*"
visibility=
"hidden"
/>
</Settings>
<LogFile
order=
"20"
VisibleName=
"Log File"
url=
"/diag_logs_poes.php"
>
<Type
url=
"/diag_logs_poes.php*"
visibility=
"hidden"
/>
</LogFile>
</PPPoE>
</VPN>
</menu>
src/opnsense/mvc/app/models/OPNsense/PPTP/ACL/ACL.xml
0 → 100644
View file @
64ba953f
<acl>
<!-- unique acl key, must be globally unique for all acl's -->
<page-diagnostics-logs-pptp>
<name>
WebCfg - Diagnostics: Logs: PPTP page
</name>
<description>
Allow access to the 'Diagnostics: Logs: PPTP' page.
</description>
<patterns>
<pattern>
diag_logs_pptp.php*
</pattern>
</patterns>
</page-diagnostics-logs-pptp>
<page-vpn-vpnpptp>
<name>
WebCfg - VPN: PPTP page
</name>
<description>
Allow access to the 'VPN: PPTP' page.
</description>
<patterns>
<pattern>
vpn_pptp.php*
</pattern>
</patterns>
</page-vpn-vpnpptp>
<page-vpn-vpnpptp-user-edit>
<name>
WebCfg - VPN: PPTP: User: Edit page
</name>
<description>
Allow access to the 'VPN: PPTP: User: Edit' page.
</description>
<patterns>
<pattern>
vpn_pptp_users_edit.php*
</pattern>
</patterns>
</page-vpn-vpnpptp-user-edit>
<page-vpn-vpnpptp-users>
<name>
WebCfg - VPN: PPTP: Users page
</name>
<description>
Allow access to the 'VPN: PPTP: Users' page.
</description>
<patterns>
<pattern>
vpn_pptp_users.php*
</pattern>
</patterns>
</page-vpn-vpnpptp-users>
</acl>
src/opnsense/mvc/app/models/OPNsense/PPTP/Menu/Menu.xml
0 → 100644
View file @
64ba953f
<menu>
<VPN>
<PPTP
cssClass=
"fa fa-unlock fa-fw"
order=
"120"
>
<Settings
order=
"10"
url=
"/vpn_pptp.php"
/>
<Users
order=
"20"
url=
"/vpn_pptp_users.php"
>
<Edit
url=
"/vpn_pptp_users_edit.php*"
visibility=
"hidden"
/>
</Users>
<LogFile
order=
"30"
VisibleName=
"Log File"
url=
"/diag_logs_pptp.php"
>
<Type
url=
"/diag_logs_pptp.php*"
visibility=
"hidden"
/>
</LogFile>
</PPTP>
</VPN>
</menu>
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