From: Anders Fugmann <afu@fugmann.dhs.org>
To: Thomas Meindl <methodaut@netscape.net>
Cc: netfilter@lists.netfilter.org
Subject: Re: iptables, portforward, DNAT, SNAT
Date: Thu, 31 Oct 2002 22:54:41 +0100 [thread overview]
Message-ID: <3DC1A6A1.6060900@fugmann.dhs.org> (raw)
In-Reply-To: 542FEF78.196CA339.03240133@netscape.net
Thomas Meindl wrote:
> Antony Stone <Antony@Soft-Solutions.co.uk> wrote:
>
> no, i didn't write it that way in the actual script.
> just to save some tipping here..
>
> * stands for the three below
>
> sorry for that confusing
> I simply should have copied and pasted it like
>
> echo 1 > /proc/sys/net/ipv4/ip_dynaddr
> echo 1 > /proc/sys/net/ipv4/ip_forward
> echo 1 > /proc/sys/net/ipv4/tcp_syncookie
>
>>># enable masquerading
>>>iptables -t NAT -A POSTROUTING -o $EXTIF -j MASQUERADE
>>
>>"NAT" in this rule should read "nat" - it matters !
>>
>
>
> spelling mistake sorry! nat
>
Something that completely eludes me. You have hand typed the script you
post for debugging? Then how do you know that the error is in the script?
Try to narrow the problem down to a very small set of rules, and test
the script. If it still does not work then post the script as is - copy
and paste. I imagine that over 50% of all script questions posted to
this list would answer itself, it the scripts posted had actually been
tested.
I'm not flaming you, and apologize if you take it that way.
I'm trying to provide you with the tools to solve the problem. I guess
that if you work systematically, then one of two will happen: you
solve the problem yourself, or you will be able to ask very
accurate/specific questions to the list, which has a much higher chance
of being answered correctly.
Regards
Anders Fugmann
next prev parent reply other threads:[~2002-10-31 21:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-31 19:23 iptables, portforward, DNAT, SNAT Thomas Meindl
2002-10-31 21:54 ` Anders Fugmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-10-31 15:33 Thomas Meindl
2002-10-31 16:39 ` Antony Stone
2002-10-31 16:47 ` Robert P. J. Day
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=3DC1A6A1.6060900@fugmann.dhs.org \
--to=afu@fugmann.dhs.org \
--cc=methodaut@netscape.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.