It should be possible to use Mac OS's own Apache to do this, if you've got it running. Do not enable ProxyRequests, that's for forward proxying. You'll want to look at mod_proxy and specifically ProxyPass and ProxyPassReverse. If you need some HTTP manipulation (you might need to tweak HTTP redirects, so that when a request comes for a URL without a trailing '/' you don't get redirected to the real, inaccessible, server), then Apache can do the job of a reverse proxy. There's a few ways of doing this, depending upon your needs even 'SSH' can be pressed into action, though my favourite short and sweet way is a Perl script tcpforward. I started on an answer about NAT, but I think you actually want a TCP forwarder program instead (you mention 'proxy' and port forwarding.) Well, I can tell you how I do that sort of thing on my Mac OS X 10.5.8 system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |