Moved some default values (Port) from main_ipv[4|6] to default_ports.conf.

This commit is contained in:
Christoph 2019-06-30 00:17:57 +02:00
parent a74b57e0a0
commit bbffa0fabb
3 changed files with 42 additions and 44 deletions

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# ============= # -------------
# --- Define Ports for Services out # --- Default Ports for Services out
# ============= # -------------
standard_ident_port=113 standard_ident_port=113
standard_silc_port=706 standard_silc_port=706
@ -43,3 +43,42 @@ standard_ipsec_nat_t=4500
standard_http_ports="80,443" standard_http_ports="80,443"
standard_mailuser_ports="587,465,110,995,143,993" 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"

View File

@ -1473,27 +1473,3 @@ kernel_activate_rp_filter=true
# - # -
kernel_log_martians=false 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"

View File

@ -1337,20 +1337,3 @@ kernel_deactivate_source_route=true
# - # -
kernel_dont_accept_redirects=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"