Setting up a FreeBSD Gateway question

2003-02-02 Thread Kyle
Hello,


I am trying to set up a Freebsd gateway. the gateway will connects to 
the net. i have a laptop that will connect to the gateway in order to 
access the net. the gateway has 2 NIC's, one external(vr0), one 
internal(dc0). the laptop is connected to the gateway via a cross-over 
cable. the gateway is running FreeBSD 4.7, the laptop is running red hat 
Linux 8.0. what do i need to do to get the gateway working and the 
laptop to access the net through the gateway? do i need to setup 
ipnat/ipfw? if so how? i also want to telnet or openssh the gateway.

thank you, kyle


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Setting up a FreeBSD Gateway question

2003-02-02 Thread Rich Fox
Hi,

This is a pretty common procedure and is documented in the freebsd
handbook. Please see:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/natd.html

Beware the ipfw default to allow settings.

I think there are also some tutorials out on the 'net.

You will likely want to alter the inetd.conf file in /etc for enabling ssh
and disabling whatever other features you don't want. You can also run
ssh as a dedicated process.
You can find more information about inetd in the handboox as well.

Rich.

 | Rich Fox
 | [EMAIL PROTECTED]
 | 86 Nobska Road
 | Woods Hole, MA 02543
 | MA 508 548 4358
 | VA 703 201 6050

On Sun, 2 Feb 2003, Kyle wrote:

> Hello,
>
>
> I am trying to set up a Freebsd gateway. the gateway will connects to
> the net. i have a laptop that will connect to the gateway in order to
> access the net. the gateway has 2 NIC's, one external(vr0), one
> internal(dc0). the laptop is connected to the gateway via a cross-over
> cable. the gateway is running FreeBSD 4.7, the laptop is running red hat
> Linux 8.0. what do i need to do to get the gateway working and the
> laptop to access the net through the gateway? do i need to setup
> ipnat/ipfw? if so how? i also want to telnet or openssh the gateway.
>
> thank you, kyle
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>
>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message