All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Greg Dickinson" <gdickinson@logistasolutions.com>
To: netfilter@lists.netfilter.org
Subject: Static NATting
Date: Tue, 18 Mar 2003 11:48:11 -0600	[thread overview]
Message-ID: <se770789.071@logistasolutions.com> (raw)

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

Hello all,

This question will undoubtedly get me branded as a n00b :-) but I am about to go insane trying to figure this out.  Am I doing something wrong?

Here's the scenario:

I have a RedHat 8 (Kernel 2.4-18) firewall that I am going to run squid on, as well as do some static NATting for some of the administrative PC's here.  I have configured the Cisco router to direct all the traffic from the affected /24 subnet to the linux box, and I am trying to do a 1-to-1 NAT so we can do things like Terminal Services, etc. across the internet.  I am using the following commands (the addresses are for my PC)

iptables -t nat -A POSTROUTING -s 10.227.101.4 -j SNAT --to 207.157.9.<something>
iptables -t nat -A PREROUTING -s 207.157.9.<something> -j DNAT --to 10.227.101.4

And all the traffic summarily dies at the firewall :-)

I have aliased the 207.157.9.<something> address to the eth1 interface of the firewall.  What simple, obvious thing have I missed?

TIA,

--Greg



Gregory B. Dickinson, CNE CCNA
Systems Engineer
Logista Solutions
(205) 231-5602
(tQ = 2b|!2b)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Greg Dickinson.vcf --]
[-- Type: text/x-vcard, Size: 510 bytes --]

BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Dickinson, Greg
ORG:;Technical Services
EMAIL;WORK;PREF;NGW:GDickinson@logistasolutions.com
N:Dickinson;Greg
END:VCARD

BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Dickinson, Greg
ORG:;Technical Services
EMAIL;WORK;PREF;NGW:GDickinson@logistasolutions.com
N:Dickinson;Greg
END:VCARD

BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Dickinson, Greg
ORG:;Technical Services
EMAIL;WORK;PREF;NGW:GDickinson@logistasolutions.com
N:Dickinson;Greg
END:VCARD


             reply	other threads:[~2003-03-18 17:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-18 17:48 Greg Dickinson [this message]
2003-03-18 18:59 ` Static NATting Steve Mickeler
2003-03-18 19:00 ` Granularity of ipq_read timeout Scott MacKay
  -- strict thread matches above, loose matches on Subject: below --
2003-03-18 19:06 Static NATting Greg Dickinson
2003-03-18 19:25 Greg Dickinson

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=se770789.071@logistasolutions.com \
    --to=gdickinson@logistasolutions.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.