Привет, нужна помощь с балансировкой двух WAN-соединений методом PCC на версии 5.18. Нет доступа к MT роутеру с подсетей 192.168.100.0/24 и 192.168.200.0/24, НО могу зайти в MT роутер через Winbox, Webfig с LAN-стороны (192.168.20.0/24). Кажется, все порты закрыты со стороны WAN. Даже пинг роутера с WAN-стороны не проходит ни с 192.168.100.0/24, ни с 192.168.200.0/24.
wan1 192.168.100.254 – DMZ хост на первом ADSL роутере
wan2 192.168.200.254 – DMZ хост на втором ADSL роутере
Local: 192.168.20.1
У меня такие правила NAT:
add action=dst-nat chain=dstnat comment="GW webinterface port mapaing " disabled=no dst-port=90 protocol=tcp to-addresses=192.168.20.1 to-ports= 90
add action=dst-nat chain=dstnat comment=“Winbox Port Mapping 8292” disabled= no dst-port=8292 protocol=tcp to-addresses=192.168.20.1 to-ports=8292
НО, когда я меняю Routing Marks с “to_ether4” на “main” и “to_ether4” на “main”, я могу получить доступ к роутеру с WAN-стороны, как с 192.169.100.0/24, так и с 192.168.200.0/24, или с публичных IP-адресов двух ADSL модемов.
ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.200.1 routing-mark=to_ether4 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.100.1 routing-mark=to_ether5 target-scope=10
add check-gateway=ping disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=192.168.200.1,192.168.100.1 scope=3 target-scope=10
Надеюсь, кто-нибудь подскажет, в каком направлении копать. Спасибо, Алекс.
wan1 192.168.100.254 – DMZ хост на первом ADSL роутере
wan2 192.168.200.254 – DMZ хост на втором ADSL роутере
Local: 192.168.20.1
У меня такие правила NAT:
add action=dst-nat chain=dstnat comment="GW webinterface port mapaing " disabled=no dst-port=90 protocol=tcp to-addresses=192.168.20.1 to-ports= 90
add action=dst-nat chain=dstnat comment=“Winbox Port Mapping 8292” disabled= no dst-port=8292 protocol=tcp to-addresses=192.168.20.1 to-ports=8292
НО, когда я меняю Routing Marks с “to_ether4” на “main” и “to_ether4” на “main”, я могу получить доступ к роутеру с WAN-стороны, как с 192.169.100.0/24, так и с 192.168.200.0/24, или с публичных IP-адресов двух ADSL модемов.
ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.200.1 routing-mark=to_ether4 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.100.1 routing-mark=to_ether5 target-scope=10
add check-gateway=ping disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=192.168.200.1,192.168.100.1 scope=3 target-scope=10
Надеюсь, кто-нибудь подскажет, в каком направлении копать. Спасибо, Алекс.
