mirror of
https://github.com/drk1wi/portspoof.git
synced 2024-06-28 09:41:36 +00:00
7d2acbf816
Many source and text files had incorrectly set their execute bit.
21 lines
709 B
Plaintext
21 lines
709 B
Plaintext
# Generated by iptables-save v1.4.4 on Tue Apr 23 14:26:41 2013
|
|
*nat
|
|
:PREROUTING ACCEPT [5992:539002]
|
|
:INPUT ACCEPT [347451:16935290]
|
|
:OUTPUT ACCEPT [477:45868]
|
|
:POSTROUTING ACCEPT [0:0]
|
|
# Portspoof everything except the sshd service
|
|
# Remember to change the iface name
|
|
-A PREROUTING -i eth0 -p tcp -m tcp --dport 1:21 -j REDIRECT --to-ports 4444
|
|
-A PREROUTING -i eth0 -p tcp -m tcp --dport 23:65535 -j REDIRECT --to-ports 4444
|
|
COMMIT
|
|
# Completed on Tue Apr 23 14:26:42 2013
|
|
# Generated by iptables-save v1.4.4 on Tue Apr 23 14:26:42 2013
|
|
*filter
|
|
:INPUT ACCEPT [1931192:104113948]
|
|
:FORWARD ACCEPT [0:0]
|
|
:OUTPUT ACCEPT [1606583:151106362]
|
|
-A FORWARD -j ACCEPT
|
|
COMMIT
|
|
# Completed on Tue Apr 23 14:26:42 2013
|