Multiple Public IPs for Softether Routing

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Elik
Posts: 4
Joined: Wed Aug 13, 2014 6:32 pm

Multiple Public IPs for Softether Routing

Post by Elik » Sat Dec 06, 2014 7:36 pm

Hello,

I have been reading the forums for past week and I been trying to figure out how to use the multiple IPs for outbound routing for clients when they disconnect and log in back in. However, it seems I cannot figure out how to make it work, since I thought the Clustering would be ideal since it would load-balance the connections and I can configure the IPTables to route each VirtualHub to go out on each IP assigned by TAP.

But considering when using Clustering, it does not support the EtherIP, L2TP and such, which is a major bummer. So I trying to see if how to implement something that Softether can use multiple IPs for outbound connections. However, I rather that it be single inbound IP and routed out on different IPs to make it simple to give out single IP to users and it shows the outbound IP as one of the multiple IPs during the session.

So if I have 128 IPs bound to the server, how can I use the Softether to use those for outbound IPs among them for use? Anyone have any ideas or such on implementing this?

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

Re: Multiple Public IPs for Softether Routing

Post by thisjun » Tue Dec 16, 2014 8:33 am

What OS are you using?
If you use linux, you can realize these steps.
1. Create 128 virtual hubs.
2. Create 128 taps for localbridge to each hub.
3. Create 128 NAT for each tap.
maybe...

Nemesiz
Posts: 65
Joined: Mon Nov 17, 2014 2:11 pm

Re: Multiple Public IPs for Softether Routing

Post by Nemesiz » Fri Mar 27, 2015 5:12 pm

namery wrote:
> any suggestion??? i tried hub bridge to ethX(each with one public ip) and
> it doesnt work

Dont bridge to ethx. Create TAP and bridge it to hub.

GIANT_CRAB
Posts: 62
Joined: Tue Mar 17, 2015 7:54 am

Re: Multiple Public IPs for Softether Routing

Post by GIANT_CRAB » Sat Mar 28, 2015 7:35 am

This kind of configuration has to be done on networking and not through Softether server.

Configure a DHCP server and then set your routing device to route a certain subnet of the private IP addresses to masquerade through this public IP address.

Example:

You have 192.168.1.0/24 for DHCP pooling and you have 102.132.53.27/29 for public IP addresses.

Set 192.168.1.0/27 to masquerade to 102.132.53.28.
Set 192.168.1.32/27 to masquerade to 102.132.53.29
Set 192.168.1.64/27 to masquerade to 102.132.53.30
Set 192.168.1.96/27 to masquerade to 102.132.53.31
Set 192.168.1.128/27 to masquerade to 102.132.53.32

kosztyua
Posts: 23
Joined: Thu Nov 27, 2014 8:49 pm

Re: Multiple Public IPs for Softether Routing

Post by kosztyua » Sat Mar 28, 2015 1:01 pm

Why NAT if not neccessary? Just use arp proxy. Of course assuming you would NAT 1-to-1 and not many-to-1.

This is exactly what I do. Bridge HUB to tap, set up arp proxy to ethx and tapx, set route of the public range to tapx, set dhcp to distribute public range.

Post Reply