I'm trying to forward port 139 from a remote server to port 139 of my local server , so I'm able to browse the remote samba server's shares, using ssh's -g option. This works great if my local samba server is shutdown. I understand that this is because samba is using port 139.
I have two network cards installed in the local samba server, so I quess my question is can i forward the remote server's port 139 to nic2 while still running my local samba server on nic1?
(kindof a linux networking newbie so I hope that wasn't nonsense, just trying this for fun mainly
[remote server]--(internet)--[local server]--[clients]