Route aliases to secondary WAN
I created a youtube.com aliases and now i want to route the IP's under it to my secondary WAN. How can i do that? So every time i access youtube it should be routed to my secondary wan. Please need your expertise.
kesawi last edited by
Create a LAN firewall rule with the youtube.com aliase as the destination and specify the gateway in the rule under the advanced features as the second WAN.
If you are using a squid proxy on pfSense for your web traffic then you will need to add the following to Custom ACLS (Before Auth) under the advanced features of the squid proxy configuration page (substitute XXX.XXX.XXX.XXX for the IP address of your second WAN):
#Use Second WAN for YouTube acl youtube_domains dstdomain .youtube.com .googlevideo.com .ytimg.com tcp_outgoing_address XXX.XXX.XXX.XXX youtube_domains
Downside with the squid rule is you will need to change the configuration every time your second WAN IP changes.