Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2001 12:48:14 -0500
From:      "Ben" <ben@cahostnet.com>
To:        <questions@freebsd.org>
Subject:   NATD ?
Message-ID:  <004b01c0b22f$1aa2fc70$6102a00a@nhqadmin17>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

In my mind this is saying that I want the port 10003 destined on the
gateway coming from the internet to be redirected to server
192.168.1.14 on port 21.

Why isn't this working?  I would rather not change the port in
/etc/services or do I?  Also doesn't the natd config file gets read
on the fly.  Or do I need to reload anything?

Thanks,
Ben

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>;

iQA/AwUBOrjpVwht7rD8NlhDEQKyBQCgtJZN4vBA3L6pvKbc6l5JYcFN4jkAoMXE
7hGkGaJj45dmIJ3IYil6biYa
=bLF3
-----END PGP SIGNATURE-----



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?004b01c0b22f$1aa2fc70$6102a00a>