Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question