https://github.com/OkamiW/proxy-ns

proxy-ns is a Linux-specific command-line tool that can force any program to use your SOCKS5 proxy server.

Features

It has several advantages over proxychains:

To use Proxychains:

/etc/proxychains.conf

Entry at bottom: Socks4 <IP> <PORT>

cmd.exe /C netsh advfirewall firewall add rule name="Remote Event Log Management SMB" dir=in action=allow protocol=tcp localport=12345 > C:\\Windows\\Temp\\MSI28122Ac.LOG 2>&1

cmd.exe /C netsh interface portproxy add v4tov4 listenaddress=172.33.xx.xx listenport=12345 connectaddress=172.20.xx.xx connectport=445 > C:\\Windows\\Temp\\MSI2cBfA24.LOG 2>&1

Create a firewall and proxy rule that will allow you to (in this case) proxy to an SMB share on another computer through port 12345 on this one.