Could you please help with the following issue?
I would like to route connections to several web sites through VPN connection because several sites are blocked in my country.
I created a VPN connection and it is working. But I cannot configure router so that it should redirect requests to the blocked sites through VPN connection using Mangle mark routing feature.
When I am using simple route without Mangle it is working (through VPN and my IP is seen as the IP of the VPN server).
- =================================================
nov/19/2016 17:00:50 by RouterOS 6.37.1
software id = XR1E-AM3R
/ip route
add distance=1 dst-address=23.22.128.188/32 gateway=pptp-out_VPN
/ip firewall nat
add action=masquerade chain=srcnat comment=
"NAT to use internet through VPN" out-interface=
pptp-out_VPN
But when I add Mangle rule as the following. There is no connection with the web site.
2) ========================================================
/ip firewall mangle
add action=mark-connection chain=prerouting dst-address-list=
through_VPN new-connection-mark=VPN_Connection_Mark
passthrough=yes
add action=mark-routing chain=prerouting connection-mark=
VPN_Connection_Mark new-routing-mark=VPN_routing_mark
passthrough=yes
/ip route
add distance=1 dst-address=23.22.128.188/32 gateway=pptp-out_VPN
routing-mark=VPN_routing_mark
What is wrong with the configuration?