Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
nextgen-router
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
nextgen-router
Commits
4cd15479
Commit
4cd15479
authored
Dec 10, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify
parent
e6c30a2c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
files/chnrouter-ipset.j2
files/chnrouter-ipset.j2
+1
-1
files/dnsmasq/dnsmasq.conf.j2
files/dnsmasq/dnsmasq.conf.j2
+1
-1
files/dnsmasq/smartdns.conf.j2
files/dnsmasq/smartdns.conf.j2
+4
-4
network.yaml
network.yaml
+1
-0
No files found.
files/chnrouter-ipset.j2
View file @
4cd15479
create chnrouter hash:net family inet
{% for subnet in
{{chnrouteReverseList.chnroute_reverse}}
%}
{% for subnet in
chnrouteReverseList.chnroute_reverse
%}
add chnrouter {{subnet}}
{% endfor %}
files/dnsmasq/dnsmasq.conf.j2
View file @
4cd15479
...
...
@@ -11,7 +11,7 @@ dhcp-no-override
dhcp-authoritative
enable-ra
no-dhcp-interface=lo{% for br in bridges %}{% if not br.dhcp %},{{br.name}}{% endif %}{% endfor %}
no-dhcp-interface=lo{% for br in bridges %}{% if not br.dhcp
is defined or not br.dhcp
%},{{br.name}}{% endif %}{% endfor %}
{% for br in bridges %}
{% if br.dhcp is defined and br.dhcp %}
...
...
files/dnsmasq/smartdns.conf.j2
View file @
4cd15479
...
...
@@ -24,19 +24,19 @@ force-AAAA-SOA yes
dualstack-ip-selection yes
{% endif %}
{% if s
s
martdns.tls_dns is defined and smartdns.tls_dns %}
{% if smartdns.tls_dns is defined and smartdns.tls_dns %}
# TLS DNSes
{% for dns in smartdns.tls_dns %}
server-tls {{dns}} -group tls
{% endfor %}
{% end
for
%}
{% end
if
%}
{% if s
smartdns.tls_dns is defined and smartdns.tl
s_dns %}
{% if s
martdns.https_dns is defined and smartdns.http
s_dns %}
# HTTPS DNSes
{% for dns in smartdns.https_dns %}
server-https {{dns}} -group tls
{% endfor %}
{% end
for
%}
{% end
if
%}
# China DNSes
{% for dns in smartdns.china_dns %}
...
...
network.yaml
View file @
4cd15479
...
...
@@ -116,6 +116,7 @@
vars
:
ppp
:
'
{{item}}'
with_items
:
'
{{ppps}}'
when
:
ppps is defined and ppps
-
name
:
networking service
become
:
true
systemd
:
...
...
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