add notes on site

This commit is contained in:
2025-05-10 13:20:57 +03:00
parent 06187b3761
commit 40edadb98e
55 changed files with 3210 additions and 0 deletions
@@ -0,0 +1,10 @@
#comand #linux #iptables
```
iptables -A FORWARD -i eth1(внутрений) -o eth0(внешний) -j ACCEPT
```
```
iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
```
```
iptables -t nat -A POSTROUTING -s 10.2.0.0/24 -o eth1 -j SNAT --to-source 84.201.168.122
```