From: "Rob Sterenborg" Subject: RE: Filtered Port Date: Tue, 31 Jan 2006 19:26:54 +0100 Message-ID: <001101c62693$e95d6d60$0101000a@sterenborg.info> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: Netfilter > I have another rule after preouting, postrouting snat (for > the firewall > itself) for that purpose. Packets coming from outside going to inside > machine as from firewall machine. > > May be helps. If you accept ESTABLISHED (and RELATED for simplicity and other functionality) you don't have to ; only a PREROUTING will do the trick. What I mean is this : $ipt -P FORWARD DROP $ipt -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT $ipt -A FORWARD -m state --state NEW -i -o \ -d -p tcp --dport 3389 -j ACCEPT $ipt -t nat -A PREROUTING -i -p tcp --dport 3389 \ -j DNAT --to Robby Workman also has a point : does "iptables -nvL" show packetcount for these rules. Maybe the packets never reach the iptables firewall, or maybe there is some other rule blocking rdp traffic before it can be accepted. Gr, Rob