My vpn clients has got assigned IP address 192.168.1.X, while my "br-lan" has IP address 192.168.2.1. So, I see that two of my vpn clients can access each other, but my LAN PCs(those IP address are 192.168.2.x) which behind the router can not access the vpn clients.
The two question is:
Can the vpn client got assigned by the 192.168.2.x IP address?
How to make the VPN clients and my LAN PCs got connected each other?
I was using the TAP device before(Bridge with New TAP Device), but I'm not sure how to "Attach the newly created TAP device to the "br-lan", in my OpenWrt Web configure interface, I don't see the choice options in your last image shot as you posted, so I do not know how to select the "tap_softether" to the br-lan's "Bridge ports".
What version of OpenWrt do you use? I'm using the I'm running OpenWrt 22.03.5 r20134-5f15225c1e / LuCI ce20b4a6e0c86313c0c6e9c89eedf8f033f5e637 branch git-23.144.07943-874ba1e under a Nano Pi R4S board. This is mentioned in my post: How to tweak the firewall of OpenWrt 22.03 to support Softether VPN server
Hi, pavelgl, you are my life saver. I haven't navigated to this option page before.
This this changes(I have also created a TAP device in the SoftEther management tool GUI), and I can correctly got the VPN client has the same IP address subnet(192.168.2.x) as my LAN PCs. That's Great! Now, I see that I can access the VPN client directly from the LAN PC.
I have see that one of my vpn client was assigned IP address 192.168.2.172, and the other vpn client got 192.168.2.163. Which is depends on who connect first. My question is: is it possible to fix the IP address of the assigned vpn client? I mean I would like the PC-A always got a fixed assigned VPN address. But it looks like the mac address was not transferred by the internet, how can I do that under SoftEther VPN server running under OpenWrt?
Couldn’t you just change netmask to 255.255.254.0, add the tap-device to br-lan, keep dhcp as-is? This is pretty much what you’d do with zerotier to get the l2 access. (I can recommends this package too, it takes up less space than softether and possibly easier to set up)
Yes, it’s exactly that one.
It’s an overlay network, but you can define default routing through the router zt resides on, so that it works like a vpn. (You can switch that on/off in the ios/windows/etc apps)