Add new data
This commit is contained in:
17
docs/linux/network.md
Normal file
17
docs/linux/network.md
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
# 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
|
||||
```
|
Reference in New Issue
Block a user