From: "Sadus ." Subject: DNATing Windows File Sharing Date: Mon, 18 Jul 2005 11:15:36 +0300 Message-ID: <1121674536.1554.16.camel@sadusbox.hostname> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org 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 thanks -- Sadus . Swiftbin.net