All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Lonien <wolfgang@lonien.de>
To: netfilter@lists.netfilter.org
Subject: SNMP through VPN?
Date: Thu, 01 Dec 2005 13:20:35 +0100	[thread overview]
Message-ID: <438EEA93.10000@lonien.de> (raw)

Hi list,

I have an issue, and I think it's because of my linited knowledge of
iptables. The scenario:

linuxbox1---router1=====(IPSecTunnel)=====router2---linuxbox2
192.168.x.0/24============================10.a.b.0/24

I want to set up monitoring using SNMP. I *can* do this from linuxbox1
to linuxbox2 and vice versa, but not from linuxbox1 to router2 (internal
interface) or from linuxbox2 to router1 (internal interface). All other
services like ICMP or TCP (ssh) work in both directions, as do SNMP
requests from the internal side to the internal interfaces of the routers.

In the firewall rules of router1, I added:
iptables -I forwarding_rule -p all -s 10.a.b.0/24 -d 192.168.x.0/24 -j
ACCEPT
iptables -I forwarding_rule -p all -s 192.168.x.0/24 -d 10.a.b.0/24 -j
ACCEPT

to allow all traffic in both directions. I tried the same with input and
output and as the interface ipsec+, but still no luck. I can SNMP-query
devices *behind* the routers, but not the routers themselves.

What am I doing wrong?

kind regards,
wjl aka Wolfgang Lonien
www.lonien.de

-- 
Key ID 0x728D9BD0 - public key available at wwwkeys.de.pgp.net
'94 Honda NTV still running on fuel -
everything else here proudly runs Debian GNU/Linux


             reply	other threads:[~2005-12-01 12:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-01 12:20 Wolfgang Lonien [this message]
2005-12-06 12:52 ` SNMP through VPN? Nick Drage
2005-12-06 13:36   ` Wolfgang Lonien

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=438EEA93.10000@lonien.de \
    --to=wolfgang@lonien.de \
    --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 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.