How to connect to a secondary IP of a VPS

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Sunlounger
Posts: 9
Joined: Wed Jun 04, 2014 9:33 am

How to connect to a secondary IP of a VPS

Post by Sunlounger » Wed Jun 04, 2014 9:39 am

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

avel
Posts: 30
Joined: Sat May 24, 2014 2:59 pm

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

Post by avel » Wed Jun 04, 2014 9:54 am

Habe you made aliases of that additional IP's to main one?

Sunlounger
Posts: 9
Joined: Wed Jun 04, 2014 9:33 am

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

Post by Sunlounger » Wed Jun 04, 2014 10:36 am

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.

avel
Posts: 30
Joined: Sat May 24, 2014 2:59 pm

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

Post by avel » Wed Jun 04, 2014 1:06 pm

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 )

Sunlounger
Posts: 9
Joined: Wed Jun 04, 2014 9:33 am

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

Post by Sunlounger » Thu Jun 05, 2014 9:58 am

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.
You do not have the required permissions to view the files attached to this post.

Sunlounger
Posts: 9
Joined: Wed Jun 04, 2014 9:33 am

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

Post by Sunlounger » Thu Jun 05, 2014 12:16 pm

Do I have to Assign an IP, Netmask and Broadcast to all Network Interfaces ?

avel
Posts: 30
Joined: Sat May 24, 2014 2:59 pm

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

Post by avel » Thu Jun 05, 2014 12:27 pm

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)

dnobori
Posts: 230
Joined: Tue Mar 05, 2013 10:04 am

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

Post by dnobori » Fri Jun 06, 2014 12:27 pm

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.

Sunlounger
Posts: 9
Joined: Wed Jun 04, 2014 9:33 am

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

Post by Sunlounger » Thu Jun 19, 2014 3:37 pm

I apologize for the late response.

Here is the info required. Thanks.
You do not have the required permissions to view the files attached to this post.

Sunlounger
Posts: 9
Joined: Wed Jun 04, 2014 9:33 am

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

Post by Sunlounger » Thu Jun 19, 2014 3:43 pm

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.
You do not have the required permissions to view the files attached to this post.

Sunlounger
Posts: 9
Joined: Wed Jun 04, 2014 9:33 am

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

Post by Sunlounger » Fri Jun 27, 2014 2:41 pm

Could anyone shed some light on this? Thanks.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

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

Post by thisjun » Thu Jul 24, 2014 7:11 am

Can you get response of ping at all IP?
Can you connect the server by OpenVPN?

Post Reply