Add TOS 0x10 bit

This commit is contained in:
Alex 2020-03-27 21:16:02 +01:00
parent 628a36ab77
commit fb7d2d90d7
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 8 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# Generated by ip6tables-save v1.8.4 on Thu Jan 30 09:05:19 2020 # The coffee is too strong, get some stuff out
*filter *filter
:INPUT DROP [17:2112] :INPUT DROP [17:2112]
:FORWARD DROP [0:0] :FORWARD DROP [0:0]
@ -9,19 +9,17 @@
-A INPUT -i lo -j ACCEPT -A INPUT -i lo -j ACCEPT
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
COMMIT COMMIT
# Completed on Thu Jan 30 09:05:19 2020 # Mangle
# Generated by ip6tables-save v1.8.4 on Thu Jan 30 09:05:19 2020
*mangle *mangle
:PREROUTING ACCEPT [18:2161] :PREROUTING ACCEPT [18:2161]
:INPUT ACCEPT [18:2161] :INPUT ACCEPT [18:2161]
:FORWARD ACCEPT [0:0] :FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [31:3265] :OUTPUT ACCEPT [31:3265]
:POSTROUTING ACCEPT [48:5377] :POSTROUTING ACCEPT [48:5377]
-A OUTPUT -j TOS --set-tos 0x10/0xff
COMMIT COMMIT
# Completed on Thu Jan 30 09:05:19 2020 # Raw electrons
# Generated by ip6tables-save v1.8.4 on Thu Jan 30 09:05:19 2020
*raw *raw
:PREROUTING ACCEPT [18:2161] :PREROUTING ACCEPT [18:2161]
:OUTPUT ACCEPT [31:3265] :OUTPUT ACCEPT [31:3265]
COMMIT COMMIT
# Completed on Thu Jan 30 09:05:19 2020

View File

@ -1,4 +1,4 @@
# Generated by iptables-save v1.8.4 on Thu Jan 30 10:59:37 2020 # Filter
*filter *filter
:INPUT DROP [0:0] :INPUT DROP [0:0]
:FORWARD DROP [0:0] :FORWARD DROP [0:0]
@ -12,19 +12,17 @@
-A INPUT -p tcp -j REJECT --reject-with tcp-reset -A INPUT -p tcp -j REJECT --reject-with tcp-reset
-A INPUT -p udp -j REJECT --reject-with icmp-port-unreachable -A INPUT -p udp -j REJECT --reject-with icmp-port-unreachable
COMMIT COMMIT
# Completed on Thu Jan 30 10:59:37 2020 # Mangle
# Generated by iptables-save v1.8.4 on Thu Jan 30 10:59:37 2020
*mangle *mangle
:PREROUTING ACCEPT [8948:5925361] :PREROUTING ACCEPT [8948:5925361]
:INPUT ACCEPT [8943:5924001] :INPUT ACCEPT [8943:5924001]
:FORWARD ACCEPT [0:0] :FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [10902:1431630] :OUTPUT ACCEPT [10902:1431630]
:POSTROUTING ACCEPT [10965:1438415] :POSTROUTING ACCEPT [10965:1438415]
-A OUTPUT -j TOS --set-tos 0x10/0xff # ISPs hate this trick, learn how he gets 10 ping with one single rule
COMMIT COMMIT
# Completed on Thu Jan 30 10:59:37 2020 # Raw
# Generated by iptables-save v1.8.4 on Thu Jan 30 10:59:37 2020
*raw *raw
:PREROUTING ACCEPT [8948:5925361] :PREROUTING ACCEPT [8948:5925361]
:OUTPUT ACCEPT [10902:1431630] :OUTPUT ACCEPT [10902:1431630]
COMMIT COMMIT
# Completed on Thu Jan 30 10:59:37 2020