Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2000 05:40:40 +0000
From:      bobb+freebsd-stable@redbrick.dcu.ie
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: 4.1.1-Stable and natd
Message-ID:  <20001224054040.A46000@dalom.internal>
In-Reply-To: <000f01c06d58$df17c340$0300a8c0@swahilie.net>; from edukation@crosswinds.net on Sat, Dec 23, 2000 at 10:23:22PM -0500
References:  <000f01c06d58$df17c340$0300a8c0@swahilie.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Box1 hath declared on Saturday the 23 day of December 2000  :-:
> FreeBSD-4.1.1-Stable
> Box-A= gateway
> Box-B= Apache, ircd, etc... servers
 
> My take from this is, the gateway is seeing the packets.  At the same time
> on box-B, I am doing tail -f /var/log/security  and i see nothing hitting
> the apache servers ports.  I have tried using other ports in place of 80 and
> 443, but, the redirects to my *known* working Apache does not happen.

I generally use ipnat, though I sometimes use plug-gw(8) which is part
of the fwtk port when I want the same redirect to also work internally.
Its a app level proxy, may not be what you want, but...

/etc/inetd.conf
----------------
http    stream  tcp     nowait  root    /usr/local/libexec/plug-gw plug-gw http

/usr/local/etc/netperm-table
----------------------------
plug-gw:        port http * -plug-to dev.internal -port 80
 

-- 
Robert "bobb" Crosbie.


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001224054040.A46000>