Commit d14870ac authored by nanahira's avatar nanahira

add extra interfaces

parent 38eda126
server=127.0.0.1#55553
no-resolv
strict-order
interface=lo{% for br in bridges %},{{br.name}}{% endfor %}
interface=lo{% for br in bridges %},{{br.name}}{% endfor %}{% if dnsmasq.extraInterfaces is defined %}{% for interface in dnsmasq.extraInterfaces %},{{interface}}{% endfor %}{% endif %}
bind-interfaces
port=53
......@@ -11,7 +11,7 @@ dhcp-no-override
dhcp-authoritative
enable-ra
no-dhcp-interface=lo{% for br in bridges %}{% if not br.dhcp is defined or 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 %}{% if dnsmasq.extraInterfaces is defined %}{% for interface in dnsmasq.extraInterfaces %},{{interface}}{% endfor %}{% endif %}
{% for br in bridges %}
{% if br.dhcp is defined and br.dhcp %}
......
......@@ -78,6 +78,7 @@ vars:
dnsmasq:
gfwlistIPSet: false # 导入 gfwlist ipset
mycardDomains: false # 导入 MCNetwork 内网域名
extraInterfaces: [] # 额外监听的网卡
gdut: # 校园网特化使用
remote: 10.0.3.6
flag: 2f
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment