DDoS Protected VPS Providers for Reverse SSH Proxy

Image by Peter Hoey
Too big, too late. picture by Peter Hoey
I never allow users to connect directly to the clouds, since clouds from great providers like AWS or Google, doesn’t come with DDoS Protection. So, I have to build a protection.
Sometime ago I read a decent review about “DDoS Protected VPS Providers” on LowEndTalk (really, on LET):

https://www.lowendtalk.com/discussion/comment/1735623/

It’s indeed very accurate based on my experiences so far. Today I trust 3 providers for my SSH/SFTP/MySQL tunnels: LunaNode from Montreal (OVH), RamNode from Atlanta (Staminus) and QuadraNet from Miami (In-House).

Continue reading

Your own VPN in minutes: easy, safe & cheap

You, when using VPN to bypass the network firewall with port 443.
You, when using VPN to bypass the network firewall with port 443.

Everytime I had to setup a VPN, I used to do manually, with guides like these:

https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on-centos-6
https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on-centos-7

To make it easier, I was going to create a shell script like any sysadmin. However, before I did any movement, I went to Google to find if there is already an existing script.
Continue reading

Remove Addon/Parked Domain Manually on cPanel

Isn't simple as that.
Isn’t simple as that.

Recently I had a problem with a customer trying to remove a addon domain on cPanel. Every time he tries to remove, he got different error messages, like “subdomain ‘shop.example.com’ does not exist for user ‘client’”.

Since cPanel couldn’t do it by itself, I went to the documentation to find where the user configurations are located. According to the documentation, the files are store in /var/cpanel.

Continue reading

Remove srcset on WordPress

devicesSince version 4.4, WordPress has a native responsive image support by including srcset and sizes attributes to the image markups. It’s a good function, no doubts.

However, it can cause problems which you are probably have, if you are reading this.

In my case, I convert my blog from a local WordPress installation using HTTrack. As for today, HTTrack can’t recognize those attributes, then, some images weren’t being showing for my readers.

Continue reading

Fix Apache NAT Problem on cPanel

Your apache server after hardening, mod_lsapi and NGINX as reverse proxy. Source: Millitary.com.
An Apache after security hardening, mod_lsapi and NGINX as reverse proxy.
source: millitary.com

Since the update 11.58, I noticed that cPanel NAT solution wasn’t working with Apache on Amazon Web Services and Google Cloud Engine.

Apache was putting the public IP on the VirtualHost. Bad bad boy.
As far as I’m concerned, you don’t want to change the public IP to the internal IP every time some httpd.conf edition is made.

Continue reading