Re: Filtered Port

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

 



On Tue, January 31, 2006 14:55, Scott Mayo wrote:
> I am not sure if this is my iptables or not, but I am not sure where
> else to look or ask.  I am trying to use Remote Desktop on a
> computer.  From inside my network, it works fine, but once I get
> outside, I cannot use it.  I have set my IPTABLES to forward anything
> going to port 3389 to the computer that is using Remote Desktop.
>
> The problems seems to be that port 3389 is filtered.  I can find
> nothing in my iptables where I have this port filtered.  Are there
> some generic ports, that IPTABLES filters on it own or something?  If
> the IPTABLES are not filtering it, what else could be?

You allow forwarding to this host but you also need to DNAT these
packets from the internet IP to the IP of your computer.

$ipt -t nat -A PREROUTING -i <if_inet> -d <ip_inet> \
  -p tcp --dport 3389 -j DNAT --to <ip_controlled_host>


Gr,
Rob





[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