История изменений
Исправление Anoxemian, (текущая версия) :
iptables -t nat -F PREROUTING
iptables -t nat -A PREROUTING -p tcp -m multiport --dports 2010:2020 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.5
iptables -t nat -A PREROUTING -p udp -m multiport --dports 2010:2020 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.5
iptables -t nat -A PREROUTING -p tcp --dport 23122 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.2:22
iptables -t nat -A PREROUTING -p tcp --dport 23123 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.3:22
iptables -t nat -A PREROUTING -p tcp --dport 23125 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.5:22
iptables -t nat -A PREROUTING -p tcp --dport 25 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.3:25
iptables -t nat -A PREROUTING -p tcp --dport 6883 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.3:6883
iptables -t nat -A PREROUTING -p udp --dport 6883 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.3:6883
iptables -t nat -A PREROUTING -p tcp --dport 6882 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.3:6882
iptables -t nat -A PREROUTING -p udp --dport 6882 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.3:6882
iptables -t nat -A PREROUTING -p tcp --dport 7881 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.2:7881
iptables -t nat -A PREROUTING -p udp --dport 7881 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.2:7881
iptables -t nat -A PREROUTING -p tcp --dport 8881 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.2:8881
iptables -t nat -A PREROUTING -p udp --dport 8881 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.2:8881
И да, тут тоже ничего не трогай, пока не изучишь)))
Исходная версия Anoxemian, :
iptables -t nat -F PREROUTING
iptables -t nat -A PREROUTING -p tcp -m multiport --dports 2010:2020 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.5
iptables -t nat -A PREROUTING -p udp -m multiport --dports 2010:2020 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.5
iptables -t nat -A PREROUTING -p tcp --dport 23122 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.2:22
iptables -t nat -A PREROUTING -p tcp --dport 23123 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.3:22
iptables -t nat -A PREROUTING -p tcp --dport 23125 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.5:22
iptables -t nat -A PREROUTING -p tcp --dport 25 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.3:25
iptables -t nat -A PREROUTING -p tcp --dport 6883 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.3:6883
iptables -t nat -A PREROUTING -p udp --dport 6883 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.3:6883
iptables -t nat -A PREROUTING -p tcp --dport 6882 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.3:6882
iptables -t nat -A PREROUTING -p udp --dport 6882 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.3:6882
iptables -t nat -A PREROUTING -p tcp --dport 7881 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.2:7881
iptables -t nat -A PREROUTING -p udp --dport 7881 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.2:7881
iptables -t nat -A PREROUTING -p tcp --dport 8881 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.2:8881
iptables -t nat -A PREROUTING -p udp --dport 8881 -d 192.168.1.64 -j DNAT --to-destination 172.29.2.2:8881