At my home I compiled and started VPN Server on a Ubuntu 20.04 device.
At my friends home I compiled and started VPN Bridge on a Debian 10 device.
Both devices have only one physical ethernet interface, and this is connected to the respective LAN. On each of these LANs there is also a router of the ISP.
This is my main question: Is it even possible to connect two distant LANs using SoftethVPN on computers which are just normal participants of the LANs? Their connection to the LAN and to the internet is the same physical ethernet interface!
This is what I tried:
AT MY HOME SITE:
routing table:
Code: Select all
default via 10.0.0.138 dev eno0 proto static
10.0.0.0/24 dev eno0 proto kernel scope link src 10.0.0.5
Code: Select all
HubCreate hublan /PASSWORD:hublan
BridgeCreate hublan /device:eno0
HubCreate hubremote /PASSWORD:hubremote
hub hubremote
UserCreate friend /GROUP:none /REALNAME:my_friend /NOTE:none
UserPasswordSet friend /PASSWORD:secret
RouterAdd myl3r
RouterIfAdd myl3r /HUB:hublan /IP:10.0.0.254/24
RouterIfAdd myl3r /HUB:hubremote /IP:192.168.101.254/24
RouterStart myl3r
AT MY FRIENDS SITE:
routing table:
Code: Select all
default via 192.168.101.100 dev eth1
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.101.0/24 dev eth1 proto kernel scope link src 192.168.101.102
Code: Select all
BridgeCreate BRIDGE /device:eth1
hub BRIDGE
CascadeCreate tohome /SERVER:my.home.site:443 /HUB:hubremote /USERNAME:friend
CascadePasswordSet tohome /PASSWORD:secret /TYPE:standard
CascadeOnline tohome
CascadeList --> shows "Online (Established)"
But I can not ping anything from the remote side.
Am I missing something or is my envisioned setup simply impossible?
Thanks in advance for any hints!