I have a windows server running at my house which I access files on, any way to access that over L2TP? I can login to the computer via Remote Desktop over the VPN fine.
I believe the default firewall rule for SMB services in windows server are set to only allow access from “local subnets”. Just modify the rule and add your vpn server ip (in my case).
Control pannel > Windows Defender Firewall > Advanced settings - look for "Fire and Printer Sharing (SMB-in) and associated rules.
Bad text diagram to help me make sure I get this right:
[Remote Location] -> (__ VPN TUNNEL __ ) -> [Home Router] -> {WinServer w/ SMB, RDP}
In this diagram, as long as your VPN is dropping your remote machine on the same network segment as your WinServer, you should be able to mount the network share from the server. If you are being placed on a different network segment and relying on port rules to allow VPN traffic to the RDP into the WinServer, you may need to create an additional policy allowing SMB.
For VPN to work properly, you have to be on a different subnets so make sure that your router is configured properly. You can also try to manually forward VPN traffic to that server/port if that is the only thing you need on your network from VPN.
Awesome awesome, yes it was set to only allow connections from the same subnet, and as the VPN is another subnet it couldn’t connect. Works now thanks