Static IP for users
-
- Posts: 4
- Joined: Thu Jan 16, 2014 7:13 am
Static IP for users
Is it possible to assign the same IP address to a user each time the user connects from any client?
Thanks,
Thanks,
-
- Posts: 9
- Joined: Sun Dec 22, 2013 8:43 pm
Re: Static IP for users
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.
-
- Posts: 153
- Joined: Fri Oct 11, 2013 4:00 pm
Re: Static IP for users
Anyway, secureNat does not have a DHCP reservation option. Would be a nice addition to a next release ... :)
-
- Posts: 3
- Joined: Fri Jan 17, 2014 9:56 pm
Re: Static IP for users
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.
-
- Posts: 370
- Joined: Fri Oct 18, 2013 8:15 am
Re: Static IP for users
Hi,
May I ask you why do you need such option?
May I ask you why do you need such option?
-
- Posts: 202
- Joined: Wed Jul 10, 2013 2:07 pm
Re: Static IP for users
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/
-
- Posts: 153
- Joined: Fri Oct 11, 2013 4:00 pm
Re: Static IP for users
This only works for the Linux version where a TAP adapters is used for vpnserver SecureNAT.
-
- Posts: 202
- Joined: Wed Jul 10, 2013 2:07 pm
Re: Static IP for users
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.
> 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.
-
- Posts: 153
- Joined: Fri Oct 11, 2013 4:00 pm
Re: Static IP for users
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.
-
- Posts: 4
- Joined: Thu Jan 16, 2014 7:13 am
Re: Static IP for users
Thank you all for your answers.
I currently use poptop and use fixed ip to control (with iptables) where users can connect.
I currently use poptop and use fixed ip to control (with iptables) where users can connect.
-
- Posts: 2
- Joined: Wed Oct 22, 2014 8:12 am
Re: Static IP for users
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)
-
- Posts: 1
- Joined: Fri Mar 24, 2017 8:06 am
Re: Static IP for users
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?
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?
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Static IP for users
>magedo62
L2TP client doesn't send unique ID.
So, SoftEther VPN can't assign fixed MAC address.
L2TP client doesn't send unique ID.
So, SoftEther VPN can't assign fixed MAC address.
-
- Posts: 2
- Joined: Wed Apr 19, 2017 11:20 am
Re: Static IP for users
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..
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..
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Static IP for users
How about use this?
https://tools.ietf.org/html/rfc2136
https://tools.ietf.org/html/rfc2136