User Tools

Site Tools


сервисы_gateway_и_routing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
сервисы_gateway_и_routing [2022/03/09 15:38]
val [Протокол OSPF]
сервисы_gateway_и_routing [2022/05/19 14:37] (current)
val [NetFilter iproute2 (Linux)]
Line 292: Line 292:
  
 iptables -t nat -A POSTROUTING -o eth1 -s 192.168.X.0/​24 -j SNAT --to-source 172.16.1.X iptables -t nat -A POSTROUTING -o eth1 -s 192.168.X.0/​24 -j SNAT --to-source 172.16.1.X
-iptables -t nat -A POSTROUTING -o eth3 -s 192.168.X.0/​24 -j SNAT --to-source 172.16.2.X +iptables -t nat -A POSTROUTING -o eth2 -s 192.168.X.0/​24 -j SNAT --to-source 172.16.2.X
-#iptables -t nat -A POSTROUTING -o eth2 -s 192.168.X.0/​24 -j SNAT --to-source 172.16.2.X+
  
 conntrack -F conntrack -F
сервисы_gateway_и_routing.txt · Last modified: 2022/05/19 14:37 by val