C
C
Castiel2021-12-17 15:38:09
proxy
Castiel, 2021-12-17 15:38:09

Like 3proxy + switch + 2 modems?

Hello. Please help.

There are 2 routers with different providers. Connected through a switch to a computer. If you change the gateways in the connection settings, then it turns out to go from different routers to the network. But I can’t figure out how to write a 3proxy config so that calls from different proxy ports go to wounded routers.

The muzzles of both routers open according to their SP, that is, I see them without problems.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Dubrovin, 2021-12-17
@z3apa3a

Configure 2 IP addresses from different networks and two gateways, then two options:
1. Configure source routing in the system from different IPs through different routers, run two proxies in 3proxy with parameters like
proxy -p1111 -e1.1.1.1
proxy -p2222 - e2.2.2.2
2. if you don’t want/can’t set up source routing, then run 3proxy as root without chroot in the config with binding to the interface, those with a configuration like
proxy -p1111 -e1.1.1.1 -DeINTERFACE1
proxy -p2222 -e2 .2.2.2 -DeINTERFACE2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question