All of lore.kernel.org
 help / color / mirror / Atom feed
* updated iptables doesn't work with old rules
@ 2006-02-22  9:58 Daniel Nogradi
  2006-02-22 11:01 ` Rob Sterenborg
  0 siblings, 1 reply; 20+ messages in thread
From: Daniel Nogradi @ 2006-02-22  9:58 UTC (permalink / raw)
  To: netfilter

I have updated my Fedora Core 3 box to the latest versions (in the FC3
branch) and now have

iptables-1.2.11-3.1.FC3
kernel-2.6.12-1.1381_FC3

and ip forwarding stopped working. Before the upgrade I had

iptables-1.2.11-3.1
kernel-2.6.9-1.667

The configuration is this:

machine A with FC3 ---------------- adsl modem -------------------- internet
  |
  |
  |
machine B
on a LAN

The FC3 box was using iptables for ip ipforwarding in order to let
'machine B' access the internet using these rules:

iptables --flush
iptables -t nat --flush
iptables --delete-chain
iptables -t nat --delete-chain
iptables -t nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables -t nat --append POSTROUTING -s 192.168.10.0/255.255.255.0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT

echo 1 > /proc/sys/net/ipv4/ip_forward

Now after the update these rules stopped working and nothing gets
through from 'machine B', although pinging works between machines A
and B both ways.

Any ideas as to what to change in these rules to have the same effect
as before the update?


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2006-02-25 19:20 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-22  9:58 updated iptables doesn't work with old rules Daniel Nogradi
2006-02-22 11:01 ` Rob Sterenborg
2006-02-22 11:25   ` Daniel Nogradi
2006-02-22 12:35     ` Rob Sterenborg
2006-02-22 13:39       ` Daniel Nogradi
2006-02-22 20:53         ` Daniel Nogradi
2006-02-22 20:54           ` Chinh Nguyen
2006-02-22 21:57             ` Daniel Nogradi
2006-02-22 22:18               ` Chinh Nguyen
2006-02-22 23:13                 ` Daniel Nogradi
2006-02-22 23:25                   ` Daniel Nogradi
2006-02-23 14:42                   ` Chinh Nguyen
2006-02-23 15:49                     ` Daniel Nogradi
2006-02-24  0:41                       ` Daniel Nogradi
2006-02-24  6:26           ` Rob Sterenborg
2006-02-24 10:14             ` Daniel Nogradi
2006-02-24 12:22               ` Rob Sterenborg
2006-02-24 14:48                 ` Chinh Nguyen
2006-02-24 23:17                 ` Daniel Nogradi
2006-02-25 19:20                   ` Rob Sterenborg

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.