Page 1 of 1
Static IP for users
Posted: Thu Jan 16, 2014 7:21 am
by Micu
Is it possible to assign the same IP address to a user each time the user connects from any client?
Thanks,
Re: Static IP for users
Posted: Thu Jan 16, 2014 9:17 am
by dragon2611
That would presumably depend on how your clients get their IP information as it's possible to configure softether in such a way it hands out the IP's or it's equally possible to have it bridge the clients onto an existing network, in which case the networks DHCP server will most likely assign the ips.
Re: Static IP for users
Posted: Fri Jan 17, 2014 7:11 pm
by mesa57
Anyway, secureNat does not have a DHCP reservation option. Would be a nice addition to a next release ... :)
Re: Static IP for users
Posted: Fri Jan 17, 2014 10:13 pm
by arbitrix
It sure would be nice. As would the ability to associate a specific MAC address with a logged in user so that an external DHCP server can issue a lease based on that.
Re: Static IP for users
Posted: Sat Jan 18, 2014 9:46 am
by inten
Hi,
May I ask you why do you need such option?
Re: Static IP for users
Posted: Sun Jan 19, 2014 9:04 pm
by qupfer
You can use a external dhcp-server (service) like dnsmasq to give always the same IP to a specifiy MAC address. A good tutorial are aviable here:
http://blog.lincoln.hk/blog/2013/05/17/ ... al-bridge/
Re: Static IP for users
Posted: Mon Jan 20, 2014 10:55 am
by mesa57
This only works for the Linux version where a TAP adapters is used for vpnserver SecureNAT.
Re: Static IP for users
Posted: Mon Jan 20, 2014 9:40 pm
by qupfer
mesa57 wrote:
> This only works for the Linux version where a TAP adapters is used for
> vpnserver SecureNAT.
You're sure? As i know, you can bridge on windows nearly everything^^. Why it shouldn't work, if you bridge the vpn-adapter with the phy-adater? Maybe you have to do it manually, but in general? I would think it's possible. But to err is human...so I can be wrong.
Re: Static IP for users
Posted: Mon Jan 20, 2014 9:54 pm
by mesa57
If you bridge the softether hub with the phy-nic in windows, you can use the dhcp server which assigned the ip address to the phy-nic to reserve dhcp addresses for the clients. Of course, if there is no dhcp server available you can install one. But I believe the topic starter was using SecureNAT and wanted to assign fixed ip addresses.
Re: Static IP for users
Posted: Tue Jan 21, 2014 5:16 pm
by Micu
Thank you all for your answers.
I currently use poptop and use fixed ip to control (with iptables) where users can connect.
Re: Static IP for users
Posted: Wed Oct 22, 2014 8:27 am
by prince5
Static IP needed without third party software, but by SoftEther VPN itself. It is almost contains all VPN options and types, but lacks of assigning static IP. I wrote in another thread, where server can use information in assigning static-fixed IP (
http://www.vpnusers.com/viewtopic.php?f ... 8733#p8733)
Re: Static IP for users
Posted: Fri Mar 24, 2017 8:41 am
by magedo62
I tried to use the secure NAT DHCP server, with a long lease limit
I think it has a bug because it give me maximum one and half month,
And if I took the hub offline, then back online all the lease data is gone.
Even with an external DHCP server and LAN bridge
If using legacy protocol like Raw L2TP , L2TP/IPsec or OpenVPN to connect to the server
The MAC address keep changing,
If I have two users X&Y, two MAC addresses A&B
If User_X log in first will use MAC_A, User_Y use MAC_B
Next time if User_Y log in first use MAC_A, User_X use MAC_B
If the MAC address keep changing, I can't assign static IPs
And I can't use SoftEther VPN client,
Have to use Raw L2TP because am connecting a router to the server.
Is there any work around this problem?
Re: Static IP for users
Posted: Thu Apr 06, 2017 6:19 am
by thisjun
>magedo62
L2TP client doesn't send unique ID.
So, SoftEther VPN can't assign fixed MAC address.
Re: Static IP for users
Posted: Fri Apr 21, 2017 7:50 am
by nixmomo
Is there any way to fix / hack this?
i need static IP's too cause i have a site to site vpn but with some servers and they must connect to each other..
Re: Static IP for users
Posted: Thu May 18, 2017 5:19 am
by thisjun