nftables and iptables configurations
|
|
4 лет назад | |
|---|---|---|
| if-pre-up.d | 6 лет назад | |
| rsyslog.d | 6 лет назад | |
| README.md | 6 лет назад | |
| iptables.up.rules | 4 лет назад |
| Absolute repository path | Absolute system path | Description |
|---|---|---|
if-pre-up.d/iptables |
/etc/network/if-pre-up.d/iptables |
Load the iptables.up.rules when the network comes up. |
iptables.up.rules |
`/etc/iptaples.up.rules | The rules. |
rsyslog.d/30-iptables.conf |
/etc/rsyslog.d/30-iptables.conf |
Filter messages from syslog to seperate logfiles. |
Create symbolic links to files in repository:
ln -s if-pre-up.d/iptables /etc/network/if-pre-up.d/iptables/etc/iptables-config:
mkdir /etc/iptables-configln -s rsyslog.d/30-iptables.conf /etc/rsyslog.d/30-iptables.conf
mkdir /var/log/iptableschown syslog:root /var/log/iptables