All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Danny Ma" <drp666c@email.com>
To: netfilter@lists.netfilter.org
Subject: Can iptables NAT do this?
Date: Thu, 31 Jul 2003 15:40:19 -0500	[thread overview]
Message-ID: <20030731204019.26323.qmail@email.com> (raw)

Hi, 
   Here is my network layout:


Internal            o-------------------------o	
Network   eth0  |  Firewall/Gateway    | eth1
===========>|  Linux 2.4.18            |====>ROUTER==> INTERNET
                        o-------------------------o

I'm able to see all the packets from my internal LAN regardless of what their IP configuration is (DHCP, Static ip, etc) on the eth0 PREROUTING table on the Linux Gateway and am trying to figure out what I need to do to the packets so that they will go thru my Linux firewall/Gateway to the internet. I've successfully been able to proxy ARP (spoof) so that all internal machines think that the Linux server is the gateway and they all send their packets to the Linux server but now I need to know what routing changes I need to make on the Linux server so that it can route via NAT all the packets to the internet.

Any help is greatly appreciated.

Danny


-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers



                 reply	other threads:[~2003-07-31 20:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20030731204019.26323.qmail@email.com \
    --to=drp666c@email.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.