Local Bridge and Public IPs

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
gavstah
Posts: 61
Joined: Wed Jun 05, 2013 11:33 pm

Local Bridge and Public IPs

Post by gavstah » Sat Jun 07, 2014 4:51 pm

Is it possible to use local bridge + dhcp server (such as dnsmasq) to assign a public IP to users on login?

I'm able to get this set up and login, but from there I cannot get out to the internet.

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

Re: Local Bridge and Public IPs

Post by dnobori » Sat Jun 07, 2014 5:48 pm

In that usage, you do not have to assign private IP addresses to VPN clients.

Instead, set up a DHCP server for private IP addresses, and set up an IP masq (NAT or NAPT) server to aggregate all private IP addresses to a single global IP address, as the exit IP address.

gavstah
Posts: 61
Joined: Wed Jun 05, 2013 11:33 pm

Re: Local Bridge and Public IPs

Post by gavstah » Tue Jun 10, 2014 1:29 pm

Hi Dnobori -

Thanks for replying.

That's actually how I'm doing it now with LAN IPs and a single public IP.

What my original request is asking is how to assign a different public IP (what you're calling an exit IP) to each user as they log in.

For example, if I have a pool of public facing ips, x.x.x.2 - x.x.x.32 - and I want each user to have their own public/exit IP when they log in.

Is this possible with SoftEther?

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

Re: Local Bridge and Public IPs

Post by dnobori » Tue Jun 10, 2014 3:25 pm

Yes, it is possible. However, the DHCP server is not useless to assign each IP address to each user.

To realize static public IP address assignment for each user, each VPN Client's virtual network adapter must have a static IP in the configuration of client computer.

You can define the access list to enforce each VPN user to use only a specified IP address as fixed.

Post Reply