L
L
Lite_robot2016-10-26 18:55:33
linux
Lite_robot, 2016-10-26 18:55:33

How to configure 3proxy to work on a different interface?

Hello,
There are 2 interfaces each with its own default gateway. And 3proxy with this config:

daemon
auth none
setgid 1000
setuid 1000
log
flush
maxconn 200
socks  -p8080 -i127.0.0.1 -eИп_привязаный к тоннелю

As a result, 3proxy sends data through the desired gateway only if its metric is less than another gateway, but all system traffic goes through the gateway with a lower metric. How to configure 3proxy so that data goes through the desired gateway regardless of its metric and without using iptables?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Dubrovin, 2016-10-26
@Lite_robot

The interface should be automatically selected when -e is specified. If for some reason (with some types of tunnels) this is not the case, use source routing to route traffic from the address specified in -e to the desired interface.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question