Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Route aliases to secondary WAN

    Firewalling
    2
    2
    509
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      ed123 last edited by

      Hi,

      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.

      Newbie

      1 Reply Last reply Reply Quote 0
      • kesawi
        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post