On Sat, Aug 16, 2003 at 03:22:38AM +0200, Daniel Hartmeier wrote: > On Sat, Aug 16, 2003 at 12:09:44AM +0200, Andy wrote: > > > Is there any easy way to achieve this? > > A common solution is to redirect all incoming connections to a HTTP > proxy like squid, which accepts incoming connections, reads the Host: > header from the request, and fetches the document from the appropriate > server on behalf of the web browser, delivering it back to the browser > as if the browser was talking directly to the right server.
if installing from the /usr/ports/www/squid, and using something similar to : rdr on $int_if from $int_if:network to any port www -> 127.0.0.1 3128 remember to "FLAVOR=transparent" when making the squid. w/o that some things get snippy; if you don't want transparent, just do normal make on squid and then have ppl put the checkbox for "use proxy server" and for HTTP put the addr/port you have squid listening on. jared. -- [ openbsd 3.3 current/GENERIC ( aug 10 ) // i386 ]