Найти в Дзене
shp
ISP: apt-get install iptables в /etc/sysctl.conf: net.ipv4.ip_forward=1 терминал: sysctl -p скрипт nano /etc/iptables.sh: #!/bin/bash iptables -t nat -A POSTROUTING -o ens33 -j MASQUERADE iptables-save > /etc/iptables.rules в /etc/network/interfaces: post-up iptables-restore < /etc/iptables.rules терминал: chmod 0740 /etc/iptables.sh. /iptables.sh systemctl restart networking НЕ ЗАБЫТЬ ПРОПИСАТЬ ГЕТВЕЙ сделать то же самое на роутерах для серверов HQ-RTR: apt-get install vlan modprobe 8021q lsmod | grep 8021q в /etc/network/interfaces: auto ens37 iface ens37 inet manual auto ens37.100 iface ens37...
1 неделю назад