minifirewall/minifirewall.conf

81 lines
2 KiB
Plaintext
Raw Normal View History

2015-09-13 20:13:05 +02:00
# Configuration for minifirewall : https://forge.evolix.org/projects/minifirewall
2015-09-13 20:13:05 +02:00
# Main interface
INT='eth0'
2015-09-13 20:13:05 +02:00
# IPv6
IPV6=on
# Docker Mode
# Changes the behaviour of minifirewall to not break the containers' network
# For instance, turning it on will disable nat table purge
# Also, we'll add the DOCKER-USER chain, in iptable
DOCKER='off'
2015-09-13 20:13:05 +02:00
# Trusted IPv4 local network
# ...will be often IP/32 if you don't trust anything
INTLAN='192.168.0.2/32'
2015-09-13 20:13:05 +02:00
# Trusted IPv4 addresses for private and semi-public services
2020-02-21 16:26:41 +01:00
TRUSTEDIPS=''
2020-08-24 16:59:15 +02:00
# Privileged IPv4 addresses for semi-public services
2015-09-13 20:13:05 +02:00
# (no need to add again TRUSTEDIPS)
2020-08-24 16:59:15 +02:00
PRIVILEGEDIPS=''
2015-09-13 20:13:05 +02:00
# Local services IPv4/IPv6 restrictions
#######################################
# Protected services
# (add also in Public services if needed)
SERVICESTCP1p='22'
SERVICESUDP1p=''
2015-09-13 20:13:05 +02:00
# Public services (IPv4/IPv6)
SERVICESTCP1='25 53 443 993 995 2222'
SERVICESUDP1='53'
2015-09-13 20:13:05 +02:00
# Semi-public services (IPv4)
SERVICESTCP2='20 21 22 80 110 143'
SERVICESUDP2=''
2015-09-13 20:13:05 +02:00
# Private services (IPv4)
SERVICESTCP3='5666'
SERVICESUDP3=''
2015-09-13 20:13:05 +02:00
# Standard output IPv4 access restrictions
##########################################
2015-09-13 20:13:05 +02:00
# DNS authorizations
# (if you have local DNS server, set 0.0.0.0/0)
2011-04-19 15:51:15 +02:00
DNSSERVEURS='0.0.0.0/0'
2015-09-13 20:13:05 +02:00
# HTTP authorizations
# (you can use DNS names but set cron to reload minifirewall regularly)
# (if you have HTTP proxy, set 0.0.0.0/0)
HTTPSITES='security.debian.org pub.evolix.net security-cdn.debian.org volatile.debian.org mirror.evolix.org backports.debian.org hwraid.le-vert.net antispam00.evolix.org spamassassin.apache.org sa-update.space-pro.be sa-update.secnap.net www.sa-update.pccc.com sa-update.dnswl.org ocsp.int-x3.letsencrypt.org'
2015-09-13 20:13:05 +02:00
# HTTPS authorizations
2011-04-02 11:48:19 +02:00
HTTPSSITES='0.0.0.0/0'
2015-09-13 20:13:05 +02:00
# FTP authorizations
FTPSITES=''
2015-09-13 20:13:05 +02:00
# SSH authorizations
SSHOK='0.0.0.0/0'
2015-09-13 20:13:05 +02:00
# SMTP authorizations
SMTPOK='0.0.0.0/0'
2015-09-13 20:13:05 +02:00
# SMTP secure authorizations (ports TCP/465 and TCP/587)
SMTPSECUREOK=''
2015-09-13 20:13:05 +02:00
# NTP authorizations
NTPOK='0.0.0.0/0'
# Per host output autorisations (IP!Port)
# OUTPUTOK='203.0.113.1!42 203.0.113.2!43'
OUTPUTOK=''