Open syadnom opened 5 years ago
The IP address assigned by tinyfecVPN is only for convenience. You can assign any address manually to the tun device with ifconfig
/ip
command.
For example, check this article: https://github.com/wangyu-/tinyfecVPN/wiki/ipv6-VPN
Once you assgined an IPv6 address to the tun device, it works directly without the need to let tinyfecVPN know. Its same for IPv4.
If you dont like the IP address assigned by tinyfecVPN, just delete the old adress and assign a new address manually. For latest version, there is also a --manual-set-tun
option; once used ,tinyfecvpn wont assgin an IP address by default (so that you dont need to delete).
I'm seeing that the server and client are basically only going to select IP addresses out of a /24, but only use 2.
for example, if you set to 10.1.0.0, the addresses will be 10.1.0.1 for server and 10.1.0.2 for client. if you set 10.1.0.8, you still get 10.1.0.1 and 10.1.0.2
Can the subnet size be specified here so that entire /24 ranges aren't used up for the ptp links?