Linux Port forwarding for windows filesharing & samba October 3, 2015 - By itdoctor You need to setup port forwarding for 3 ports : 135-139 for windows , 445 for samba in Linux.