router: enable a DHCP server for the v4-NAT network as well
As the hosts don't really need a static v4, just do DHCP.
This commit is contained in:
parent
a328e92971
commit
80ddb2efc9
2 changed files with 7 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ table inet host {
|
||||||
tcp dport 22 accept comment "allow ssh access"
|
tcp dport 22 accept comment "allow ssh access"
|
||||||
|
|
||||||
# Allow DHCP server access.
|
# Allow DHCP server access.
|
||||||
iifname $if_net0_3_ci_runner udp dport 67 accept comment "allow dhcp server access"
|
iifname { $if_net0_2_v4_nat, $if_net0_3_ci_runner } udp dport 67 accept comment "allow dhcp server access"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,12 @@ Description=v4-NAT
|
||||||
# Masquerading done in nftables (nftables.conf).
|
# Masquerading done in nftables (nftables.conf).
|
||||||
IPv6SendRA=yes
|
IPv6SendRA=yes
|
||||||
|
|
||||||
|
DHCPServer=true
|
||||||
|
|
||||||
|
[DHCPServer]
|
||||||
|
PoolOffset=100
|
||||||
|
PoolSize=150
|
||||||
|
|
||||||
[Address]
|
[Address]
|
||||||
Address=10.32.2.1/24
|
Address=10.32.2.1/24
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue