JakartaClient/iptables.sh

6 lines
187 B
Bash
Executable File

#!/bin/bash
## TTL Modification Hack
iptables -t mangle -I POSTROUTING 1 -j TTL --ttl-set 66
## Countermeasure for TCP Reset Attacks
iptables -A OUTPUT -p tcp --tcp-flags RST RST -j DROP