change if names from enp*s0 to eth*

including all cfg files!
This commit is contained in:
2024-03-19 15:56:53 +01:00
parent ad130f16f4
commit 9c9719bff4
14 changed files with 88 additions and 69 deletions

View File

@ -78,7 +78,7 @@ for arg in sys.argv[1:]:
log = Log(loglev)
FILTER = "iptables -i enp4s0 -p tcp -m tcp --dport %d -j ACCEPT"
FILTER = "iptables -i eth0 -p tcp -m tcp --dport %d -j ACCEPT"
BASIC = """
iptables -P INPUT %(accept)s