0 votes
78 views
by Rookie

We recently updated our DNS and used cloudflare for our additional firewall. and after all traffic routing to cloudflare we no longer can't access the default port 22222

ex. domain.com:22222 < this doesn't load anymore and we can't access all the admin tools even we change the port to other numbers.

Is there additional settings we need to make in order for it work again?

also when we ssh our server it's thru ipaddress now not by the domain. if we use domain we can't access our ssh server/

what necessary settings do we need to tweak for us to access again the admin-tools of webinoly.

btw we can access the mysql in the server itself.

by Expert
I've never used Cloudflare!
But you say you are using it as a firewall and now you don't know why some ports are not working. Do you know what a firewall is?
by Rookie
You probably need to add cloudflare real IPs.

Use this script:

https://github.com/ergin/nginx-cloudflare-real-ip

Change the following line in the script:

CLOUDFLARE_FILE_PATH=/etc/nginx/cloudflare

to

CLOUDFLARE_FILE_PATH=/etc/nginx/conf.d/cloudflare.conf

Execute the script, see if it works.
by Talented

@ -- your dry sense of humour often makes me smile and brightens my day!

Please log in or register to answer this question.

Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

If you have a question about Webinoly, please ask in English or Spanish.

To report a bug, please ask a question here with the bug tag.

Donations

Webinoly Support Paypal Donations Webinoly Support Bitcoin Donations GitHub Sponsors

Your regular donations is what keep this project moving forward. If you like Webinoly, buy me a coffee or a beer to show support.

Affiliate Links

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...