Netsh
NOTE:
Check if the IP helper service is running and if IPv6 support is turned on for the interface we want to pivot to.
Local port forward
netsh interface portproxy add v4tov4 listenport=<local port> listenaddress=<local ip> connectport=<remote port> connectaddress=<remote ip>Add firewall rules to allow traffic (SYSTEM privileges required)
netsh advfirewall firewall add rule name="forward_port_rule" protocol=TCP dir=in localip=<local ip> localport=<local port> action=allowNOTE:
If SMBclient generates errors mount the share using the method listed below.
sudo mount -t cifs -o port=<local port from netsh> //<local ip from netsh>/Data -o username=<username>,password=<passsword> /mnt/win10_shareLast updated