Page 1 of 1

How to connect to a secondary IP of a VPS

Posted: Wed Jun 04, 2014 9:39 am
by Sunlounger
Hello,

I run a VPS, which has 4 additional IP addresses linked in it. I am using Softether 4.06, and CentOS 6 32-bit.

I tried creating a new virtual hub with new IP and details, but I obtain the main IP of the VPS, or cannot connect at all.

Does anybody have an idea of how to connect to the additional IPs of my VPS, and not just the main IP of the server?


Thanks

Re: How to connect to a secondary IP of a VPS

Posted: Wed Jun 04, 2014 9:54 am
by avel
Habe you made aliases of that additional IP's to main one?

Re: How to connect to a secondary IP of a VPS

Posted: Wed Jun 04, 2014 10:36 am
by Sunlounger
Do I need to make new aliases for each IP in Linux? That actually makes sense. Any idea where I can get the commands?

Thanks in advance.

Re: How to connect to a secondary IP of a VPS

Posted: Wed Jun 04, 2014 1:06 pm
by avel
look to /etc/network/interface

do you see there aliases? give me what you have there(replace IP to look like 156.87.xx.xx for security purposes). Will try to help you )

Re: How to connect to a secondary IP of a VPS

Posted: Thu Jun 05, 2014 9:58 am
by Sunlounger
Hi, thank you for your response. I just checked, but I don't seem to have a network folder in etc.

This is what I get when I look up all network interfaces. The first IP is the main one, and the rest are additional IPs which I am having problem assigning.

Re: How to connect to a secondary IP of a VPS

Posted: Thu Jun 05, 2014 12:16 pm
by Sunlounger
Do I have to Assign an IP, Netmask and Broadcast to all Network Interfaces ?

Re: How to connect to a secondary IP of a VPS

Posted: Thu Jun 05, 2014 12:27 pm
by avel
As I see you have aliases made for additional IP's.
give me list of netstat -l
and rules of your firewall

netstat will show if SE tries to listen on additional IP's, and firewall will show if it is allowed(maybe you have default ruleset DENY/DROP)

Re: How to connect to a secondary IP of a VPS

Posted: Fri Jun 06, 2014 12:27 pm
by dnobori
You can run two or more Virtual Hubs in a single VPN Server instance.

If you want to run two or more VPN Server instance at the same time on the single computer, you need to change the listening TCP port. Two or more VPN servers cannot share the same TCP port.

Re: How to connect to a secondary IP of a VPS

Posted: Thu Jun 19, 2014 3:37 pm
by Sunlounger
I apologize for the late response.

Here is the info required. Thanks.

Re: How to connect to a secondary IP of a VPS

Posted: Thu Jun 19, 2014 3:43 pm
by Sunlounger
dnobori wrote:
> You can run two or more Virtual Hubs in a single VPN Server instance.
>
> If you want to run two or more VPN Server instance at the same time on the
> single computer, you need to change the listening TCP port. Two or more VPN
> servers cannot share the same TCP port.


Do I need to adjust the listening ports from the Server Manager as shown below? Thanks.

Re: How to connect to a secondary IP of a VPS

Posted: Fri Jun 27, 2014 2:41 pm
by Sunlounger
Could anyone shed some light on this? Thanks.

Re: How to connect to a secondary IP of a VPS

Posted: Thu Jul 24, 2014 7:11 am
by thisjun
Can you get response of ping at all IP?
Can you connect the server by OpenVPN?