Re: dual stack binding

2018-06-21 Thread Frank Liu
The issue is with this: [150] # service nginx restart Stopping nginx:[FAILED] Since stopping FAILED, the IP/port still in use. That's why start failed with "binding" error. You can try "service nginx stop" along and check error log to see why it faile

Re: dual stack binding

2018-06-21 Thread abatie
I believe this is related to blocking neighbor discovery on the address for the purposes of doing direct server return load balancing, and not nginx related, thanks! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280234,280239#msg-280239 ___

Re: dual stack binding

2018-06-21 Thread abatie
OK, that's odd: I commented out the ipv4 address and it still fails. It's not a conflict then, so something's odd in the network stack... Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280234,280238#msg-280238 ___ nginx mailing list nginx@n

Re: dual stack binding

2018-06-21 Thread abatie
Yup: eth0 Link encap:Ethernet HWaddr 00:50:56:8C:62:77 inet addr:207.55.17.91 Bcast:207.55.19.255 Mask:255.255.252.0 inet6 addr: fe80::250:56ff:fe8c:6277/64 Scope:Link inet6 addr: 2607:f678::17:79/64 Scope:Global inet6 addr: 2607:f678::17:91/64 Sco

Re: dual stack binding

2018-06-21 Thread Steve Wilson
I've no problem with IPv6 on my server using specific v4 and v6 listen statements. Is the IP you're trying to use actually configured on an interface? Steve. On 21/06/2018 21:37, abatie wrote: I have nginx binding to a variety of addresses for ssl and target selection reasons. Now I'm trying

Re: How to pass connection's real IP through Nginx smtp proxy to Postfix/postscreen backend?

2018-06-21 Thread Frank Liu
Try proxy protocol. On Thu, Jun 21, 2018 at 12:47 PM, wrote: > I run Postfix 3.3.1 & Nginx 1.15.0 > > Both work great. > > I'm beginning to experiment with putting Postfix (and eventually other) > server behind Nginx (v 1.15.0) setup as a mail (SMTP) proxy. > > Without the proxy, Postfix logs sh

dual stack binding

2018-06-21 Thread abatie
I have nginx binding to a variety of addresses for ssl and target selection reasons. Now I'm trying to add ipv6 support. Since I'm using specific listen addresses, I wouldn't expect to have a binding conflict, however I am, and I'm hoping someone can point me in the right direction: server {

How to pass connection's real IP through Nginx smtp proxy to Postfix/postscreen backend?

2018-06-21 Thread cyang
I run Postfix 3.3.1 & Nginx 1.15.0 Both work great. I'm beginning to experiment with putting Postfix (and eventually other) server behind Nginx (v 1.15.0) setup as a mail (SMTP) proxy. Without the proxy, Postfix logs show an inbound connection to my real IP Jun 21 12:12:31 mailprox pos

How to redirect the call from nginx conf if proxy pass is successfull

2018-06-21 Thread ChatterjeeAtanu
Hello Team, Need your help actually we are passing docker private registry calls from the nginx conf using reverse proxy . but here one of things we need to trap like when docker manifest/blob downloads are successful and error we have to report to the some pcf service running somewhere . using er

Re: TCP load balancing with domain name

2018-06-21 Thread Maxim Konovalov
Aravind, On 21/06/2018 11:35, aRaviNd wrote: > Hi All, > > I am trying to configure tcp load balancing with Nginx with below > configuration. > > stream { >     server { >         listen 25; >         resolver 1.1.1.1; >         proxy_pass $host:25; >     } > } > > If I try to connect mx1.abc.c

TCP load balancing with domain name

2018-06-21 Thread aRaviNd
Hi All, I am trying to configure tcp load balancing with Nginx with below configuration. stream { server { listen 25; resolver 1.1.1.1; proxy_pass $host:25; } } If I try to connect mx1.abc.com i would like to expand my variable $host to mx1.abc.com and internally