about summary refs log tree commit diff stats
path: root/core/scripts/iptables-conf.sh
blob: 478ce08fb3055ef7a052d460c6829c9511de5f0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
TYPE=bridge
#TYPE=server

IPT="/usr/sbin/iptables"
SPAMLIST="blockedip"
SPAMDROPMSG="BLOCKED IP DROP"

# public interface to network/internet
BR_IF="br0"
BR_NET="10.0.0.0/8"
GW="10.0.0.1"
#DNS="10.0.0.254"
DNS="212.55.154.174"

PUB_IP="10.0.0.254"
PUB_IF="enp8s0"

# private interface for virtual/internal
#PRIV_IF="wlp7s0"
#PRIV_NET="192.168.1.0/24"