NetFilter
[Top] [All Lists]

Re: strange behaviour

To: netfilter@lists.netfilter.org
Subject: Re: strange behaviour
From: Askar Ali <askarali@gmail.com>
Date: Mon, 26 Feb 2007 18:03:47 +0500
Delivered-to: sp-com-lists@consult.net
Delivered-to: netfilter-list1@securepoint.com
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=RZ2+AynqvVZwLiVunNnz3Q65Mowg3/Pqkxpp/WYDojYsEchY6eOPoDrsAY5KtChH/aV4DyS5vVZJwsrk9hcxp8TKb8NtthVtEkkyEzrq3Pn4FslyvW3fOFV2wNEOSGEGOStmHWnpSc430BXkP55VF1haoNOZ+9wWfvaHEczMdxs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=RLC91wrzJ/uPpLnZDVfi05h7R8jiZ2scxUFuz0lbkh8cQtD95NyTb79UjuHLym7DTjBl/i5So0crf+sBVV49FriAkZG/ipYYvX3xbXZrnfionqMGs3pIdagyTDE870bgV1IF1jksVrWQRr67B4o5raGJNpNiGxOpmYyHhIxT7eU=
In-reply-to: <20070226124547.69013.qmail@web36804.mail.mud.yahoo.com>
List-archive: </pipermail/netfilter>
List-help: <mailto:netfilter-request@lists.netfilter.org?subject=help>
List-id: General discussion and user questions <netfilter.lists.netfilter.org>
List-post: <mailto:netfilter@lists.netfilter.org>
List-subscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=subscribe>
List-unsubscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=unsubscribe>
References: <20070226124547.69013.qmail@web36804.mail.mud.yahoo.com>
Sender: netfilter-bounces@lists.netfilter.org
User-agent: Thunderbird 1.5.0.9 (X11/20061206)
angico, on 02/26/2007 05:45 PM [GMT+500], wrote :
> hi, everybody!
> i have a problem that you may help to solve, surely.
> i have a server (a) connected to the internet via eth0/ppp0 (adsl).
> another computer (b) is connected to this server thru eth1, and it should 
> reach the internet via the server which is its gateway. and so it did!... up 
> to a month ago.
> i think nothing's changed. all i did was a re-installing of my gentoo based 
> system on the server, due to problems on the hard-disk. but firewall rules 
> (iptables) remain the same. and the netted computer can't reach the internet 
> anymore! 
> things got exquisite because:
>   
Try this rule on  your gateway..


iptables -A POSTROUTING -t nat -o ppp0 -j MASQUERADE

Thanks


<Prev in Thread] Current Thread [Next in Thread>