Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Kirk <whereisgui@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Re: Confused about NAT and forwarding
Date: Tue, 22 Feb 2005 15:48:33 -0800	[thread overview]
Message-ID: <48be50bb050222154859fcced0@mail.gmail.com> (raw)

Thanks for such quick replies!

>>PRIV_PROXY_IP=192.168.0.2
>>PUB_PROXY_IP=a.b.c.d
>>IPT=iptables
>>
>>$IPT -t nat -I POSTROUTING -s $PRIV_PROXY_IP -o eth0 -j SNAT --to
>>$PUB_PROXY_IP

I just tried this solution but now the proxy can't access the DNS
servers. I think I know what the problem is.

 I'll try both suggestions  tomorrow morning. Right now I have a bunch
of angry people calling my office because they can't connect to the
proxy server :)

Later.


             reply	other threads:[~2005-02-22 23:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-22 23:48 Kirk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-02-22 22:24 Confused about NAT and forwarding Kirk
     [not found] ` <421BB636.8050104@arcoscom.com>
2005-02-23 21:24   ` Kirk

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=48be50bb050222154859fcced0@mail.gmail.com \
    --to=whereisgui@gmail.com \
    --cc=netfilter@lists.netfilter.org \
    /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