Files
cmp-docs/docs/linux/network.md
2024-03-02 02:54:33 +03:00

252 B

Network

ipset

# Create ip-list with timeout
ipset create ipl-name hash:ip timeout 3600

iptables

# Show current rules
iptables -L -vn

# Fix TTL for mobile network
iptables -t mangle -A POSTROUTING -j TTL --ttl-set 65