L
L
Lev K2016-10-17 17:56:55
linux
Lev K, 2016-10-17 17:56:55

Portfwd does not work on the server, how to solve the problem?

Hello. The bottom line is that you need to redirect port 80 from one server to another server. I thought it would be easier to do it through portfwd, but the connection is not established. I think that there is still a problem ... for example, when creating the portfwd daemon -c /etc/portfwd.cfg, when nginx is enabled, 1 daemon is created, while 2 is disabled, and here in the example 3 daemons are running. Can you suggest what could be the problem?
config

user  root
group root
tcp 
{
        80 { X => Y:8008  }
}

On the server with ip Y, an nginx virtual host is configured that listens on port 8008, in fact, it must receive and process the request and return it back to this server.
# portfwd -v
0.22

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question