SSH->Apache HTTP Proxy

mod_proxy must be compiled and loaded.

This redirects every request from free6dating.dk to google.com

ProxyRequests Off

<VirtualHost *:80>
ProxyPass / http://127.0.0.1:1234/
ServerName nagios.metasecurity.dk
</VirtualHost>

212.242.77.76 are the IP of the public machine, on the enclosed/natted machine run the following command:

ssh -R 1234:127.0.0.1:80 212.242.77.76

Dette indlæg blev udgivet i Knowledge Base, Networking, Old Base. Bogmærk permalinket.

Skriv et svar