From: "Your Name" <yayati@skinternational.com>
To: fluca1978@infinito.it, linux-admin@vger.kernel.org
Subject: Re: iptables problem
Date: Tue, 15 Feb 2005 02:30:49 -0800 [thread overview]
Message-ID: <E1D0zyj-0004v9-Od@rs161.securehostserver.com> (raw)
> Hi,
> I've a problem with iptables on a machine which is a firewall. The
logs
> reports the following thing:
>
> firewall:~ # grep 192.168.2.200 /var/log/messages | grep DPT=53
> Feb 14 11:45:52 firewall kernel: PUPPUFIREWALLIN=eth1 OUT=eth1
> SRC=192.168.2.200 DST=217.97.32.2 LEN=50 TOS=0x00 PREC=0x00 TTL=126
ID=9
> PROTO=UDP SPT=1025 DPT=53 LEN=30
> Feb 14 11:47:40 firewall kernel: PUPPUFIREWALLIN=eth1 OUT=eth1
> SRC=192.168.2.200 DST=217.97.32.2 LEN=72 TOS=0x00 PREC=0x00 TTL=126
ID=812
> PROTO=UDP SPT=1025 DPT=53 LEN=52
>
> where the machine 192.168.2.200 is locked and cannot work with the
DNS (port
> 53) specified. But if I try to do an iptables-save, I got the
following:
>
> -A FORWARD -s 192.168.2.0/255.255.255.0 -d 212.97.32.2 -i eth1 -o
eth1 -p tcp
> -m tcp --dport 53 -j ACCEPT
>
The Input interface and output Interface are the same eth1, where as it
should have been -i eth0 -o eth1. Match ur interface numbers and it
should work.
Regards
next reply other threads:[~2005-02-15 10:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-15 10:30 Your Name [this message]
2005-02-15 10:39 ` iptables problem Luca Ferrari
2005-02-15 20:09 ` Andreas Unterkircher
2005-02-15 20:25 ` Adrian C.
2005-02-16 8:17 ` Luca Ferrari
-- strict thread matches above, loose matches on Subject: below --
2005-02-17 18:45 Your Name
2005-02-17 19:28 ` Adam Lang
2005-02-18 8:45 ` Luca Ferrari
2005-02-15 8:27 Luca Ferrari
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=E1D0zyj-0004v9-Od@rs161.securehostserver.com \
--to=yayati@skinternational.com \
--cc=fluca1978@infinito.it \
--cc=linux-admin@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).