Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Oliver Niesner <oliver.niesner@gmail.com>
To: cerowrt-devel@lists.bufferbloat.net
Subject: [Cerowrt-devel] double_nat_question
Date: Wed, 28 Aug 2013 10:44:51 +0200	[thread overview]
Message-ID: <521DB883.20106@gmail.com> (raw)



Hi all,

I hope someone could help me, it seems that i doesn't get it or misinterpret
something :-/

I want to get rid of double NAT in my small network at home, but it seems it
only works, if i use an extra iptables MASQUERADE rule on my pc which does all
the firewalling dhcp etc..

My setup:	^
		|internet
		|					
 -------------------------			------------------------
|			 |			| firewall pc		|
| dsl-router		 |			|dhcp, small		|
|(NAT, no CEROwrt!	 |----------eth0--------|webserver etc.		|
|ip, static=192.168.0.199|	192.168.0.1	|---------------|--------
|------------------------					|
								|
								eth1,
								192.168.1.1
								|
								|
				--------------------------------|
				|	WAN=192.168.1.86	|
		WLAN------------|	CEROwrt			|
				---------------------------------


This setup works fine, but only when i do MASQUERADE on eth0, on my firewall pc!
I thought it must be possible, that only my dsl-router is doing the NAT and
everything else is routed inside the private net!
(the necessary routes are set, every machine could ping each other)
What i'm missing?

thx,

Oliver



             reply	other threads:[~2013-08-28  8:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-28  8:44 Oliver Niesner [this message]
2013-08-28  8:55 ` Fred Stratton
2013-08-28  9:06 ` Toke Høiland-Jørgensen
     [not found] <5256E5D8.4000405@gmail.com>
2013-10-10 18:10 ` Dave Taht
  -- strict thread matches above, loose matches on Subject: below --
2013-08-27  8:05 [Cerowrt-devel] double_NAT_question Oliver Niesner

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

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to=521DB883.20106@gmail.com \
    --to=oliver.niesner@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.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