All of lore.kernel.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] MASQUERADING on the gate0 NIC
@ 2008-11-17 23:56 Derek C
  2008-11-18  0:06 ` Simon Wunderlich
  0 siblings, 1 reply; 3+ messages in thread
From: Derek C @ 2008-11-17 23:56 UTC (permalink / raw)
  To: b.a.t.m.a.n

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-18  0:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-17 23:56 [B.A.T.M.A.N.] MASQUERADING on the gate0 NIC Derek C
2008-11-18  0:06 ` Simon Wunderlich
2008-11-18  0:11   ` Derek C

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.