gluon-core: set ip4table for wan 4
This commit is contained in:
parent
f118a39df4
commit
bade0a936c
@ -32,9 +32,19 @@ uci:section('network', 'interface', 'wan', {
|
||||
igmp_snooping = true,
|
||||
multicast_querier = false,
|
||||
peerdns = false,
|
||||
ip4table = 1,
|
||||
auto = true,
|
||||
})
|
||||
|
||||
uci:section('network', 'route4', 'wan4_unreachable', {
|
||||
type = 'unreachable',
|
||||
interface = 'loopback',
|
||||
target = '0.0.0.0/0',
|
||||
gateway = '0.0.0.0',
|
||||
table = 1,
|
||||
metric = 65535,
|
||||
})
|
||||
|
||||
uci:section('network', 'interface', 'wan6', {
|
||||
proto = wan6.proto or 'dhcpv6',
|
||||
ip6addr = wan6.ip6addr,
|
||||
|
Loading…
Reference in New Issue
Block a user