public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: elektra <onelektra@gmx.net>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] Unable to connect to internet
Date: Sat, 14 Mar 2009 10:14:21 +0100	[thread overview]
Message-ID: <200903141014.21989.onelektra@gmx.net> (raw)
In-Reply-To: <49BB7058.2070100@java-system.com>

Hi!

> > On mesh router connected to ADSL:
> >
> > batmand -g 1000 ath0
> >
> > On other mesh router:
> >
> > batmand -r 1 ath0
> >
> > You have to NAT towards the internet on the gateway.

There is a bug in batmand in current 0.3.2 code, which occurs when you use HNA 
(-a). We are currently working on it. You don't need to use -a to connect to 
the internet in your case, however. But you have to set up simple NAT towards 
the interface of the batman-gateway connected to the ADSL modem.

If that interface is eth0 the command would be:

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Cheers,
elektra

  reply	other threads:[~2009-03-14  9:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-11 20:57 [B.A.T.M.A.N.] Unable to connect to internet marco tozzini
2009-03-11 21:14 ` elektra
2009-03-12 21:40   ` marco tozzini
2009-03-13  2:11     ` Marek Lindner
2009-03-14  8:13       ` marco tozzini
2009-03-14 11:01         ` Marek Lindner
2009-03-14  8:04     ` marco tozzini
2009-03-14  8:52   ` marco tozzini
2009-03-14  9:14     ` elektra [this message]
2009-03-16 22:54 ` Sven Eckelmann
  -- strict thread matches above, loose matches on Subject: below --
2009-03-17  9:39 Marco Tozzini

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=200903141014.21989.onelektra@gmx.net \
    --to=onelektra@gmx.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox