From: "Derek C" <derekbatman@hssl.ie>
To: b.a.t.m.a.n@open-mesh.net
Subject: [B.A.T.M.A.N.] MASQUERADING on the gate0 NIC
Date: Mon, 17 Nov 2008 23:56:34 -0000 (UTC) [thread overview]
Message-ID: <56963.149.5.32.200.1226966194.squirrel@www.rivertowermail.com> (raw)
Hi again,
I'm currently testing with a few openwrt boards - generally its going well
and I'm connected to the Internet via a BATMAN node thats talking to a
gateway node - pretty good stuff.
I've noticed something. On my (non gateway) node the traffic is going out
the "gate0" tunnel NIC. My notebook is connected wirelessly to an [V]AP
on the node so I need to have a MASQUERADE rule on the gate0 NIC to allow
my local AP subnet (192.168.100.0/24) Internet access.
In a live network, with lots of nodes, will there still only ever be one
gateX NIC ? - is it enough to just have an "iptables -t nat -A POSTROUTING
-o gate0 -j MASQUERADE" rule ?
thanks very much for all the help
Derek
--
Derek C
next reply other threads:[~2008-11-17 23:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 23:56 Derek C [this message]
2008-11-18 0:06 ` [B.A.T.M.A.N.] MASQUERADING on the gate0 NIC Simon Wunderlich
2008-11-18 0:11 ` Derek C
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=56963.149.5.32.200.1226966194.squirrel@www.rivertowermail.com \
--to=derekbatman@hssl.ie \
--cc=b.a.t.m.a.n@open-mesh.net \
/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.