Using nginx as proxy
Wakkas Rafiq
wakkas.rafiq at oracle.com
Fri Mar 17 15:54:25 UTC 2017
Tried
server {
listen 169.254.2.2:12000;
allow 169.254.169.254;
deny all;
proxy_pass 10.0.52.151:3260;
}
then when saw source port changing from 12000. Tried adding following but no luck:
proxy_bind 169.254.169.254:12000;
proxy_bind 127.0.0.1:12000;
and proxy_bind $remote_addr:12000;
From: nginx <nginx-bounces at nginx.org> on behalf of Wakkas Rafiq <wakkas.rafiq at oracle.com>
Reply-To: <nginx at nginx.org>
Date: Friday, March 17, 2017 at 8:08 AM
To: <nginx at nginx.org>
Subject: Using nginx as proxy
Hi all
I am trying to setup a simple config where tcp traffic coming in at specific port - 12000 need to be send to a specific server:3260
In this case source ip will change (which is fine) but we are seeing on tcpdump that source port is changing from 12000 to some way higher value
The server rejecting the call due to that
How do I setup so the source port remain unchanged?
I will send my config once at work - if needed
Thanks
Get Outlook for iOS
_______________________________________________ nginx mailing list nginx at nginx.org http://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170317/e772aca2/attachment-0001.html>
More information about the nginx
mailing list