I'm having a newtwork issue where port :445 is blocked by my ISP and I need to connect to a network share using the
New-PSDrive powershell command.
The command I use is:
New-PSDrive -Name U -PSProvider FileSystem -Root "\\servername.example" -Persist
I forward the port on a remote machine to another (ex. :20445), but can't change the port I connect to locally.
I tried to locally forward the port with WSL's ssh tunneling, but :445 is already in use. All workarounds I found require big changes to the system, probably breaking it.
Can't use a vpn because of other issues.