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

18 lines
252 B
Markdown

# Network
## ipset
```bash
# Create ip-list with timeout
ipset create ipl-name hash:ip timeout 3600
```
## iptables
```bash
# Show current rules
iptables -L -vn
# Fix TTL for mobile network
iptables -t mangle -A POSTROUTING -j TTL --ttl-set 65
```