Привет еще раз, вот вся моя конфигурация, но не удается привязать (exe) к wan2 (10.10.10.252). Все скачивания берутся с шлюза по умолчанию wan1 (172.20.20.1). Обе линии WAN от разных провайдеров. Все работает отлично, даже прокси WAN2 работает в браузере, но не удается привязать скачивание к нему, только 10x 4. Помогите, пожалуйста.
[admin@MikroTik] > /ip address
[admin@MikroTik] ip address> print
Flags: X - отключен, I - недействителен, D - динамический
ADDRESS NETWORK BROADCAST INTERFACE
0 20.20.20.1/24 20.20.20.0 20.20.20.255 local
1 10.10.10.252/24 10.10.10.0 10.10.10.255 public2
2 172.20.20.248/24 172.20.20.0 172.20.20.255 public1
[admin@MikroTik] ip route> print
Flags: X - отключен, A - активен, D - динамический, C - connect, S - static, r - rip, b - bgp, o - ospf
DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 ADC 10.10.10.0/24 10.10.10.252 public2
1 ADC 20.20.20.0/24 20.20.20.1 local
2 ADC 172.20.20.0/24 172.20.20.248 public1
3 A S 0.0.0.0/0 r 10.10.10.1 public2
4 A S 0.0.0.0/0 r 172.20.20.1 public1
5 A S 0.0.0.0/0 r 172.20.20.1 public1
[admin@MikroTik] > /ip firewall nat
[admin@MikroTik] ip firewall nat> print
Flags: X - отключен, I - недействителен, D - динамический
0 chain=dstnat protocol=tcp dst-port=53 action=dst-nat to-addresses=172.20.20.1 to-ports=53
1 chain=dstnat protocol=udp dst-port=53 action=dst-nat to-addresses=172.20.20.1 to-ports=53
2 chain=dstnat protocol=tcp dst-port=53 action=dst-nat to-addresses=10.10.10.1 to-ports=53
3 chain=dstnat protocol=udp dst-port=53 action=dst-nat to-addresses=10.10.10.1 to-ports=53
4 chain=srcnat out-interface=public1 action=masquerade
5 chain=srcnat out-interface=public2 action=masquerade
6 chain=dstnat in-interface=local protocol=tcp dst-port=80 action=redirect to-ports=3128
[admin@MikroTik] ip> webproxy
no such command or directory (webproxy)
[admin@MikroTik] ip> web-proxy
[admin@MikroTik] ip web-proxy> print
enabled: yes
src-address: 0.0.0.0
port: 3128
hostname: "proxy"
transparent-proxy: yes
parent-proxy: 0.0.0.0:0
cache-administrator: "webmaster"
max-object-size: 4096KiB
cache-drive: system
max-cache-size: unlimited
max-ram-cache-size: unlimited
status: running
reserved-for-cache: 13378560KiB
reserved-for-ram-cache: 2048KiB
[admin@MikroTik] ip web-proxy access> print
Flags: X - отключен, I - недействителен
0 ;;; block telnet & spam e-mail relaying dst-port=23-25 action=deny
1 url=“ftp://*” action=deny
2 url=“:\.mp[3g]$” action=deny
3 src-address=10.10.10.252/32 action=allow
4 url=“.exe” action=deny
[admin@MikroTik] ip> proxy
[admin@MikroTik] ip proxy> print
enabled: yes
port: 8080
parent-proxy: 0.0.0.0:1
maximal-client-connecions: 1000
maximal-server-connectons: 1000