Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Noino <mg8c1zu02@sneakemail.com>
To: netfilter@vger.kernel.org
Subject: Re: local NAT; reconfigured kernel, problems still
Date: Tue, 01 Apr 2008 18:15:56 +0200	[thread overview]
Message-ID: <20080401161556.3223378C8B@gam.mel.teaser.net> (raw)
In-Reply-To: <20080401110029.GA1025@lion.gg3.net>

Georgi Georgiev writes : 

>>>> iptables -t nat -A OUTPUT -o lo -p udp --dport 53 -j DNAT 
>>>> --to-destination :10053
>>>> iptables: Invalid argument

> Maybe it is the "-p udp" that is causing the message. Does -j LOG
> (instead of -j DNAT --to-destination) work? If it does not, then you
> need to add "-m udp" in front of "-p udp".

"-j LOG" does not yield an error message; the above rule, with the addition 
of  "-m udp" gives the same error as without it. 

I think my last trial will be compiling a fresh iptables in replacement of 
the version that came with my SUSE (originally kernel was 2.6.4, updated to 
2.6.5. Maybe low level structures have changed, just a guess of course) 

Again, what version number should I be getting from the iptables archive ? 

-- 
Noino


  reply	other threads:[~2008-04-01 16:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-01  9:40 local NAT; reconfigured kernel, problems still Noino
2008-04-01 11:00 ` Georgi Georgiev
2008-04-01 16:15   ` Noino [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-03-31 21:06 Noino
2008-03-31 21:14 ` Eljas Alakulppi

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=20080401161556.3223378C8B@gam.mel.teaser.net \
    --to=mg8c1zu02@sneakemail.com \
    --cc=netfilter@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