Hi
I am currently using this
There are micro cuts, so to speak, sometimes my bullets do not register, but it is already very rare.
Other than that, I don't touch anything else on the router.
Recommended:
MTU Default DO NOT use QOS GARGOYLE.
I use DHCP to reserve the range of IP addresses to other devices and my separate IP, so my IP has priority with the DSCP EF. With these rules I could see transmissions without failures while saturating the network with other devices
iptables -t mangle -N qos_plus_up
iptables -t mangle -A PREROUTING -j qos_plus_up
iptables -t mangle -A INPUT -i pppoe-wan -j qos_plus_up
iptables -t mangle -A FORWARD -i pppoe-wan -j qos_plus_up
iptables -t mangle -A qos_plus_up -p tcp -m tcp --tcp-flags PSH PSH -j MARK --set-mark 0x2
iptables -t mangle -A qos_plus_up -p tcp -m tcp --tcp-flags ACK ACK -j MARK --set-mark 0x2
iptables -t mangle -A qos_plus_up -p tcp -m tcp --tcp-flags SYN SYN -j MARK --set-mark 0x2
iptables -t mangle -A qos_plus_up -p tcp -m tcp --tcp-flags RST RST -j MARK --set-mark 0x2
iptables -t mangle -A qos_plus_up -p tcp -m tcp --tcp-flags FIN FIN -j MARK --set-mark 0x2
iptables -t mangle -A qos_plus_up -d 192.168.1.124 -j MARK --set-mark 0x2
iptables -t mangle -A qos_plus_up -p icmp --icmp-type 8 -j MARK --set-mark 0x2 -s 192.168.1.124
iptables -t mangle -A qos_plus_up -s 192.168.1.124 -j DSCP --set-dscp-class EF/101110
iptables -t mangle -A qos_plus_up -d 192.168.1.124 -j DSCP --set-dscp-class EF/101110
iptables -t mangle -A qos_plus_up -s 192.168.1.8/29 -j DSCP --set-dscp-class CS1
iptables -t mangle -A qos_plus_up -j CONNMARK --restore-mark
iptables -t mangle -A qos_plus_up -p udp -m connbytes --connbytes 0:700 --connbytes-dir both --connbytes-mode avgpkt -j DSCP --set-dscp-class EF/101110
iptables -t mangle -N qos_plus_down
iptables -t mangle -A POSTROUTING -o pppoe-wan -j qos_plus_down
iptables -t mangle -A qos_plus_down -p tcp -m tcp --tcp-flags PSH PSH -j MARK --set-mark 0x200
iptables -t mangle -A qos_plus_down -p tcp -m tcp --tcp-flags ACK ACK -j MARK --set-mark 0x200
iptables -t mangle -A qos_plus_down -p tcp -m tcp --tcp-flags SYN SYN -j MARK --set-mark 0x200
iptables -t mangle -A qos_plus_down -p tcp -m tcp --tcp-flags RST RST -j MARK --set-mark 0x200
iptables -t mangle -A qos_plus_down -p tcp -m tcp --tcp-flags FIN FIN -j MARK --set-mark 0x200
iptables -t mangle -A qos_plus_down -s 192.168.1.124 -j MARK --set-mark 0x200
iptables -t mangle -A qos_plus_down -p icmp --icmp-type 8 -j MARK --set-mark 0x200 -s 192.168.1.124
iptables -t mangle -A qos_plus_down -s 192.168.1.124 -j DSCP --set-dscp-class EF/101110
iptables -t mangle -A qos_plus_down -s 192.168.1.8/29 -j DSCP --set-dscp-class CS1
iptables -t mangle -A qos_plus_down -j CONNMARK --save-mark
iptables -t mangle -A POSTROUTING -p icmp --icmp-type 8 -s 192.168.1.124 -j RETURN
iptables -t mangle -A PREROUTING -p icmp --icmp-type 8 -s 192.168.1.124 -j RETURN
iptables -t mangle -A FORWARD -p icmp --icmp-type 8 -s 192.168.1.124 -j RETURN