mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix ss-rules6, change strings in omr-bypass, add FDN DNS in omr-tracker
This commit is contained in:
parent
9f8e93bd21
commit
2671244e34
3 changed files with 6 additions and 5 deletions
|
@ -12,10 +12,9 @@
|
||||||
<div class="cbi-map">
|
<div class="cbi-map">
|
||||||
<h2 name="content"><%:Bypass%></h2>
|
<h2 name="content"><%:Bypass%></h2>
|
||||||
<fieldset class="cbi-section" id="hosts">
|
<fieldset class="cbi-section" id="hosts">
|
||||||
<legend><%:Hostnames%></legend>
|
<div class="cbi-section-descr"><%:Set domains name you want to bypass.%></div>
|
||||||
<div class="cbi-section-descr"><%:Set hostname that you want to bypass.%></div>
|
|
||||||
<div class="cbi-value cbi-value-last" id="cbi-omr-tracker-hosts" data-depends="[]" data-index="<%=table.getn(hosts)%>">
|
<div class="cbi-value cbi-value-last" id="cbi-omr-tracker-hosts" data-depends="[]" data-index="<%=table.getn(hosts)%>">
|
||||||
<label class="cbi-value-title" for="cbid.omr-tracker.hosts">Hosts</label>
|
<label class="cbi-value-title" for="cbid.omr-tracker.hosts"><%:Domains%></label>
|
||||||
<div class="cbi-value-field">
|
<div class="cbi-value-field">
|
||||||
<div data-prefix="cbid.omr-bypass.hosts" data-browser-path="" data-dynlist="[[],[],null,false]" data-placeholder="google.com">
|
<div data-prefix="cbid.omr-bypass.hosts" data-browser-path="" data-dynlist="[[],[],null,false]" data-placeholder="google.com">
|
||||||
<%
|
<%
|
||||||
|
|
|
@ -5,6 +5,8 @@ config defaults 'defaults'
|
||||||
list hosts '9.9.9.9'
|
list hosts '9.9.9.9'
|
||||||
list hosts '1.1.1.1'
|
list hosts '1.1.1.1'
|
||||||
list hosts '1.0.0.1'
|
list hosts '1.0.0.1'
|
||||||
|
list hosts '80.67.169.12'
|
||||||
|
list hosts '80.67.169.40'
|
||||||
option timeout '1'
|
option timeout '1'
|
||||||
option tries '4'
|
option tries '4'
|
||||||
option interval '2'
|
option interval '2'
|
||||||
|
|
|
@ -137,15 +137,15 @@ ss_rules6_ipset_mkadd() {
|
||||||
}
|
}
|
||||||
|
|
||||||
ss_rules6_iptchains_init() {
|
ss_rules6_iptchains_init() {
|
||||||
|
ss_rules6_iptchains_init_mark
|
||||||
ss_rules6_iptchains_init_tcp
|
ss_rules6_iptchains_init_tcp
|
||||||
ss_rules6_iptchains_init_udp
|
ss_rules6_iptchains_init_udp
|
||||||
ss_rules6_iptchains_init_mark
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ss_rules6_iptchains_init_mark() {
|
ss_rules6_iptchains_init_mark() {
|
||||||
ip6tables-restore --noflush <<-EOF
|
ip6tables-restore --noflush <<-EOF
|
||||||
*mangle
|
*mangle
|
||||||
-A OUTPUT -m set --match-set ss_rules6_dst_bypass dst -j MARK --set-mark 0x539
|
-A PREROUTING -m set --match-set ss_rules6_dst_bypass dst -j MARK --set-mark 0x539
|
||||||
COMMIT
|
COMMIT
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue