Disable per-interface forwarding as vrf behaves weirdly without ALL forwarding being set to 1, set exception for home and remove redundant vrf addrkeep

This commit is contained in:
Alex D. 2023-03-30 07:08:03 +00:00
parent 91b023149f
commit 9a04e647a5
Signed by: caskd
GPG Key ID: E5AE8A47B8EFC7ED
2 changed files with 5 additions and 12 deletions

4
NOTES.md Normal file
View File

@ -0,0 +1,4 @@
# KNOWN BUGS
- Currently the static address adds don't check if interface is a wireguard interface
- wg tool doesn't lock the interface when it loads the config and the static address gets swallowed away without any error message

View File

@ -132,7 +132,6 @@ EOF
install -Dm644 <(echo oneshot) rc/"$sname"/type
install -Dm644 /dev/null rc/"$sname"/dependencies.d/interface."$master".create
install -Dm644 /dev/null rc/"$sname"/dependencies.d/interface."$slave".create
install -Dm644 /dev/null rc/"$sname"/dependencies.d/sysctl.net-ipv6-conf-all-keep_addr_on_down
}
new_if_bridge() {
@ -356,6 +355,7 @@ new_if_phys "vnet4"
# Bridges
new_if_bridge "home"
new_forward "home"
new_if_slave "home" "vnet1"
new_if_slave "home" "phys3"
new_if_slave "home" "phys2"
@ -392,28 +392,17 @@ new_if_wg "intersix"
# VRFs
new_if_vrf "vrf-dn42" 20
new_forward "vrf-dn42"
route_v6_vrf_default_unreach "vrf-dn42"
new_if_slave "vrf-dn42" "br-dn42"
new_forward "br-dn42"
new_if_slave "vrf-dn42" "famfo"
new_forward "famfo"
new_if_slave "vrf-dn42" "mark22k"
new_forward "mark22k"
new_if_slave "vrf-dn42" "highdef"
new_forward "highdef"
new_if_slave "vrf-dn42" "kioubit"
new_forward "kioubit"
new_if_vrf "vrf-v6" 10
new_forward "vrf-v6"
route_v6_vrf_default_if "vrf-v6" "intersix"
route_v6_vrf_sink_unreach "vrf-v6" "2a04:5b81:2060::/48"
new_if_slave "vrf-v6" "intersix"
new_forward "intersix"
new_if_slave "vrf-v6" "b00b"
new_forward "b00b"
new_if_slave "vrf-v6" "f33d"
new_forward "f33d"
new_if_slave "vrf-v6" "d00d"
new_forward "d00d"