-
Notifications
You must be signed in to change notification settings - Fork 43
/
999-QOL_config
56 lines (47 loc) · 1.57 KB
/
999-QOL_config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
uci -q batch << EOI
# Set pbuf options
set pbuf.opt.auto_scale='on'
set pbuf.opt.memory_profile='1gb'
set pbuf.opt.scaling_governor='performance'
# Wireless default settings for radio0
set wireless.default_radio0.wnm_sleep_mode='1'
set wireless.default_radio0.ieee80211k='1'
set wireless.default_radio0.time_advertisement='2'
set wireless.default_radio0.bss_transition='1'
set wireless.default_radio0.proxy_arp='1'
# Wireless radio0 specific settings
set wireless.radio0.htmode='HE160'
set wireless.radio0.channel='auto'
set wireless.radio0.country='DE'
# Wireless default settings for radio1
set wireless.default_radio1.wnm_sleep_mode='1'
set wireless.default_radio1.ieee80211k='1'
set wireless.default_radio1.time_advertisement='2'
set wireless.default_radio1.bss_transition='1'
set wireless.default_radio1.proxy_arp='1'
# Wireless radio1 specific settings
set wireless.radio1.htmode='HE40'
set wireless.radio1.channel='auto'
set wireless.radio1.country='DE'
# Firewall settings
set firewall.@zone[1].input='DROP'
set firewall.@zone[1].forward='DROP'
# Network settings
set network.@device[0].packet_steering='0'
set network.@device[0].igmp_snooping='1'
set network.@device[0].multicast_querier='1'
set network.@device[0].flow_offloading='0'
set network.@device[0].flow_offloading_hw='0'
# uHTTPd settings
set uhttpd.main.redirect_https='1'
# BanIP settings
add_list banip.global.ban_feed='doh'
# Disable IPv6
set network.lan.ipv6='0'
set network.wan.ipv6='0'
network.@device[0].ipv6='0'
set dhcp.lan.dhcpv6=disabled
-q delete dhcp.lan.dhcpv6
-q delete dhcp.lan.ra
set network.lan.delegate='0'
EOI