Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2002 14:22:33 +1000
From:      "Allan McDonald" <allan@ozdaq.com.au>
To:        "'Grant Cooper'" <grant.cooper@nucleus.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   RE: rc.conf and adding a command
Message-ID:  <0F08B228C722D311B5FC00A0C9FB2C7322B4E4@casserver.ozdaq.com.au>
In-Reply-To: <0F08B228C722D311B5FC00A0C9FB2C733BD2E0@casserver.ozdaq.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
I use the following, it works for me..

natd_program="/sbin/natd"
natd_enable="YES"
natd_interface="xl0"  # Public interface or IPaddress to use.
natd_flags="-s -m -redirect_port tcp 10.0.1.60:http 8080"


Regards

Allan McDonald
-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Grant Cooper
Sent: Saturday, 6 July 2002 2:17 AM
To: FreeBSD-questions
Subject: rc.conf and adding a command


I've been working on this for awhile. From the command line I can run
/sbin/natd -n vr0 but I have read I can put this line into rc.conf. I've
tried alot of combinations but can seem to get it to click. I currently
have, natd_interface="vr0" I wrote a script to do this but I want to know
what I'm doing wrong.


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


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?0F08B228C722D311B5FC00A0C9FB2C7322B4E4>