How to Set Static Local IP to User

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
mjthelearner
Posts: 28
Joined: Fri Nov 25, 2022 6:08 am

How to Set Static Local IP to User

Post by mjthelearner » Mon Dec 12, 2022 1:56 pm

hi dear guys

how can i set a static ip for specific user?

the overview

### Server 1
users connect to this Softether running server

#### Server 2,
server1 is connecting to Server2 using cascade.

Users are Connecting to SERVER1

SERVER1 , goes to SERVER2 [CASCADE],

then users will get the SERVER2 IP range.

how can i set static Local IP for some users?

solo
Posts: 1228
Joined: Sun Feb 14, 2021 10:31 am

Re: How to Set Static Local IP to User

Post by solo » Tue Dec 13, 2022 12:00 pm

When the user object is using the standard user authentication, you need to write the arbitrary virtual MAC address on the "Note" field on the user object. For example, the "Note" field will have the MAC address format which starts with "MAC:" followed by a 6-bytes ASCII-encoded HEX string, such like "MAC:ae:00:00:00:00:01"...

...You can fix each L3 VPN user's virtual MAC address with the above solution. Therefore you can fix the user's IP address by configuring the static IP address reserve list hosted by the existing DHCP server (e.g. Linux dhcpd or Windows DHCP Service) on the target local-area network which the Virtual Hub is connected with the Local Bridge function. To fix the IP addresses assignment by the DHCP server you need to configure the "Static IP address reserve list" function (the function name may vary on each DHCP server product). You need to refer the document of your DHCP Server to configure the static IP address reserve list.
https://www.softether.org/5-download/history

Post Reply