Linux Netfilter discussions
 help / color / mirror / Atom feed
From: primero <primero@fastwebnet.it>
To: Suzana Lojic-Skoric <s_lojic@hotmail.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: DNS and NAT
Date: Thu, 14 Jul 2005 18:00:59 +0200	[thread overview]
Message-ID: <42D68C3B.30002@fastwebnet.it> (raw)
In-Reply-To: <BAY17-F22074E1DF13F87E0D94A0C80D10@phx.gbl>

Suzana Lojic-Skoric wrote:

>> iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
>>
>> and everything is as described.
>>
> Yes, you are right, but the problem is between my inside client and 
> the NAT gateway I have a machine that drops everything that is not 
> 10.x.x.x. I know, I know, it is insane... but my job is to find a 
> solution for DNS in such network.
>
> So basically, my inside network can only route 10.x.x.x and everything 
> else is dropped.
>
>> As /dev/rob0 pointed out, if you don't want your clients to talk with
>> google directly use proxies.
>>
>
> I'll check out the proxy idea. Thanks for your input.
>
> Suzana
>
You could use a Proxy but this would not solve your problem of 'have a 
machine that drops everything that is not 10.x.x.x' ... even with a 
proxy you would need that at least that machine would be able to access 
Public Big Internet.

Maybe i missed the point ... but if you can not access anything else 
then 10.x.x.x because something beetween clients and DefaultGW would 
drop it i don't see any escape other then configuring the proxy on your 
NAT Device because it should have not problem accessing the Public Internet.

Bye
Francesco


  reply	other threads:[~2005-07-14 16:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-13 17:10 DNS and NAT Suzana Lojic-Skoric
2005-07-14 13:29 ` Jörg Harmuth
2005-07-14 15:50   ` Suzana Lojic-Skoric
2005-07-14 16:00     ` primero [this message]
2005-07-14 20:33       ` Suzana Lojic-Skoric
2005-07-15  8:53         ` Jörg Harmuth
2005-07-15 16:30           ` Suzana Lojic-Skoric
2005-07-15 16:45             ` R. DuFresne
2005-07-15 17:04               ` Suzana Lojic-Skoric
2005-07-15 18:52             ` Francesco Ciocchetti
2005-07-15 19:10               ` Suzana Lojic-Skoric
2005-07-15 19:51               ` Suzana Lojic-Skoric
  -- strict thread matches above, loose matches on Subject: below --
2005-07-11 19:37 Suzana Lojic-Skoric
2005-07-11 19:41 ` Jason Opperisano
2005-07-11 20:33   ` Suzana Lojic-Skoric
2005-07-11 20:44     ` Jason Opperisano
2005-07-11 21:25     ` /dev/rob0
2005-07-11 21:36       ` Jan Engelhardt
2005-07-12  4:05     ` R. DuFresne

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=42D68C3B.30002@fastwebnet.it \
    --to=primero@fastwebnet.it \
    --cc=netfilter@lists.netfilter.org \
    --cc=s_lojic@hotmail.com \
    /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