mirror of
https://github.com/speatzle/nfsense.git
synced 2025-09-13 15:19:08 +00:00
Add Static Route Backend
This commit is contained in:
parent
dec123e9ee
commit
3197f291fa
4 changed files with 40 additions and 6 deletions
|
@ -14,4 +14,13 @@ DHCP=yes
|
|||
{{- end }}
|
||||
{{- range .Vlans }}
|
||||
VLAN={{ . }}
|
||||
{{- end}}
|
||||
{{- end}}
|
||||
|
||||
{{- range .StaticRoutes }}
|
||||
[Route]
|
||||
Destination={{ Destination }}
|
||||
Gateway={{ Gateway }}
|
||||
{{- if ne .Metric 0 }}
|
||||
Metric={{ Metric }}
|
||||
{{- end }}
|
||||
{{end}}
|
Loading…
Add table
Add a link
Reference in a new issue