@ -2,7 +2,7 @@
# Interfaces de la machine
define if_adherent = "bond0.69"
define if_admin = "bond0.7"
define if_admin = "eno1"
define if_federez = "bond0.20"
define if_supelec = "bond0.2"
define if_aloes = "bond0.66"
@ -1,3 +1,4 @@
#! /usr/bin/python3
import os
import logging
from logging.handlers import RotatingFileHandler
@ -27,7 +27,7 @@ from re2oapi import Re2oAPIClient
from firewall import NetfilterSet
CONFIG = ConfigParser()
CONFIG.read('config.ini')
CONFIG.read('/usr/local/firewall/config.ini')
api_hostname = CONFIG.get('Re2o', 'hostname')
api_password = CONFIG.get('Re2o', 'password')
@ -28,7 +28,7 @@ import netaddr
from firewall import NAT
def create_nat_adherent():