Skip to content
Nosce Te Ipsum
  • Home
  • About me
  • My COETAIL Blogs
    • Course 1
    • Course 2
    • Course 3
    • Course 4
  • Testimonials
    • Professional
    • Personal
Site Search

ClearOS: multiwan destination based rule

  • November 19, 2010February 13, 2017
  • by Muhammad
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Pin on Pinterest
Pinterest
Share on Reddit
Reddit
Email this to someone
email
Share on StumbleUpon
StumbleUpon
Digg this
Digg

ClearOS multiwan provides simple GUI based method to add source based rules (if you want a LAN IP to always access through a particular WAN) but there is no facility to do a destination based rule (a particular site/IP to be always accessed via a particular WAB). This can be accomplished with editing related files via command line

following post in Clear Foundations Forums

example uses routing yahoo and google traffic via a specific WAN

1. first get the yahoo/google domains address (something like 209.191.64.0 – 209.191.127.255 for yahoo)
2. add to rc.local (etc/rc.d/rc.local ot rc.local.firewall) two line (one per rule):
route add -net 209.191.65.0 gw ip-wan1 netmask 255.255.128.0
route add -net 98.136.0.0 gw ip-wan2 netmask 255.255.0.0

3. reboot/ run rc singulair over the counter.local

Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Pin on Pinterest
Pinterest
Share on Reddit
Reddit
Email this to someone
email
Share on StumbleUpon
StumbleUpon
Digg this
Digg
ماہی وے ماہی وے عرض کراں
L2TP/IPsec error 678: in Windows
Muhammad
clearos destination based rule mutliwan

Related articles

ClearOS – more installation tips
ClearOS: squid with VLANS
ClearOS: Time Zone issue
ClearOS Firewall fail to start
ClearOS installation tips

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Follow Me!

Follow Me On TwitterFollow Me On LinkedInFollow Me On PinterestFollow Me On About.meFollow Me On Wordpress
May 2025
M T W T F S S
« Oct    
 1234
567891011
12131415161718
19202122232425
262728293031  

2009 2010 2011 Amelie apache beijing birthday clearos crèpes debian december 2009 dubai email february firewall guide holidays ill install internet kuala lumpur linux list mac maheen mobile october 2009 outlook Pakistan raspberry raspberry pi router search Sharepoint smtp snow spring ubuntu unix VLAN VPN windows 7 winter xian Zimbra

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Categories

Licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Theme by Colorlib Powered by WordPress
  • Home
  • About me
  • My COETAIL Blogs
  • Testimonials