Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Guillermo Javier Nardoni <gjnardoni@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Hello, i need some help to do that. please!
Date: Mon, 14 Mar 2005 01:13:53 -0300	[thread overview]
Message-ID: <7b85e53050313201357f51562@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 980 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 have to DNAT 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 --]

             reply	other threads:[~2005-03-14  4:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-14  4:13 Guillermo Javier Nardoni [this message]
2005-03-14 16:28 ` Hello, i need some help to do that. please! Jason Opperisano

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=7b85e53050313201357f51562@mail.gmail.com \
    --to=gjnardoni@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