Skip to contentSkip to conversation

ports on PREROUTING

DISCUSSION Luis GUSTAVO 2 participants 2 messages Jun 8, 2004

lore
Share & tools
lore
#0 lore raw

I use the follow rules

iptables -P FORWARD DROP

but when i use PREROUTING for port 3389, the machines external, don´t knew connect for the host.

How can i accept connections in PREROUTING port.

thank you

=====

Luis GUSTAVO [email protected]
+55 (21) 9891-3560
---------------------------------------------------------------------------------

______________________________________________________________________

Yahoo! Messenger - Fale com seus amigos online. Instale agora!
http://br.download.yahoo.com/messenger/

#1 lore raw
Quoted 10 lines

I use the follow rules

iptables -P FORWARD DROP

but when i use PREROUTING for port 3389, the machines external, don´t knew connect for the host.

How can i accept connections in PREROUTING port.

I don't know exactly what it is you want to do, but could it be something like this ?

iptables -A FORWARD -p tcp --dport 3389 -j ACCEPT

Gr,
Rob