aboutsummaryrefslogtreecommitdiffstats
path: root/core/conf
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2019-06-02 19:07:17 +0000
committerSilvino Silva <silvino@bk.ru>2019-06-02 19:07:17 +0000
commitf5971b13ab41c1131c796b509c06165e6e8fe6bf (patch)
treefe063fe68ae187d0dac111abd75fbd374f27c736 /core/conf
parent9d9bfe21eef76ca690f864f7757b1470d07d1301 (diff)
downloaddoc-f5971b13ab41c1131c796b509c06165e6e8fe6bf.tar.gz
core and skel revision
Diffstat (limited to 'core/conf')
-rw-r--r--core/conf/rc.d/iptables7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/conf/rc.d/iptables b/core/conf/rc.d/iptables
index 9471f99..d4f9ebc 100644
--- a/core/conf/rc.d/iptables
+++ b/core/conf/rc.d/iptables
@@ -8,20 +8,25 @@ case $1 in
ipt_tables
case $TYPE in
bridge)
+
+ ## load bridge configuration
source /etc/iptables/ipt-bridge.sh
## log everything else and drop
ipt_log
iptables-save > /etc/iptables/bridge.v4
+
;;
server)
+
+ ## load server configuration
source /etc/iptables/iptables-conf.sh
## log everything else and drop
ipt_log
- iptables-save > /etc/iptables/net.v4
+ iptables-save > /etc/iptables/server.v4
;;
esac
;;