Getting access out through gateway

max bianco maximilianbianco at gmail.com
Thu May 8 17:26:59 UTC 2008


On Thu, May 8, 2008 at 8:36 AM, Simon Slater <pyevet at aapt.net.au> wrote:
> On Tue, 2008-05-06 at 12:56 +1000, Simon Slater wrote:
>> On Mon, 2008-05-05 at 13:37 -0500, Steven Tardy wrote:
>> > cat /proc/sys/net/ipv4/ip_forward
>> =1 for both gateway and laptop
>>
> I can't see that the REJECT target at the end of the chain in the filter
> table is the main part of the problem because when iptables are stopped,
> the packet returned from the gateway box has the reset flag set.
> Something in the network setup is awry.
>
> --
What is the network address you are using? Something like 192.168.x.x?
I see on the gateway 192.168.0.0/24 is defined in the rules and on the
laptop 192.168.122.0/24. In the rules on the gateway I see a rule:

DROP       all  -- !192.168.0.0/24       anywhere

Does this not mean that all packets from any network but 192.168.0.x
will be dropped?

Max




More information about the fedora-list mailing list