Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2002 14:11:08 +0200
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        User Jopet <631pettersson@telia.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: natd/redirect_port
Message-ID:  <20020114141108.B10203@sunbay.com>
In-Reply-To: <3C4172D5.4050003@telia.com>
References:  <3C4172D5.4050003@telia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 13, 2002 at 12:43:17PM +0100, User Jopet wrote:
> hello!
> 
> I can't get "redirect_port" working in natd, I have read mailing lists,
> doc, etc. But it will not work!
> 
> ISP <-----> 217.208.x.x(dc0)-GW-(rl0)192.168.0.1 <------> 192.168.0.2
> 
> natd.conf
> ---------
> interface dc0
> use_sockets yes
> same_ports yes
> redirect_port tcp 192.168.0.2:22 9999
> 
> And nothing happens when I telnet to 217.208.x.x 9999
> 
> I have also tried "redirect_port tcp 192.168.0.2:22 22"
> 
Make sure your kernel was compiled with the IPFIREWALL and
IPDIRVERT options.  Also make sure you divert IP traffic to
the natd(8) process.  (You didn't tell us how your firewall
rules look like.)


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020114141108.B10203>