Answer the question
In order to leave comments, you need to log in
How to properly map ports?
To begin with, I will write the topology.
There is a Mikrotik root router. static for the local network ip: 192.168.1.1, has Internet access via wire
There is a workstation on it 3proxy is installed. dynamic ip from mikrotik 192.168.1.171
There is another TP-LINK router on OpenWRT with a 4G modem. static ip: 192.168.1.250. has access to the Internet via a modem.
It is required to configure Sox in 3proxy on the workstation so that requests to this Sox are redirected to TP-LINK, and requests NOT to Sox go to Mikrotik and then to its wired Internet.
For this, the 3proxy config was written.
Answer the question
In order to leave comments, you need to log in
You have a routing task, it is not solved at the application layer where the proxy works. Make 2 IP addresses on the host with 3proxy and configure source routing so that traffic from one IP address is routed through one router, and from another IP address through another router, only then by choosing an external address it will be possible to select a route.
In the case of a Windows workstation, routing is problematic to manage, but it is possible to configure a separate interface with a separate address and gateway to the same network.
PS where does port mapping come in and how tcppm should (by design) work in the described scheme remains unclear.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question