#1 2017-11-29 01:12:28

Camo Yoshi
Trusted Member
Registered: 2017-11-29
Posts: 3

[Gestion DBI] NAT script returns connection refused

Hello,

Just bought my 64MB RAM Montreal LES box. Trying to set up a Reverse proxy based on the instructions here: https://www.deepnetsolutions.com/nat-reverseProxy.html

I am running the script like this: sudo bash NATreverseProxy.sh proxy add subdomain.example.org

However I get the following error: curl: (7) Failed to connect to 172.21.0.5 port 80: Connection refused

I get the same error if I try to list currently enabled proxies as well.

I can confirm that nginx is running as if I curl 127.0.0.1 I do get a response. Currently running Debian 8 on the VPS.

Any ideas? Thanks!

Last edited by Camo Yoshi (2017-11-29 01:13:48)

Offline

#2 2017-12-02 07:10:29

spyder2017
Trusted Member
Registered: 2017-12-02
Posts: 6

Re: [Gestion DBI] NAT script returns connection refused

Hi,

I have got a 64 MB MT LES box and trying to set up a  Reverse proxy and running into the same issue with the same error as mentioned by Camo before.
All I am doing is a proxy list and not even adding an entry.
Confirming that nginx is running  and curl on localhost returns response.

Also just trying to understand, is nginx       being used as the reverse  proxy?
Could someone please assist?

Thanks

Offline

#3 2017-12-02 19:07:56

WSS
Trusted Member
Registered: 2016-12-22
Posts: 286

Re: [Gestion DBI] NAT script returns connection refused

The reverse proxy is external to you and runs on the IPv4 external address you are given.  Hopefully David will have a chance to visit and spy this next week!


RbyeR4Nm.png

Offline

#4 2017-12-02 20:20:32

spyder2017
Trusted Member
Registered: 2017-12-02
Posts: 6

Re: [Gestion DBI] NAT script returns connection refused

WSS wrote:

The reverse proxy is external to you and runs on the IPv4 external address you are given.  Hopefully David will have a chance to visit and spy this next week!

Okay thanks for the reply

Offline

#5 2017-12-02 20:53:10

DavidGestionDBI
Provider-Moderator
From: Montreal, Canada
Registered: 2015-01-10
Posts: 599
Website

Re: [Gestion DBI] NAT script returns connection refused

Dev is already aware. You can use Cloudflare in the meantime with your IPv6.


-----------
David B. |  Technical Director at Gestion DBI ||  Want to receive our promotions?
IT consulting and Hosting Provider | 24/7 Technical Support

Offline

#6 2017-12-03 02:46:20

spyder2017
Trusted Member
Registered: 2017-12-02
Posts: 6

Re: [Gestion DBI] NAT script returns connection refused

DavidGestionDBI wrote:

Dev is already aware. You can use Cloudflare in the meantime with your IPv6.

Okay Thanks I will try Cloudflare in the meantime

Offline

#7 2017-12-03 05:19:25

Camo Yoshi
Trusted Member
Registered: 2017-11-29
Posts: 3

Re: [Gestion DBI] NAT script returns connection refused

DavidGestionDBI wrote:

Dev is already aware. You can use Cloudflare in the meantime with your IPv6.

Thanks for your fast reply and info. Could you update this thread once it's fixed? Really appreciate it. smile

Offline

#8 2017-12-04 08:03:12

spyder2017
Trusted Member
Registered: 2017-12-02
Posts: 6

Re: [Gestion DBI] NAT script returns connection refused

spyder2017 wrote:
DavidGestionDBI wrote:

Dev is already aware. You can use Cloudflare in the meantime with your IPv6.

Okay Thanks I will try Cloudflare in the meantime

Just an update on this it is working with cloud flare just have to wait for a day.
Thanks for your help

Offline

#9 2017-12-04 20:16:18

DavidGestionDBI
Provider-Moderator
From: Montreal, Canada
Registered: 2015-01-10
Posts: 599
Website

Re: [Gestion DBI] NAT script returns connection refused

We are still working on hit. Some user hit so hard the reverse proxy with Let's encrypt request that it's cause lot's of issue.

Let's Encrypt is not really friendly with this kind of setup and the Dev and Me are trying to find a way to limit this and resolve the issue on the long term. In the meantime, Cloudflare is really the best bet, since it's used the Dedicated IPv6 to work.

I will update this thread once the proxy is fixed.


-----------
David B. |  Technical Director at Gestion DBI ||  Want to receive our promotions?
IT consulting and Hosting Provider | 24/7 Technical Support

Offline

#10 2017-12-05 07:24:55

Backtogeek
Low End Boss
From: ~/
Registered: 2013-02-13
Posts: 3,547
Website

Re: [Gestion DBI] NAT script returns connection refused

LE on NAT with end user control yikes that's brave.


http://LittleHappyCloud.net KVM VPS with 1TB Bandwidth for €3.00

Offline

#11 2017-12-05 21:05:53

spyder2017
Trusted Member
Registered: 2017-12-02
Posts: 6

Re: [Gestion DBI] NAT script returns connection refused

Backtogeek wrote:

LE on NAT with end user control yikes that's brave.

Hi,
Just trying to understand what is the impact of this, would this cause issues in terms of VPS performance,stability etc.   for all users?
If so maybe it is better to not offer things like this NAT   reverse proxy   as there options like Cloudflare IPv6 to IPv4.

I am not trying to upset anyone just trying to understand and pardon my ignorance.

The providers here are offering  a great service at a good price and spending their valuable time answering questions here and god bless them but at the same time I think we need to be mindful of their time.

So if there are options out there which cause less headache for them in terms of support and saves them time   then suggestion is to look at it.

Thanks

Last edited by spyder2017 (2017-12-05 21:10:42)

Offline

#12 2017-12-06 09:49:49

Backtogeek
Low End Boss
From: ~/
Registered: 2013-02-13
Posts: 3,547
Website

Re: [Gestion DBI] NAT script returns connection refused

Naa I just meant end users can put in requests manually enough times that is kills the IP with LE for a while stopping anyone else from getting a new cert, if you have ever generated one you will see the warnings about how many attempts you have left etc.


http://LittleHappyCloud.net KVM VPS with 1TB Bandwidth for €3.00

Offline

#13 2017-12-07 06:19:02

Camo Yoshi
Trusted Member
Registered: 2017-11-29
Posts: 3

Re: [Gestion DBI] NAT script returns connection refused

Yeah, it's kind of unfortunate that it can be scripted in such a way that it can be abused... makes it harder for the rest of us who want to use it legitimately.

As a side note: I've got custom DNS records and my own personal name servers; are there any IPv6 -> IPv4 services that don't want to hijack my entire domain for a single subdomain? I've been trying to the OVH SSL Gateway working but they don't seem to accept my request (probably due to the fact that I had to sign up with the CO.UK order form, as the .COM one for US is broken right now...)

Thanks!

Offline

Board footer