Add lan interface to nas hosts

This commit is contained in:
Timo Makinen 2020-09-11 14:49:53 +00:00
parent 585f7e28be
commit a64145a3de
2 changed files with 6 additions and 0 deletions

View file

@ -8,3 +8,4 @@ datadisks:
firewall_in: firewall_in:
- {proto: tcp, port: 22, from: [172.20.20.0/22]} - {proto: tcp, port: 22, from: [172.20.20.0/22]}
- {proto: tcp, port: 2049, from: [172.20.20.0/22]} - {proto: tcp, port: 2049, from: [172.20.20.0/22]}
- {proto: tcp, port: 2049, from: [172.20.30.0/24]}

View file

@ -4,3 +4,8 @@ network_interfaces:
- device: eth0 - device: eth0
vlan: 20 vlan: 20
mac: 52:54:00:ac:dc:34 mac: 52:54:00:ac:dc:34
- device: eth1
vlan: 30
ipaddr: 172.20.30.11
netmask: 255.255.255.0
proto: static