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
:INPUT DROP [17:2112]
:FORWARD DROP [0:0]
@ -9,19 +9,17 @@
-A INPUT -i lo -j ACCEPT
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
COMMIT
# Completed on Thu Jan 30 09:05:19 2020
# Generated by ip6tables-save v1.8.4 on Thu Jan 30 09:05:19 2020
# Mangle
*mangle
:PREROUTING ACCEPT [18:2161]
:INPUT ACCEPT [18:2161]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [31:3265]
:POSTROUTING ACCEPT [48:5377]
-A OUTPUT -j TOS --set-tos 0x10/0xff
COMMIT
# Completed on Thu Jan 30 09:05:19 2020
# Generated by ip6tables-save v1.8.4 on Thu Jan 30 09:05:19 2020
# Raw electrons
*raw
:PREROUTING ACCEPT [18:2161]
:OUTPUT ACCEPT [31:3265]
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
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
@ -12,19 +12,17 @@
-A INPUT -p tcp -j REJECT --reject-with tcp-reset
-A INPUT -p udp -j REJECT --reject-with icmp-port-unreachable
COMMIT
# Completed on Thu Jan 30 10:59:37 2020
# Generated by iptables-save v1.8.4 on Thu Jan 30 10:59:37 2020
# Mangle
*mangle
:PREROUTING ACCEPT [8948:5925361]
:INPUT ACCEPT [8943:5924001]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [10902:1431630]
: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
# Completed on Thu Jan 30 10:59:37 2020
# Generated by iptables-save v1.8.4 on Thu Jan 30 10:59:37 2020
# Raw
*raw
:PREROUTING ACCEPT [8948:5925361]
:OUTPUT ACCEPT [10902:1431630]
COMMIT
# Completed on Thu Jan 30 10:59:37 2020