linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Scott Taylor <scott@dctchambers.com>
To: linux-admin@vger.kernel.org
Subject: Re: Port forwarding how ??
Date: Wed, 15 Jan 2003 07:04:50 -0800	[thread overview]
Message-ID: <5.1.1.6.0.20030115070152.01ca5178@mustang> (raw)
In-Reply-To: <1042589738.28248.16.camel@marvin.bl.gozostudios.com>

At 04:15 PM 1/14/03, you wrote:
>Ok,
>And what about this ?
>( I read this on that link you provided to me )
>
>iptables -A FORWARD -p tcp --dport 3306 -j ACCEPT
>iptables -A PREROUTING -t nat -p tcp --dport 3306 -j DNAT --to
>192.168.0.14:3306
>
>When i try to connect on server where i entered rules i writed above, I
>get the following:
>
>[root@gatekeeper root]# telnet 192.168.0.13 3306
>Trying 192.168.0.13...
>
>[root@gatekeeper root]#
>
>192.168.0.13 = server where i entered the iptables ... which i need to
>redirect me to 192.168.0.14
>192.168.0.14 = server running mysql ( port 3306 ).

More information is still needed.  How can anyone debug a script that we 
can only see a few lines of?

My _guess_ is the server at 192.168.0.13 does not have it's gateway 
pointing to the NAT server.  A common mistake.

Scott.



  parent reply	other threads:[~2003-01-15 15:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-14 23:16 Port forwarding how ?? Sasa Ugrenovic
2003-01-14 23:44 ` Scott Taylor
     [not found]   ` <1042589738.28248.16.camel@marvin.bl.gozostudios.com>
2003-01-15 15:01     ` Scott Taylor
2003-01-15 17:10       ` Jeff Largent
2003-01-15 15:04     ` Scott Taylor [this message]
2003-01-15 17:06       ` Sasa Ugrenovic
2003-01-15 17:41         ` Jeff Largent
2003-01-15 18:24           ` Sasa Ugrenovic
2003-01-15 20:09           ` urgrue
2003-01-15 20:37             ` Sasa Ugrenovic
2003-01-15 20:58               ` urgrue
2003-01-15 21:15                 ` Sasa Ugrenovic
2003-01-15 21:07               ` Scott Taylor
2003-01-15 17:16 ` Jeff Largent

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=5.1.1.6.0.20030115070152.01ca5178@mustang \
    --to=scott@dctchambers.com \
    --cc=linux-admin@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).