How to show network shares in Win Explorer and LAN game servers via L2TP VPN server?

I have already made a L2TP server in Mikrotik RB750G of the remote network, and have connected from my home PC to the remote LAN network.
I can ping the remote computers and access network shares by IP.
But I can’t access the network shares of remote computers via the computer names and make them appear in Windows Explorer like in a real LAN network.
Also, when I create LAN servers in games like Age of Mythology and Call of Duty 2, the servers don’t show up in my home PC. I can only connect and to them and play via direct IP.
Is this a limitation of Mikrotik or a better configuration is needed, because I am a very new beginner in these things.
Thank you in advance.

See this example:
https://wiki.mikrotik.com/wiki/Manual:Interface/L2TP#Connecting_Remote_Client

Uh, I think I have done that already. But still I can’t see the other computers in Windows Explorer, and can’t see the remote LAN servers from my games, even though I can ping them and direct-connect to them through IP. :frowning:

Also, this is the graphic explanation of my setup:

Configuration (long post ahead):

[LEO33@MikroTik] > /interface ethernet
[LEO33@MikroTik] /interface ethernet> print
Flags: X - disabled, R - running, S - slave 
 #    NAME                    MTU MAC-ADDRESS       ARP             SWITCH                
 0 RS LAN-eth2               1500 ***************** proxy-arp       switch1               
 1 R  WAN-eth1               1500 ***************** enabled         switch1               
 2 RS ether3                 1500 ***************** proxy-arp       switch1               
 3  S ether4                 1500 ***************** enabled         switch1               
 4  S hotspot-eth5           1500 ***************** proxy-arp       switch1

I think you have to use “remote DNS server”, so that your laptop does not use 8.8.8.8 but using your remote Mikrotik instead. Because 8.8.8.8 would not resolve your PC name on the remote side but the remote Mikrotik router would know. I have not tested this but first try changing the DNS on your laptop.

or create static DNS entries on your laptop. make sure the LAN IP of the PCs does not change.

This is my DNS configuration:

I changed these DNS entries to 192.168.1.1, but still the same problem, even when adding the DNS suffix in the created VPN adapter.

Both my laptop and the remote computers have static DNS entries. On the remote, all computers have static IP and DNS, no DCHP is configured there, so the LAN IP of the computers do not change.

After reading some other posts from other people who had these problems, it seems in order to resolve this problem, both networks have to have Mikrotik routers and add an EoIP and GRE tunnel, because apparently, Mikrotik’s implementation of VPN doesn’t support the UTP protocol, and broadcast transmissions. Strangely, if I connect two computers via ZeroTier VPN connection (the only VPN software I have tested that the broadcast traffic and the PC hostname resolving works, Radmin VPN, Tunngle, Hamachi don’t work properly), all broadcast traffic is transmitted, and the the remote PC hostname is resolved in My Network Places, but this is not viable for me, because I have to install ZeroTier in all the remote computers, which is not possible.

If someone has managed to make this work in Mikrotik without requiring Mikrotik routers in both ends, please provide a step-by-step guide using my setup as an example, so I can understand it.
Until then, I have to rely to direct-IP connection only. :frowning:

If you need broadcasts, it sounds like job for some bridged config.

There are bridge-related options in PPP profiles, but very quick research shows that it might not be so simple, and interoperability with anything non-MikroTik is a big question. You might want to try to explore this, but don’t let your hopes be too high.

I think (but it was a long time ago, so I’m not completely sure) that bridging worked for me with OpenVPN. But it doesn’t help you, if you don’t want to install anything. Plus OpenVPN in RouterOS is kind of “special” anyway and not in a good way.

a tunnel isn’t really simulating a real layer 1 network connection.
all packets are still routet so broadcast packets won’t reach you.
if you got a mikrotik device on both ends you can create a eioip tunnel inside the other tunnel. this will simulate a real layer 1 connection and you will see the shares.

That’s the problem. I don’t have Mikrotik devices on both ends.

To remedy this, I found and used an even better VPN software than ZeroTier, in my opinion, named SoftEther VPN, which has the best GUI configuration from all other VPN software so far.

I just created a VPN server via SoftEther’s GUI, in one PC located in the remote network I want to connect from my home, made a local bridge, again via its GUI, then I forwarded the ports the VPN server needed, in Mikrotik.
Later, I installed the VPN client software provided by SoftEther, created static _IP_s in both the physical LAN adapter and in the virtual adapter, all with the same subnet, gateway and DNS (ZeroTier seemed to not allow this, because internet would be broken in my side), and made sure that in Control Panel\Network and Internet\Network Connections\Advanced\Advanced Settings, the Local Area Connection of the virtual adapter is always in the first order, and then, I connected to the created VPN server. No other configuration was need in my home side.

Everything is perfect now. Much better than all other VPN software and the Mikrotik itself, which does not support broadcast properly, or complex manual routing needed.
Now the games read the IP of the VPN network, and no need for direct-IP connection no more. Pings are the same as with the L2TP Mikrotik’s connection (20 ms). Everything works like in a physical LAN network, as intended. :slight_smile: