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?
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?
In Multiwan
Share this post:
Responses (3)
-
Accepted Answer
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
ethX is your interface for the distant network. You may also want something like:ip route add distant_network_in_CIDR_form dev ethX
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.ip route add prohibit distant_network_in_CIDR_form dev ethY
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. -
Accepted Answer
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 -
Accepted Answer
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »