F
F
Fixid2016-03-23 16:38:34
linux
Fixid, 2016-03-23 16:38:34

Transparent caching linux gateway with dual channel balancing?

Good afternoon.
There is a "server" on ubuntu 14.04 and two Internet channels - ethernet and a modem with rndis It is
necessary to transparently (without additional settings on the client side) route depending on ip / domain and cache statics.
With what programs to implement? Besides squid and PfSense. Preferably free or for little money.
PS There is a limited fast Internet and a slow anlim, you need to let the work traffic go through the fast one, and the rest through the slow one. And in order to have enough traffic, transparently cache statics (for example, images)
PfSense + squid solved the problem

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2016-03-23
@Fixid

Let's figure out what you want first.
PFSence is a FreeBSD server with PF as a firewall. It can deal with routing
Squid is a caching proxy server - it doesn't know what you want, but its tasks are different.
If you just want to share traffic, PFSence is enough for you
. How will you explain to the gateway from whom the traffic came from?
You then have to put one PFSence and two SQUIDs (each on its own IP range or whatever you have).

K
Konkase, 2016-03-23
@Konkase

iproute2 + haproxy

L
lovecraft, 2016-03-24
@lovecraft

Routing to two interfaces and caching are two different tasks.
To execute the first, the built-in tools of the Linux kernel and utilities from the iproute2 set are used, for example, like this . You can make routing based on the client's address, etc.
To perform the second (completely independent of the first), caching proxies are used, such as squid.
Or do you need a program in which "checked the interface and everything works?"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question