n2n is a solution for Virtual LAN.
With VLAN many things can be quite easy, e.g. SMB sharing across NAT.
Super Node Bash
cd /etc/yum.repos.d/
wget http://packages.ntop.org/centos/ntop.repo -O ntop.repo
rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install pfring-dkms n2disk nprobe ntopng cento
Edit Super Node
/etc/n2n supernode.conf
-l=[Port]
/etc/n2n supernodes.list
[networkName][Port]
Super Node Bash
sudo systemctl enable supernode
sudo systemctl start supernode
Edge Node Install
run tap-windows.exe from OpenVPN.exe$TEMP
edge.exe
Edge Node
.\edge -c [networkName] -k [passcode] -a [ipv4] -f -l [SuperNodeAddress]:[Port]
Firewall-create rules-custom
Allow all Inbound/Outbound connection from local ip address [ipv4]
Optional
Get-NetConnectionProfile
Set-NetConnectionProfile -InterfaceIndex [Index] -NetworkCategory Private
Hidden Auto Start
Create n2n.bat file
"[edge.exe Path]" -c [networkName] -k [passcode] -a [ipv4] -f -l [SuperNodeAddress]:[Port]
Create n2n.vbs file
createobject("wscript.shell").run "[n2n.bat Path]",0
Create Task Scheduler task, Run with highest privilleges, At log on
Reference
https://github.com/ntop/n2n
http://packages.ntop.org/
http://www.lucktu.com/archives/767.html
Resources
edge.exe
https://github.com/lucktu/n2n/tree/master/windows/x64/v2/dev
openvpn.exe
https://openvpn.net/community-downloads/
Android
https://github.com/switch-iot/hin2n/releases/tag/hin2n_v0.6.0-rc2