I don't understand well the PBR .....
I have 2 internet access, public IP on WAN1 and other router on WAN2.
Server (rdp and http) is on LAN
I want RPD inbount/outbound ONLY on WAN1
I wand other services (http, ftp …. service group in/out) on WAN2
WAN1 (arp publish, nat, sat, ip rule) is okay, I can RDP'in to my server
Here is resumed the current config :
Interfaces
WAN1 : wan1_ip, wan1_net, wan1_gw - auto route creation disabled (enabled first time to check the WAN1 rdp alone)
WAN2 : idem (of course with wan2 ips !)
IP rules :
WAN1toLAN :
SAT : wan1/allnets - core/wan1ip (rdp protocol)
ALLOW : wan1/allnets - core/wan1ip (rdp protocol)
(note this config works well with only wan1)
LANtoWAN1 :
NAT : lan/lannet – wan1/allnet (rdp only)
WAN2toLAN
SAT : wan2/allnets - core/wan2ip (other protocols)
ALLOW : wan2/allnets - core/wan1ip (other protocol)
LANtoWAN2 :
NAT : lan/lannet – wan2/allnet (other protocols)
But I don't understand how to configure the other route and the PBR (necessary to separate rdp traffic and other traffic) .... and how to set the metrics for the interfaces and routes ??
Thank’s for your help !
Gilles