All of lore.kernel.org
 help / color / mirror / Atom feed
* Can iptables NAT do this?
@ 2003-07-31 20:40 Danny Ma
  0 siblings, 0 replies; only message in thread
From: Danny Ma @ 2003-07-31 20:40 UTC (permalink / raw)
  To: netfilter

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-31 20:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-31 20:40 Can iptables NAT do this? Danny Ma

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.