Re: Fwd: IPTABLES and SAMBA behind NAT

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

 



On Wednesday 2008-05-28 14:44, ad marginem wrote:

>Sorry for broad description. I mean, that when I try to telnet from
>external network to port 139 - I cannot.

That is because 

>I have added to script: $IPTABLES -t nat -A PREROUTING -p tcp -i
>$IF_EXT -d $NT_EXT --dport 7139 -j DNAT --to 192.168.1.3:139
>and tried to connect to port 7139 - it worked.

In case of Windows 2003, it probably suffices to forward
445, without having to expose 137-139.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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