All of lore.kernel.org
 help / color / mirror / Atom feed
* Iptables and Script to make it possible (Help me please)
@ 2005-03-14  4:16 Guillermo Javier Nardoni
  0 siblings, 0 replies; only message in thread
From: Guillermo Javier Nardoni @ 2005-03-14  4:16 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 1020 bytes --]

Hello i need to to NAT with DNAT and i think SNAT too.
this is my lan (attached to a file)

this is my situation

Server Linux running RedHat 9 shrike
with this configuration

eth0 (two aliases)
eth0:0 IP: 192.168.0.1
          NETMASK: 255.255.255.0

eth0:1 IP: 192.168.1.1
          NETMASK: 255.255.255.0

eth1   IP: 10.0.0.1
         NETMASK: 255.0.0.0

ppp0  PPPoE used over eth1 to connect linux server to internet


SERVER W2K

eth0   IP: 192.168.1.100; 192.168.1.101; 192.168.1.102
         NETMASK: 255.255.255.0


LAN: subnet: 192.168.0.0/24

so i want to do NAT over my LAN, it means a client wich ip is
192.168.0.65 for example could have full acces to internet
but all incoming packets comes from ppp0 at theses ports 27015 27016
27017 and port 80 have to DNAT to 192.168.1.100 ip address and i guess
SNAT too, to my W2k server

i don't know how to do the script to make it possible, could you lend
me a hand please.-



-- 
Atte.
Guillermo Javier Nardoni
Estudiante de Ing. en Sistemas
Tel: 03402-15540590

[-- Attachment #2: network.JPG --]
[-- Type: image/pjpeg, Size: 25422 bytes --]

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

only message in thread, other threads:[~2005-03-14  4:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-14  4:16 Iptables and Script to make it possible (Help me please) Guillermo Javier Nardoni

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.