So , it can be on any of these ports that I communicates at. I don’t know, how and why it picks what port or the detail behind it. With that said, looks like you have a connection established, is that NOT what you want?
Also, keep in mind that some ISPs block netbios traffic as well.
Yes I know but both networks are mine, I want to get communication from Server(is in network I get internet to other network where is pc I want to get there that samba communication). It can be done using masquerade. But I was thinking if it is possible simplier way. Because If I use masquerade, all comunication from that network goes to that PC - and I dont want this. The only thing that I can propably do is to do that masquerade and in firewall block all communication to that pc except from that samba server, or could you help anything better?
I don’t think you can NAT samba. I researched this a long time ago and if I remember correctly the problem is that the data payload contains IP information - and NAT will only modify the headers of a data packet not the contents.
as far as I remember, we have successfully nated samba when we need it… the task was to redirect some of the customers to another samba server with one share named ‘Access denied’ =)
Chupaka. What you describe is not really NAT but rather working with Samba to redirect. This was the direction I was heading in when I gave up due to time constraints.
What I’m saying is that to just NAT traffic to a different Samba server does not work for the reasons I already gave. As far as I could see you can only route samba.