H
H
Holy Saint2018-09-27 14:35:19
proxy
Holy Saint, 2018-09-27 14:35:19

Redirecting traffic with 3proxy?

Hello. Help to configure 3proxy. There is a lineage 2 server, you need to connect a proxy to it.
Raised the proxy to vds but that doesn't work. I need incoming traffic to be redirected to another ip:port
My config doesn't work.

daemon 
auth iponly
log /var/log/3proxy.log
logformat "- +_L%t.%. %N.%p %E %U %C:%c %R:%r %O %I %h %T"
allow *
parent 1000 socks5+ 111.222.111.222 2106 #сюда нужно перенаправить
socks -p2106

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Dubrovin, 2018-09-27
@sc_001

socks is not intended for port forwarding, it is intended for connecting socks clients. If you want to forward a port use, for example, tcppm for tcp connections.

auth iponly
tcppm 2106 111.222.111.222 2106 
tcppm 7777 111.222.111.222 7777
tcppm 9014 111.222.111.222 9014

Z
zlo1, 2018-09-27
@zlo1

try it like this:

daemon 
nserver 8.8.8.8
nscache 65535
maxconn 100
log /var/log/3proxy.log
logformat "L %t.%. %N.%p %E %U %C:%c %R:%r %O %I %h %T"
auth iponly
allow *
parent 1000 socks5 111.222.111.222 2106
deny *
socks -p2106 -n -a

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question