All of lore.kernel.org
 help / color / mirror / Atom feed
* RDP and iptables ruleset
@ 2004-12-08 18:06 James Bowling
  2004-12-08 23:05 ` Jason Opperisano
  2004-12-09 22:27 ` Rudi Starcevic
  0 siblings, 2 replies; 3+ messages in thread
From: James Bowling @ 2004-12-08 18:06 UTC (permalink / raw)
  To: netfilter

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-09 22:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-08 18:06 RDP and iptables ruleset James Bowling
2004-12-08 23:05 ` Jason Opperisano
2004-12-09 22:27 ` Rudi Starcevic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.