From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Peter Marshall" Subject: iptables and the RELATED option Date: Tue, 12 Aug 2003 15:53:21 -0300 Sender: netfilter-admin@lists.netfilter.org Message-ID: <01f801c36103$00a67150$49caa8c0@caris.priv> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org Hi, My name is Peter Marshall. I am having some problems letting ftp through my firewall without opening all of the ports. I was trying to get RELATED to work, but for some reason it will not. Here is an example of what my file looks like $TABLENAME -A FORWARD -d x.x.x.x -o eth2 -j mychain $TABLENAME -A mychain -m state --state ESTABLISHED,RELATED -j ACCEPT $TABLENAME -A mychain -j DROP I don't think I need the ESTABLISHED, but I put it in anyways. If anyone could help it would be greatly appriciated. Thanks Peter Marshall PS. Sorry if te message appears twice. I sent it the first tiem before I became a member