Fis some error, adjust docu.
This commit is contained in:
parent
15accbe3a6
commit
7c8e98198e
@ -35,8 +35,8 @@ cp -a /usr/local/src/ipt-server/conf/ban_ipv6.list.sample /etc/ipt-firewall/ban_
|
|||||||
# - /etc/ipt-firewall/interfaces_ipv4.conf
|
# - /etc/ipt-firewall/interfaces_ipv4.conf
|
||||||
# - /etc/ipt-firewall/main_ipv4.conf
|
# - /etc/ipt-firewall/main_ipv4.conf
|
||||||
# -
|
# -
|
||||||
cp /usr/local/src/ipt-server/conf/interfaces_ipv4.conf.sample /etc/ipt-firewall/
|
cp /usr/local/src/ipt-server/conf/interfaces_ipv4.conf.sample /etc/ipt-firewall/interfaces_ipv4.conf
|
||||||
cp /usr/local/src/ipt-server/conf/main_ipv4.conf.sample /etc/ipt-firewall/
|
cp /usr/local/src/ipt-server/conf/main_ipv4.conf.sample /etc/ipt-firewall/main_ipv4.conf
|
||||||
|
|
||||||
vim /etc/ipt-firewall/interfaces_ipv4.conf
|
vim /etc/ipt-firewall/interfaces_ipv4.conf
|
||||||
vim /etc/ipt-firewall/main_ipv4.conf
|
vim /etc/ipt-firewall/main_ipv4.conf
|
||||||
|
@ -38,16 +38,16 @@ iptable_nat
|
|||||||
# -
|
# -
|
||||||
# - ipt -A OUTPUT -t raw -p tcp --dport 21 -j CT --helper ftp
|
# - ipt -A OUTPUT -t raw -p tcp --dport 21 -j CT --helper ftp
|
||||||
# -
|
# -
|
||||||
/sbin/modprobe nf_conntrack nf_conntrack_helper=0 > /dev/null 2>&1
|
nf_conntrack nf_conntrack_helper=0
|
||||||
|
|
||||||
/sbin/modprobe nf_conntrack_ftp > /dev/null 2>&1
|
nf_conntrack_ftp
|
||||||
/sbin/modprobe nf_nat > /dev/null 2>&1
|
nf_nat
|
||||||
/sbin/modprobe nf_nat_ftp > /dev/null 2>&1
|
nf_nat_ftp
|
||||||
|
|
||||||
## - Load modules for SIP VOIP
|
## - Load modules for SIP VOIP
|
||||||
## -
|
## -
|
||||||
#/sbin/modprobe nf_conntrack_sip > /dev/null 2>&1
|
#nf_conntrack_sip
|
||||||
#/sbin/modprobe nf_nat_sip > /dev/null 2>&1
|
#nf_nat_sip
|
||||||
|
|
||||||
|
|
||||||
# - Load kernel nf_log modules for IPv4 netfilter userspace logging
|
# - Load kernel nf_log modules for IPv4 netfilter userspace logging
|
||||||
|
@ -97,31 +97,6 @@ xymon_port=1984
|
|||||||
munin_remote_port="4949"
|
munin_remote_port="4949"
|
||||||
|
|
||||||
|
|
||||||
# -------------
|
|
||||||
# --- Network Interfaces
|
|
||||||
# -------------
|
|
||||||
|
|
||||||
# - Extern IP Addresses on this Host
|
|
||||||
# -
|
|
||||||
# NOT IN USE
|
|
||||||
ext_1_ip=""
|
|
||||||
# NOT IN USE
|
|
||||||
ext_2_ip=""
|
|
||||||
# NOT IN USE
|
|
||||||
ext_3_ip=""
|
|
||||||
|
|
||||||
ext_ips="$ext_1_ip $ext_2_ip $ext_3_ip"
|
|
||||||
|
|
||||||
# NOT IN USE
|
|
||||||
local_1_ip=""
|
|
||||||
# NOT IN USE
|
|
||||||
local_2_ip=""
|
|
||||||
# NOT IN USE
|
|
||||||
local_2_ip=""
|
|
||||||
|
|
||||||
broadcast_ips=""
|
|
||||||
|
|
||||||
|
|
||||||
# -------------
|
# -------------
|
||||||
# ---- Restrict local Servive to given (extern) IP-Address/Network
|
# ---- Restrict local Servive to given (extern) IP-Address/Network
|
||||||
# -------------
|
# -------------
|
||||||
|
@ -19,7 +19,7 @@ ipt_conf_dir="/etc/ipt-firewall"
|
|||||||
|
|
||||||
inc_functions_file="${ipt_conf_dir}/include_functions.conf"
|
inc_functions_file="${ipt_conf_dir}/include_functions.conf"
|
||||||
|
|
||||||
load_modules_file=${ipt_conf_dir}/load_modules_ipv4.conf
|
load_modules_file=${ipt_conf_dir}/load_modules_ipv6.conf
|
||||||
|
|
||||||
conf_logging=${ipt_conf_dir}/logging_ipv6.conf
|
conf_logging=${ipt_conf_dir}/logging_ipv6.conf
|
||||||
conf_default_ports=${ipt_conf_dir}/default_ports.conf
|
conf_default_ports=${ipt_conf_dir}/default_ports.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user