Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Anders Fugmann <afu@fugmann.dhs.org>
To: Mats Blomstrand <mats.blomstrand@htu.se>
Cc: netfilter@lists.netfilter.org
Subject: Re: Im stupid or its broken
Date: Sun, 15 Sep 2002 12:00:47 +0200	[thread overview]
Message-ID: <3D845A4F.80308@fugmann.dhs.org> (raw)
In-Reply-To: 200209131029.g8DATBQ32523@bergelmer.thn.htu.se

Mats Blomstrand wrote:
> 
>   root@wsk0 # iptables -t nat -A POSTROUTING -o eth0 \
>               -s 192.168.0.0/24 -j SNAT --to-source 193.10.192.63
> 
> and the do
> 
>   root@wsk0 # echo 1 > /proc/sys/net/ipv4/ip_forward
> 
> it does what I want. Ie, i can ping from node to the outside
> and the node can do nfs-mounts from master.
> 
> ** However!! If I reboot the node it can still ping to the outside
> but it cant no longer do the nfs mount:
This should work.

Could you please verify that you can do NFS-mounts without the rules
applied.

Also, does the server logs (/var/log/messages) tell you anything of why 
the node is not allowed to connect?

 > PS: Versions ...
 >   root@wsk0 # iptables --version
 >   iptables v1.2.3
 >   root@wsk0 # uname -sr
 >   Linux 2.4.7-10smp
 >   root@wsk0 #
thats some old version there.
I strongly suggest that you upgrade to kernel 2.4.19, and iptables >= 
1.2.7. These version are filled with bugs. Upgrading might (though I 
doubt it) help with the problem.

Regards
Anders Fugmann

--
Author of FIAIF
Fiaif Is An Intelligent Firewall
http://fiaif.fugmann.dhs.org




  reply	other threads:[~2002-09-15 10:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-13 10:29 Im stupid or its broken Mats Blomstrand
2002-09-15 10:00 ` Anders Fugmann [this message]
2002-09-15 11:02 ` Antony Stone

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=3D845A4F.80308@fugmann.dhs.org \
    --to=afu@fugmann.dhs.org \
    --cc=mats.blomstrand@htu.se \
    --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