소스 검색

+ README.md

tBKwtWS 6 년 전
부모
커밋
7d0112d9a3
1개의 변경된 파일18개의 추가작업 그리고 0개의 파일을 삭제
  1. 18 0
      README.MD

+ 18 - 0
README.MD

@@ -0,0 +1,18 @@
+# Files
+
+| 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. |
+
+
+# Set up
+
+Create symbolic links to files in repository:
+1. `ln -s if-pre-up.d/iptables /etc/network/if-pre-up.d/iptables`
+1. If if project is not cloned to `/etc/iptables-config`:
+   1. `mkdir /etc/iptables-config`
+   1. `ln -s /etc/iptables-config/iptables.up.rules /etc/iptables-config/iptables.up.rules
+1. `ln -s rsyslog.d/30-iptables.conf /etc/rsyslog.d/30-iptables.conf`
+   1. `mkdir /var/log/iptables`