From bbffa0fabb46fb39c4f795b0041240795de0ab4f Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 30 Jun 2019 00:17:57 +0200 Subject: [PATCH] Moved some default values (Port) from main_ipv[4|6] to default_ports.conf. --- conf/default_ports.conf | 45 +++++++++++++++++++++++++++++++++++--- conf/main_ipv4.conf.sample | 24 -------------------- conf/main_ipv6.conf.sample | 17 -------------- 3 files changed, 42 insertions(+), 44 deletions(-) diff --git a/conf/default_ports.conf b/conf/default_ports.conf index e72b6be..f9d4223 100644 --- a/conf/default_ports.conf +++ b/conf/default_ports.conf @@ -1,8 +1,8 @@ #!/usr/bin/env bash -# ============= -# --- Define Ports for Services out -# ============= +# ------------- +# --- Default Ports for Services out +# ------------- standard_ident_port=113 standard_silc_port=706 @@ -43,3 +43,42 @@ standard_ipsec_nat_t=4500 standard_http_ports="80,443" standard_mailuser_ports="587,465,110,995,143,993" + +# ------------- +# --- 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" + diff --git a/conf/main_ipv4.conf.sample b/conf/main_ipv4.conf.sample index 761fcad..739f1a5 100644 --- a/conf/main_ipv4.conf.sample +++ b/conf/main_ipv4.conf.sample @@ -1473,27 +1473,3 @@ kernel_activate_rp_filter=true # - kernel_log_martians=false - - -# ============= -# --- Some further Ports/IP-Address Configuration -# ============= - -# - unpriviligierte Ports -# - -unprivports="1024:65535" - -# - Loopback -loopback="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" - diff --git a/conf/main_ipv6.conf.sample b/conf/main_ipv6.conf.sample index 642e49d..c672646 100644 --- a/conf/main_ipv6.conf.sample +++ b/conf/main_ipv6.conf.sample @@ -1337,20 +1337,3 @@ kernel_deactivate_source_route=true # - kernel_dont_accept_redirects=true - - - -# ============= -# --- Some further Ports/IP-Address Configuration -# ============= - -# - unpriviligierte Ports -# - -unprivports="1024:65535" - -# unique local address (ULA) - private address block -ula_block="fc00::/7" - -# - Loopback -loopback="::1/128" -