Все работает, проверяйте не перекрывается ли чем или ошибки смотрите
У меня аналогичная конфигурация, статические маршруты используются для разделения IPsec по каналам
Есть объект sten_sk_ip2 = 85.235.x.x (под "х" кроются разные цифры), который идет через wan2
Код:
Home_800:/> routes main -lookup=RemoteNetworks/sten_sk_ip2
Looking up 85.235.x.x in routing table "main":
Matching route: 85.235.x.x
Routing table : main
Send via iface: wan2
Gateway : 90.155.x.x
Proxy ARP on :
Local IP : (use iface IP in ARP queries)
Metric : 1
Flags :
Соответственно, запускаем пинг и видим
Код:
Home_800:/> connections -show -destip=85.235.x.x
State Proto Source Destination Tmout
-------- ------- --------------------------- --------------------------- ------
PING ICMP lan:192.168.10.122:1 wan2:85.235.x.x:1 8
Далее, добавляем таблицу wan1_wan2_favorier
Код:
Home_800:/> routes wan1_wan2_favorier
Routing table: wan1_wan2_favorier
Flags Network Iface Gateway Local IP Metric
----- ------------------ -------------- --------------- --------------- ------
M 0.0.0.0/0 wan1_pptp 100
0.0.0.0/0 wan2 90.155.x.x 101
Добавляем правило PBR для обработки подключений на sten_sk_ip2
Код:
Home_800:/> show RoutingRule 1
Property Value
--------------------- --------------------------
Index: 1
Name: sk2_thru_favorier
ForwardRoutingTable: wan1_wan2_favorier
ReturnRoutingTable: main
SourceInterface: lan
SourceNetwork: InterfaceAddresses/lan_net
DestinationInterface: wans
DestinationNetwork: RemoteNetworks/sten_sk_ip2
Service: all_services
Schedule: <empty>
LogEnabled: Yes
LogSeverity: Default
Comments: <empty>
Применяем, запускаем пинг
Код:
Home_800:/> connections -show -destip=85.235.x.x
State Proto Source Destination Tmout
-------- ------- --------------------------- --------------------------- ------
PING ICMP lan:192.168.10.122:1 wan1_pptp:85.235.x.x:1 8
_________________
Хотите хороший девайс? D-Link DFL!
Хотите считать с него трафик?
http://www.raresoftware.ru/products/lan/dfltc
