From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Ferrari Subject: Re: iptables & vypress Date: Fri, 15 Jul 2005 13:00:00 +0200 Message-ID: <42D79730.2080706@infinito.it> References: <42D6970C.7040800@infinito.it> <60a7468905071502471b4d0369@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <60a7468905071502471b4d0369@mail.gmail.com> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: "Adrian C." , linux-admin@vger.kernel.org Adrian C.'s cat, on 15/07/2005 11.47, walking on the keyboard wrote: > from .4. to .1. > iptables -A FORWARD -s 192.168.4.0/24 -d 192.168.1.0/24 -p tcp -j ACCEPT > iptables -A FORWARD -s 192.168.4.0/24 -d 192.168.1.0/24 -p udp -j ACCEPT > > from .1. to .4. > iptables -A FORWARD -s 192.168.1.0/24 -d 192.168.4.0/24 -p tcp -j ACCEPT > iptables -A FORWARD -s 192.168.4.0/24 -d 192.168.1.0/24 -p udp -j ACCEPT Thanks for your help, but even adding the above rules (I guess the thrid line has inverted the lan addresses) does not work. The strange thing is that I can use ssh, telnet, and other services across the LANs, but not this. And my iptables is not logging anything. Any idea? Thanks, Luca -- Luca Ferrari fluca1978@infinito.it