80 lines
1.2 KiB
Bash
80 lines
1.2 KiB
Bash
#!/usr/bin/env bash
|
|
|
|
|
|
# -------------
|
|
# --- Define Ports for Services
|
|
# -------------
|
|
|
|
# - Web Server Ports
|
|
# -
|
|
http_ports="80,443"
|
|
|
|
# - FTP Servers Passive Portrange
|
|
# -
|
|
ftp_passive_port_range="50000:50400"
|
|
|
|
# - Mail Client Ports (Submission/SMTPS/POPS/IMAPS)
|
|
# -
|
|
mail_user_ports="587,465,110,995,143,993"
|
|
|
|
# - SSH Ports
|
|
# -
|
|
# - comma separated list
|
|
ssh_ports="22"
|
|
|
|
# - VPN Service
|
|
vpn_ports="1194 1195"
|
|
|
|
# - Mumble Server
|
|
# -
|
|
mumble_ports="64738"
|
|
|
|
# - XyMon Service (usually TCP port 1984)
|
|
# -
|
|
# - NOT YET IMPLEMENTED
|
|
# -
|
|
xymon_port=1984
|
|
|
|
# - Munin Server Port (usually TCP port 4949)
|
|
# -
|
|
munin_remote_port="4949"
|
|
|
|
|
|
# -------------
|
|
# --- Predefined Ports
|
|
# -------------
|
|
|
|
# - unpriviligierte Ports
|
|
# -
|
|
unprivports="1024:65535"
|
|
|
|
|
|
# -------------
|
|
# --- Some IPv4-Address Configuration
|
|
# -------------
|
|
|
|
# - Loopback
|
|
loopback_ipv4="127.0.0.0/8"
|
|
|
|
# - Private Networks
|
|
priv_class_a="10.0.0.0/8"
|
|
priv_class_b="172.16.0.0/12"
|
|
priv_class_c="192.168.0.0/16"
|
|
|
|
# - Multicast Addresse
|
|
class_d_multicast="224.0.0.0/4"
|
|
|
|
# Reserved Addresse
|
|
class_e_reserved="240.0.0.0/5"
|
|
|
|
|
|
# -------------
|
|
# --- Some IPv6-Address Configuration
|
|
# -------------
|
|
|
|
# unique local address (ULA) - private address block
|
|
ula_block="fc00::/7"
|
|
|
|
# - Loopback
|
|
loopback_ipv6="::1/128"
|