This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
hypervisors/ansible/dmz.conf.j2

25 lines
500 B
Text
Raw Normal View History

2023-03-14 20:49:24 +00:00
auto enp3s0.30
2023-06-08 18:37:52 +00:00
{% if dmz_interface.enabled %}
iface enp3s0.30 inet dhcp
hwaddress ether {{ dmz_interface.mac }}
{% else %}
2023-03-14 20:49:24 +00:00
iface enp3s0.30 inet manual
2023-06-08 18:37:52 +00:00
{% endif %}
2023-03-14 20:49:24 +00:00
iface enp3s0.30 inet6 auto
accept_ra 0
dhcp 0
request_prefix 0
privext 0
pre-up sysctl -w net/ipv6/conf/enp3s0.30/disable_ipv6=1
auto dmzbr
iface dmzbr inet manual
bridge_ports enp3s0.30
bridge_stp off
iface dmzbr inet6 auto
accept_ra 0
dhcp 0
request_prefix 0
privext 0
pre-up sysctl -w net/ipv6/conf/dmzbr/disable_ipv6=1