Redirect certain url/domain over certain WAN
-
We can now redirect to different gateway based on source and destination, is it possible for me to redirect to gateway based on url/domain?
For example:
WAN1 - fast internet connection
WAN2 - slow internet connectionHigh bandwidth usage (eg, youtube.com, dropbox.com) go out through WAN1
Low bandwidth usage (eg, gmail.com, hotmail.com) go out using WAN2How is it possible? I have spent sometime on the L7 filter but no findings yet.
Thanks
-
aliases
-
aliases
A little more details please ? I'm also interested in solution but I want to redirect some addresses (urls) to another gateway through VPN tunnel. No idea so far how to achieve this.
-
If you want to use it for popular sites (youtube etc), any solution will probably need to involve squid …
Aliases probably won't do it, even if pfsense someday implements a feature such as the one I suggested a year ago "Maintain IP range tables for popular Internet sites" http://redmine.pfsense.org/issues/1901
-
Billion thanks for the feedback.
If you want to use it for popular sites (youtube etc), any solution will probably need to involve squid …
Aliases probably won't do it, even if pfsense someday implements a feature such as the one I suggested a year ago "Maintain IP range tables for popular Internet sites" http://redmine.pfsense.org/issues/1901
I don't mind involving squid, how would that work? Is it at the WebGUI or is it some squid customized configuration?
Why would the "Maintain IP range tables" failed? Say if I run "dig www.youtube.com" everyday and update the Allias ip-list daily, would that work? I can only imagine that the filter would left out any new but not updated ip, and, a bit tedious to go thru 10+ firewalls daily.
-
I've decided to try out Aliases, IP is obtained by dig and updated daily. I did refer to squid's access.log for all(most) the url associated to youtube.com for eg.
Am using Aliases Hosts because I would like to keep the record updated locally(like config.xml) as I find it troublesome to set up a webserver just to host the URL table text file. Ip addresses are inserted into config.xml directly.
It would be convenience if I am able to refer to a local text file(so no need to insert thousands of ip addresses into that little config.xml)
Thanks for the attention. :)