Created
June 5, 2014 18:04
-
-
Save AyumuKasuga/29d2856e7d67c8fdb876 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/iptables.rules | |
# Generated by iptables-save v1.4.14 on Thu Jun 5 19:52:31 2014 | |
*nat | |
:PREROUTING ACCEPT [0:0] | |
:INPUT ACCEPT [0:0] | |
:OUTPUT ACCEPT [0:0] | |
:POSTROUTING ACCEPT [0:0] | |
-A PREROUTING -i wlan0 -p udp --dport 53 -j REDIRECT --to-ports 53 | |
-A PREROUTING -i wlan0 -p tcp --syn -j REDIRECT --to-ports 9040 | |
COMMIT | |
*filter | |
:INPUT ACCEPT [0:0] | |
:FORWARD ACCEPT [0:0] | |
:OUTPUT ACCEPT [0:0] | |
:sshguard - [0:0] | |
-A INPUT -j sshguard | |
COMMIT | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment