RDP and iptables ruleset

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

 



I seem to be having some issues with iptables 1.2.11 and getting RDP to
be allowed through.  My windows box is NAT'd behind my Gentoo 2004.3
box.  Here is my NAT Tables:

# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         
DNAT       tcp  --  anywhere             anywhere            tcp
dpt:3389 to:10.0.1.2:3389 

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination         
SNAT       tcp  --  anywhere             anywhere            tcp
dpt:3389 to:10.0.1.2:3389 
MASQUERADE  all  --  anywhere             anywhere            

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination   


Here is my iptables rules:

# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
REJECT     udp  --  anywhere             anywhere            udp
dpt:bootps reject-with icmp-port-unreachable 
REJECT     udp  --  anywhere             anywhere            udp
dpt:domain reject-with icmp-port-unreachable 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh

ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp

ACCEPT     tcp  --  anywhere             anywhere            tcp
dpt:ftp-data 
ACCEPT     tcp  --  anywhere             anywhere            tcp
dpt:8245 
DROP       tcp  --  anywhere             anywhere            tcp
dpts:0:1023 
DROP       udp  --  anywhere             anywhere            udp
dpts:0:1023 

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
DROP       all  --  anywhere             10.0.1.0/24         
ACCEPT     all  --  10.0.1.0/24          anywhere            
ACCEPT     all  --  anywhere             10.0.1.0/24         
ACCEPT     all  --  anywhere             anywhere            state
RELATED,ESTABLISHED 
ACCEPT     all  --  anywhere             anywhere            

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

This is just a very basic rule set as you can see.  What happens is when
I connect with RDP it goes through to the login and then after
authentication it just sits there and eventually times out.  Any ideas
on what is going on?  Any help would be appreciated.


Regards,
James Bowling



[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