Re: DNATing Windows File Sharing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Hello,
>I would like to enable the right ports and DNAT the requests for File
>Sharing on a internal windows box. The win2k3 has Active Directory
>enabled and i want users to type \\domainname.com which will popup a
>user/pass dialog and let them access the file server.
>
>I did the following, but it doesn't seem to work:
>iptables -t nat -A PREROUTING -j DNAT -i eth0 -p tcp --dport 139 --to
>192.168.1.2:139 
>assuming "139" is NetBios

Also try 445 instead of 139.

Then, if that still does not work, you maybe need to forward UDP 137.



Jan Engelhardt
-- 


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux