Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
* [Cerowrt-devel] double_nat_question
@ 2013-08-28  8:44 Oliver Niesner
  2013-08-28  8:55 ` Fred Stratton
  2013-08-28  9:06 ` Toke Høiland-Jørgensen
  0 siblings, 2 replies; 5+ messages in thread
From: Oliver Niesner @ 2013-08-28  8:44 UTC (permalink / raw)
  To: cerowrt-devel



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



^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Cerowrt-devel] double_NAT_question
@ 2013-08-27  8:05 Oliver Niesner
  0 siblings, 0 replies; 5+ messages in thread
From: Oliver Niesner @ 2013-08-27  8:05 UTC (permalink / raw)
  To: cerowrt-devel

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	|
				|	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!
What I'am missing?

thx,

Oliver



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

end of thread, other threads:[~2013-10-10 18:10 UTC | newest]

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox