Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2001 14:51:10 -0500
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        "Ben" <ben@cahostnet.com>, <questions@FreeBSD.ORG>
Subject:   Re: NATD ?
Message-ID:  <008501c0b240$495badd0$1200a8c0@gsicomp.on.ca>
References:  <004b01c0b22f$1aa2fc70$6102a00a@nhqadmin17>

next in thread | previous in thread | raw e-mail | index | archive | help
> Can I do this.  I want to redirect port 21 and 20 to one of my
> internal servers on port 10003.  I already have port 21 and 20 being
> used on another server through the nat.  Shouldn't this work?
>
> redirect_port tcp 192.168.1.14:21 10003
> redirect_port udp192.168.1.14:20 10003

This should work as expected -- I have a similar setup.  However, I am
redirecting tcp for port 20, not udp.  That may be the cause of your
problem.

> Also doesn't the natd config file gets read
> on the fly.  Or do I need to reload anything?

You need kill natd and start it again when your natd configuration file
changes.

--
Matt Emmerton




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?008501c0b240$495badd0$1200a8c0>