Forums

Ron Oz
Ron Oz
Offline
Resolved
0 votes
Hello,
I intended to use clearOS as a multi wan when one external interface is an internet connection while the second external interface is an organization internal network. Then I intended to route some IP addresses to the organization network while leaving all other traffic to the internaet connection.
After installing clearOS I saw that it refers to the organization network as offline which means I can't use it and also that after connecting it the automatic DNS servers are lost...
Is there any way to configure the clearOS as I intended?
Wednesday, September 11 2013, 08:21 PM
Share this post:
Responses (3)
  • Accepted Answer

    Thursday, September 12 2013, 12:22 PM - #Permalink
    Resolved
    0 votes
    These are just thoughts for the moment as I can't check what the MultiWAN interface has at the moment, but in theory what you want can be done using the "ip route" commands. The Webconfig may give you a destination based route,

    What you want is a default route defined to the internet, then a route to your other net. Assuming the default route is there, you then want something like
    ip route add distant_network_in_CIDR_form dev ethX
    ethX is your interface for the distant network. You may also want something like:
    ip route add prohibit distant_network_in_CIDR_form dev ethY
    ethY is your normal WAN interface. I don't know if that works as a comand and it should not be necessary as the other route command should take precedence over all routing to your remote network.

    If you have problems with DNS servers, fix them by hand.

    To be honest I think it would be a lot easier if you set up the remote network as an internal interface. Routing would just work out of the box, but you may want to restrict traffic from the remote network with some firewall rules which only allow related and established packets into your network and ClearOS. You also would not have to worry about a MultiWAN set up which comes with its own issues.
    The reply is currently minimized Show
  • Accepted Answer

    Ron Oz
    Ron Oz
    Offline
    Wednesday, September 11 2013, 09:40 PM - #Permalink
    Resolved
    0 votes
    Because it is a distant network which I'm connecting to in order to receive some services, it is not a lan...
    Today I have few computers which each one of them has 2 network cards and a route command to route some ip addresses to this second network.
    I would like to create a server which will route internally between the connections so this routing between the 2 connections will be transparent for the PCs.
    Is it possible to do with clearOS?

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, September 11 2013, 09:22 PM - #Permalink
    Resolved
    0 votes
    Why to you want the second external interface configured as external and not internal?
    The reply is currently minimized Show
Your Reply