Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Stewart Thompson <stewart.thompson@shaw.ca>
To: NagyZ <nagyz@piarista-kkt.sulinet.hu>, netfilter@lists.netfilter.org
Subject: RE: fxp doesnt work & connection tracking
Date: Sat, 14 Sep 2002 03:58:22 -0700	[thread overview]
Message-ID: <FLEKIPPLAEDMJMOOBBDPGEKBCOAA.stewart.thompson@shaw.ca> (raw)
In-Reply-To: <Pine.LNX.4.44.0209141218320.20369-100000@server.piarista-kkt.sulinet.hu>

Hi:

	I don't see any rules to accept new connections. You are only
allowing Established and Related connections. So another machine will
never be able to start a connection. I am not familiar with fxp. Is the
connection to your firewall machine, or forwarded to an internal machine?
The output might work because I don't see any rules here to prevent outgoing
connections. You might have to post your whole rule set so we can see
exactly what you are trying to do.

Stu.......


-----Original Message-----
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org]On Behalf Of NagyZ
Sent: September 14, 2002 3:22 AM
To: netfilter@lists.netfilter.org
Subject: fxp doesnt work & connection tracking

hi!

if i apply these rules, then incoming fxp's dont work (outgoing is still
work).. any idea?
:
iptables -N szabalyok
iptables -A szabalyok -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A szabalyok -p tcp --dport 21 -d <ip> -j ACCEPT
iptables -A szabalyok -p tcp --dport 22 -d <ip> -j ACCEPT
iptables -A szabalyok -p tcp --dport 1024: -m state --state
ESTABLISHED,RELATED -j ACCEPT
iptables -A szabalyok -j DROP
iptables -A INPUT -j szabalyok
iptables -A FORWARD -j szabalyok

other:
before that, i did:
modprobe ip_conntrack_ftp ports=21,etc,etc
modprobe ip_conntrack_irc ports=6667,6668,6669,7000,31337

but in lsmod i see:
ip_conntrack_irc        2400   0  (unused)
ip_conntrack_ftp        3136   0  (unused)

why is that? if i understand the howto correctly, it should be unused..
any idea?

NagyZ





  reply	other threads:[~2002-09-14 10:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-14 10:22 fxp doesnt work & connection tracking NagyZ
2002-09-14 10:58 ` Stewart Thompson [this message]
2002-09-14 11:58   ` NagyZ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FLEKIPPLAEDMJMOOBBDPGEKBCOAA.stewart.thompson@shaw.ca \
    --to=stewart.thompson@shaw.ca \
    --cc=nagyz@piarista-kkt.sulinet.hu \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox