Advice in regards to configuration

Brandon Mallory brandonm at
Mon Mar 4 21:30:00 UTC 2019

I can try. Basically we have an application that uses TCP to communicate between the client on a windows PC and a linux server. I would like a public facing IP that redirects traffic from the window PC to the correct linux server. I was thinking I could have the windows client point to a public ip and then a location maybe account number. So it would look like 

Client 1
public ip/12345 forward to private IP (linux server)
Client 2
Public ip/54321 forward to private IP (linux server)

Similar to how http uses the location you can forward to a location 


Best Regards, 

Brandon Mallory

Network & Systems Engineer


15 Hulbert Street

Auburn, NY 13021

Phone: (315)-255-0900

Fax: (315)-255-3539


This message and any attachments may contain information that is protected by law as privileged and confidential, and is transmitted for the sole use of the intended recipient(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, copying or retention of this e-mail or the information contained herein is strictly prohibited. If you received this e-mail in error, please immediately notify the sender by e-mail, and permanently delete this e-mail.

----- Original Message -----
From: Francis Daly <francis at>
To: nginx at
Sent: Mon, 04 Mar 2019 16:05:03 -0500 (EST)
Subject: Re: Advice in regards to configuration

On Mon, Mar 04, 2019 at 09:49:11AM -0500, Brandon Mallory wrote:

Hi there,

> Have NGINX configured with a public IP (65.x.x.x.) . I need to use TCP for my application ( not http ). I would like to have a client hit the public IP with a location ( 65.x.x.x.x\12345) and have that connection forwarded to a LAN IP. 

"TCP" suggests "stream", which knows about an IP address and a TCP port.

"location" and "subdomain" (host name) are features of http requests.

Can you rephrase your request in the light of that? If so, perhaps the
solution will become clearer.

Francis Daly        francis at
nginx mailing list
nginx at

More information about the nginx mailing list