Logo
Explore Help
Sign In
external/mailinabox
Watch 1
Star 0
Fork 0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-09-14 00:37:59 +02:00
Code Issues Releases Wiki Activity
Files
52410106e90a6f9439f13ecf071cff3798a50a30
mailinabox/conf/blacklist/china
T
ChiefGyk 52410106e9 replaced iptables-persistent with another iptables-persistent in /etc/init.d, this one also will save ipsets and allow persistence upon reboot. Cleaned up some code, changed debconf variables at iptables-persistent install to false. Still installs iptable-persistant through apt, just to get rid of all the foundation work for it to run, but is quickly replaced.
2016-06-29 21:35:37 -04:00

7 lines
191 B
Bash
Raw Blame History

#!/bin/bash
curl http://www.okean.com/antispam/iptables/rc.firewall.china > /tmp/china.sh
chmod +x /tmp/china.sh
source /tmp/china.sh
rm -f /tmp/china.sh
/etc/init.d/iptables-persistent save
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.27.3 Page: 28ms Template: 3ms
Dark
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API