LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » LxCenter » GNU/Linux Help » how do you know if this is vps?
how do you know if this is vps? [message #99360] Wed, 11 July 2012 17:32 Go to next message
mr-cracker is currently offline mr-cracker  United States
Messages: 46
Registered: August 2008
Member
Hello,
So i have 2 VPS's, i try to connect to a remote server

the remote server is configured (i believe php code) to block connections from severs. you can only access itif you are browsing from home or something like that

but my case is, i can connect them from one vps but the other vps is denied.

I wonder how the remote server knows this connection is from a server or from a normal internet browser

thanks
Re: how do you know if this is vps? [message #99371 is a reply to message #99360] Thu, 12 July 2012 06:45 Go to previous message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
Mostly likely the case is that a firewall is simply blocking the access completely. From that browser command prompt, you can run iptables -L to list the rules. iptables -F would flush the rules, but not save it. The way to save the rules depends on your distribution.

From a browser, it isn't using your workstation to connect. It is providing you a window to send a command and PHP processes that and uses a shell function to execute it and returns you the result. I doubt you are using SSH in this case. Now if you are using SSH, the PHP script could add allow your IP address by adding a rule to iptables and then remove you, but I highly doubt this.


https://www.mercuryvps.com
HyperVM Xen VPS hosting
Previous Topic:bash - permission denied
Next Topic:Help me! error "-bash: setenforce: command not found"
Goto Forum:
  


Current Time: Fri May 24 01:35:52 EDT 2013

Total time taken to generate the page: 0.01038 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software