L
L
lazix2016-11-15 20:19:06
VPN
lazix, 2016-11-15 20:19:06

How to set a static IP when connecting to Softether VPN?

Softether VPN + dnsmasq is installed on the server, Local Bridge is configured (so as not to use slow SecureNAT), the range of issued IPs is configured in dnsmasq. I looked at the MAC addresses of all connected clients in Softether and fixed them hard in dnsmasq.conf
Problem: each time you connect to the VPN, the client's MAC address changes: there are two computers, A and B, if A connects first, it will receive the first MAC and , respectively, IP. If the first B - he gets the first MAC.
The task is to fix the IP due to the fact that it is a NAS and other computers access the network drive through it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lazix, 2017-04-21
@lazix

Who cares - no way. There is no such functionality in Softether.

S
svm, 2019-04-27
@svm

Who cares - set the ip address by hostname. dnsmasq currently provides this capability.
I ran into the same problem and couldn't find anything on the internet.
Extract from the default configuration file.
# Give the machine which says its name is "bert" IP address
# 192.168.0.70 and an infinite lease
dhcp-host=bert,192.168.0.70,infinite

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question