On Tue, Jun 26, 2007 at 15:21:23 +0100 (+0100), Jack Knight wrote:
> Adrian Bridgett wrote:
> >On Fri, Jun 22, 2007 at 16:27:55 +0100 (+0100), Jack Knight wrote:
> >
> jfk@tony:~$ ping localhostChain POSTROUTING (policy DROP 30950 packets,
> 25M bytes)
> pkts bytes target prot opt in out source
> destination
> 4865 306K MASQUERADE 0 -- * eth1 0.0.0.0/0
> 0.0.0.0/0
>
> However I do have a NAT postrouting rule:
>
> PING tony (127.0.0.1) 56(84) bytes of data.
> ping: sendmsg: Operation not permitted
> ping: sendmsg: Operation not permitted
Hmm, could I have a bit more detail? I'll ask for everything all in
one go this time. I know you've pasted some of this already, but I
want to check we aren't missing anything.
In fact, it might be worth saving the iptables output, then running
(as root) "ping -f localhost", then running iptables -L -n -v again
and seeing which rule counts have gone up :)
/etc/hosts
ifconfig -a
netstat -nr
iptables -L -n -v
iptables -t mangle -L -n -v
iptables -t nat -L -n -v
Adrian
--
Email: adrian@??? -*- GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution -*-
www.debian.org
Avoid working with children, animals and Microsoft "operating" systems