Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 1999 08:56:58 -0500
From:      "Jonathan E. Lyons" <parrothd@midwest.net>
To:        "Stephen A. Derdau" <sderdau@ne.mediaone.net>, Alfred Perlstein <bright@wintelcom.net>
Cc:        "Questions @ FreeBSD" <FreeBSD-questions@freebsd.org>
Subject:   Re: Whats a good ipfw rule to allow access to webserver
Message-ID:  <3.0.5.32.19991015085658.007c6160@midwest.net>
In-Reply-To: <3806FEE2.D9011AF8@ne.mediaone.net>
References:  <Pine.BSF.4.05.9910141559150.8080-100000@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Add this, and change the port from 200? to 80. This redirects all tcp
traffic on port 2000 to my local machine at 192.168.1.20 on port 2000.


221  ??  Ss     0:03.46 natd -interface ed1 -dynamic -config /etc/natd.conf
more /etc/natd.conf
redirect_port tcp 192.168.1.20:2000 2000
redirect_port tcp 192.168.1.20:2001 2001 
redirect_port tcp 192.168.1.20:2002 2002





At 06:16 AM 10/15/99 -0400, Stephen A. Derdau wrote:
>Alfred Perlstein wrote:
>> 
>> On Thu, 14 Oct 1999, Stephen A. Derdau wrote:
>> 
>> > I'm running 3.3 and I'm trying to figure out a good
>> > ipfw rule to allow access to my websderver ?
>> >
>> > i'm also running natd.
>> >
>> > I can access the website via local but not external.
>> 
>> simply form a direct connection with the -redirect_port option.
>> however if your webserver has a real IP address, just enter
>> an IPFW rule before your divert rule.
>> 
>> -Alfred
>Do you mean add divert natd all from any to any via ${natd_interface}
>
>That isn't doing it.
>
>Thank You !!!
>I'll keep looking.
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>
>

Jonathan E. Lyons 			
parrothd@midwest.net			Nucleus Consulting	
ICQ # 14226912				www.nucleusconsulting.com
Cell # 773-251-1967			A+, MCSE, CCNA, FreeBSD!
Pager # 7732511967@mobile.att.net


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?3.0.5.32.19991015085658.007c6160>