Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@lists.netfilter.org
Subject: Re: Can't get access remote LAN through firewall
Date: Sun, 15 Oct 2006 15:13:15 +0200	[thread overview]
Message-ID: <453233EB.3080404@plouf.fr.eu.org> (raw)
In-Reply-To: <453178E2.5020602@gigared.com>

Hello,

piraguasu a écrit :
> 
> I have two LAN, both connected to Internet through proxy/firewall on 
> Linux. One is my working LAN and other remote. I want to see internal 
> machines of remote LAN from any computers of my LAN, for this I setup a 
> tunnel and when the  firewall  is down in both LAN, all OK.
> 
> When firewall is up, my problem is forwarding between tunnel device and 
> internal card (eth1), I can't get pass through firewall, iptables rules 
> don't work.

Does the FORWARD chain contains rules which accept packets between the 
tunnel interface and the LAN interface in both directions ?

Something like :
iptables -A FORWARD -i eth1 -o tun0 -j ACCEPT
iptables -A FORWARD -i tun0 -o eth1 -j ACCEPT


  reply	other threads:[~2006-10-15 13:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-14 23:55 Can't get access remote LAN through firewall piraguasu
2006-10-15 13:13 ` Pascal Hambourg [this message]
2006-10-17 18:41   ` piraguasu
2006-10-19  9:46     ` Pascal Hambourg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=453233EB.3080404@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox