Example Network

Различия

Здесь показаны различия между двумя версиями данной страницы.

Ссылка на это сравнение

example:example_network [20.04.2017 10:21]
admin
example:example_network [20.05.2019 15:18]
Строка 1: Строка 1:
-<code bash> 
-#tcpdump tcpdump -c 1000  -nni any | while read t t ip1 t ip2 t; do echo $\{ip2%%:​*\};​ done | sort | uniq -c | sort -n ### кто съел весь трафик 
  
- 
-#iptables #mtu Настроить mtu в FORWARD/​INPUT/​OUTPUT,​ важно для vpn и tunnel 
-#iptables #mtu iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 
-#iptables #mtu iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1350 
- 
- 
-</​code>​