Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "John A. Sullivan III" <john.sullivan@nexusmgmt.com>
To: black@arbbs.net
Cc: netfilter@lists.netfilter.org
Subject: RE: Destination Nat
Date: Fri, 04 Jun 2004 12:14:34 -0400	[thread overview]
Message-ID: <1086365674.15366.49.camel@localhost> (raw)
In-Reply-To: <40c09902.2c9.1bbe.570207397@arbbs.net>

On Fri, 2004-06-04 at 11:45, black@arbbs.net wrote:
> the rule set:
> iptables -t nat -A PREROUTING -d 5.6.7.8 -p 6 --dport 80 -j
> DNAT --to 192.168.x.x:80 worked perfectly
> 
> thank you
> 
> but i have a new question.  i'm trying to setup so the users
> can access the machines through ssh.  
> 
> here is the rule set:
> iptables -t nat -A PREROUTING -d 5.6.7.8 -p tcp --dport 22
> -j DNAT --to 192.168.1.88:22
> 
> the problem is when i ssh in to machine8 which is on static
> ipaddress 192.168.1.88 i actully log into machine1 which is
> 192.168.1.81, which is the first machine in the rule set. 
> where did i go wrong?
> 
> thanks
> john 
What are the other rules?
-- 
John A. Sullivan III
Chief Technology Officer
Nexus Management
+1 207-985-7880
john.sullivan@nexusmgmt.com
---
If you are interested in helping to develop a GPL enterprise class
VPN/Firewall/Security device management console, please visit
http://iscs.sourceforge.net 



  reply	other threads:[~2004-06-04 16:14 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-04 15:45 Destination Nat black
2004-06-04 16:14 ` John A. Sullivan III [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-06-04 16:14 black
2004-06-04 16:44 ` John A. Sullivan III
2004-06-02 15:20 Piszcz, Justin Michael
2004-05-28 14:18 black
2004-05-29  1:56 ` John A. Sullivan III
2004-06-02  3:38   ` John Black
2004-06-02 11:19     ` John A. Sullivan III
2004-06-02 11:53       ` John Black
2004-06-02 15:13       ` Alistair Tonner
2004-05-28 13:46 black
2004-05-28 14:18 ` John A. Sullivan III
2004-01-28 20:45 Destination NAT Ale Zeta
2004-01-28 14:21 Alejandro Zaidel
2004-01-29  9:13 ` Antony Stone
2004-01-29  9:47   ` Ray Leach
2004-01-29  9:46     ` Antony Stone
2003-03-14 11:01 Sathi

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=1086365674.15366.49.camel@localhost \
    --to=john.sullivan@nexusmgmt.com \
    --cc=black@arbbs.net \
    --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