I'm struggling to enable NTFS share between two Windows (XP and 7) hosts through a Linux firewall.
Here's my setup:
[XPMachine-LAN1]---------->[LINUX FIREWALL]---------->[Win7-LAN2]
What I want to do is to NAT the NTFS input from the XP machine to the same ports on the Win7 machine.
The problem is that when I try from the XP machine to open the network share \\LINUXFIREWALL then the firewall doesn't seem to be NATing the packets to the Win7 machine.
I've opened the standard NTFS/Samba ports like 135:139 and 445, some of them need UDP and the others TCP (details available on various sites).
However since I am running 2 different versions of windows I tried to google that to see if there would be a change between XP and 7 and that list is available on MS website : http://windows.microsoft.com/en-GB/windows7/Networking-home-computers-running-different-versions-of-Windows#section_2
My question is, if you are running 2 windows machine through a *nix box with iptables, can I ask what your iptables file looks like? Am I missing something?
Thanks
iptables. And please provide some information on how do you come to know that firewall in not NATing the packets. More information you will provide better we can help you. – Sachin Divekar Dec 5 '11 at 19:11