12-29-2019, 05:52 AM
(12-21-2019, 02:26 PM)deanhills Wrote: I think the most disappointing for me for the upgrade of VPS 9 Phoenix was the change of the IP that Virmach maintains is a Phoenix IP, but it’s actually a German IP that has been networked to behave as a Phoenix IP, result of which is my ISP in South Africa has to do a double take to work with the IP from before. Latency Ping has shot up from 36 previously to a whopping 147. Speed is also significantly less.
This is what the speed looked like from South Africa to Phoenix with the old Phoenix IP:
And this is what the new IP looks like now from South Africa:
From your input, I would speculate that although your VPS is located at Phoenix, AZ, it's internally tunnelled to Germany where it gets its publicly-facing German IP (think of it as if using a VPN.) That's why Speedtest picks up Frankfurt as the closest host for the test (although the VPS is physically in Phoenix, USA) which explains the unusual latency. And that's why (most probably) they consider the IP in that configuration as "protected".
I would also guess that, in Virmach lexicon, the "unprotected" IPs are the ones that aren't tunneled the way yours does.
UPDATED: To account for the Port change issue
(12-03-2019, 03:37 PM)deanhills Wrote: I've done one last try with my VPS 9 Phoenix and brought my concerns to the attention of Virmach. Let's see what they can do.I'm curious, Did they respond @deanhills?
(12-21-2019, 02:26 PM)deanhills Wrote: When I was working with it today, discovered that CentOS 7.0 is not recommended for protected IPs. Since my IP was a new IP I thought there could be a possibility for it being in that category, so went for CentOS 6.5 instead. This time round I had no issues getting into the VPS. But once again was unable to successfully change the port number. I then abandoned that effort, and went straight into creating a panel, (.....)Ok!... I may be wrong but I'm afraid that changing port 22 isn't an option in your case and here is the logic of it.
In the eventuality that what I've proposed in the last post, as an explanation for what that "protected IP" thingy stands for @Virmach, is TRUE (and I think it is), then your VPS IP as you see when logged in must be an (internal) private IP address (which means non-routable on the Internet(/non public.)
This means that your VPS is basically shielded from the Internet Jungle except for the ports that you have explicitly opened (80/443 etc..) Port 22 (for sshd) is your gateway to your VPS and (as such) must have been hard-coded in Virmach port-mapping connectivity between the public-facing interface (in Germany) and your VPS local interface (in Phoenix, AZ.)
In this logic your port issue is also linked to that "protected IP" status you have :-)
Obviously, I'm not aware of Virmach internal networking topology but I presume they must have a great deal of NAT going on for those "protected IP" cases. For as to why they have to do that?.. I'm not sure, but I would presume that it may have something to do with running out of US IPv4 addresses, which imposed the tunnelling of your connectivity to their German datacenter (?!), resulting in the deterioration of the service (ie, the latency increase and the connectivity speed hit.)
A couple of bash commands to test this:
>>> To get your local interface IP:
1-> ifconfig (Centos 6) OR > ip address (Centos 7)
>>> To see how your VPS is connected to the World, use :
2-> traceroute (+ any IP address/use your own IP from SAfrica)
The output of the second command is interesting, especially the first hops' IPs. I would bet that they would be private IPs (2/3 hops) and the first public IP to show up would be German.
As an aside note. I don't think changing sshd's port does make much of a difference once you set the private/public key login and remove the password login for your SSH server. The only thing achieved in this case is shrinking the size of your /var/log/btmp binary file, which logs all bad login attempts.
Anyway, It would be interesting to know if you're the only one on Virmach hosting that has this "protected IP" thing.
PS: The ifconfig tool is provided by net-tools rpm package in Centos 7.