1
General Discussion / Re: Newbie - MultiWAN Help
« on: May 21, 2024, 08:31:41 pm »
Hi Malith,
I have a suggestion for you below. I think you can solve it without using MultiWAN.
1. Enable DNS-based Alias Resolution
Navigate to Firewall > Aliases.
Click on Settings at the top.
Enable the option Enable DNS-based alias support.
Click Save to apply the changes.
2. Create the Alias for Social Media Sites
Go back to Firewall > Aliases.
Click Add to create a new alias.
Set the Type to URL Table (IPs).
Name it (e.g., SocialMediaSites).
In the Content field, enter the domain names of the social media sites, one per line:
Kodu kopyala
.facebook.com
.youtube.com
.instagram.com
.twitter.com
Note: The leading dot (.) is important as it ensures all subdomains are included.
Optionally, set a TTL (Time to Live) value. This determines how often the alias will refresh the IP addresses from the DNS lookup.
Click Save and then Apply the changes.
3. Use the Alias in Firewall Rules
Navigate to Firewall > Rules > LAN.
Click Add to create a new rule.
Action: Pass
Interface: LAN
Address Family: IPv4 (or IPv4+IPv6 if applicable)
Protocol: Any
Source: LAN Net
Destination: Alias (select the SocialMediaSites alias created earlier)
Gateway: WAN2
Click Save and Apply the changes.
4. Create Default LAN Rule for Other Traffic
Still in Firewall > Rules > LAN, click Add to create another rule below the social media routing rule.
Action: Pass
Interface: LAN
Address Family: IPv4 (or IPv4+IPv6 if applicable)
Protocol: Any
Source: LAN Net
Destination: Any
Gateway: WAN1
Click Save and Apply the changes.
I have a suggestion for you below. I think you can solve it without using MultiWAN.
1. Enable DNS-based Alias Resolution
Navigate to Firewall > Aliases.
Click on Settings at the top.
Enable the option Enable DNS-based alias support.
Click Save to apply the changes.
2. Create the Alias for Social Media Sites
Go back to Firewall > Aliases.
Click Add to create a new alias.
Set the Type to URL Table (IPs).
Name it (e.g., SocialMediaSites).
In the Content field, enter the domain names of the social media sites, one per line:
Kodu kopyala
.facebook.com
.youtube.com
.instagram.com
.twitter.com
Note: The leading dot (.) is important as it ensures all subdomains are included.
Optionally, set a TTL (Time to Live) value. This determines how often the alias will refresh the IP addresses from the DNS lookup.
Click Save and then Apply the changes.
3. Use the Alias in Firewall Rules
Navigate to Firewall > Rules > LAN.
Click Add to create a new rule.
Action: Pass
Interface: LAN
Address Family: IPv4 (or IPv4+IPv6 if applicable)
Protocol: Any
Source: LAN Net
Destination: Alias (select the SocialMediaSites alias created earlier)
Gateway: WAN2
Click Save and Apply the changes.
4. Create Default LAN Rule for Other Traffic
Still in Firewall > Rules > LAN, click Add to create another rule below the social media routing rule.
Action: Pass
Interface: LAN
Address Family: IPv4 (or IPv4+IPv6 if applicable)
Protocol: Any
Source: LAN Net
Destination: Any
Gateway: WAN1
Click Save and Apply the changes.