OP please unmark solved.
I have discovered how to use ssh to make a socks connection. its easy enough.
NEW PROBLEM
I would like to use apache as a forward proxy. I found some basic stuff and added this to my /etc/apache2/sites-enabled/000-default page
Code:
#PROXY
<Directory proxy:*>
Order Deny,Allow
Deny from none
Allow from all
</Directory>
of course this is JUST for testing purposes and i will change the allow to the appropriate IP address.
if i just add the above code and then try to use firefox to proxy though my server it takes me to the default IT WORKS page no matter what i do!?! im sure im not getting something right so here is the full 000-default
Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
#PROXY
<Directory proxy:*>
Order Deny,Allow
Deny from none
Allow from all
</Directory>
#cache usage of proxy
#CacheRoot "/usr/local/apache/proxy"
#CacheSize 5
#CacheGcInterval 4
#CacheMaxExpire 24
#CacheLastModifiedFactor 0.1
#CacheDefaultExpire 1
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
As you can see it is the basic default page, with some proxy stuff added. Another thing i have to comment out the Cache stuff or the apache server fails to restart with this error.
Code:
Invalid command 'CacheRoot', perhaps misspelled or defined by a module not included in the server configuration
What am i doing wrong here?
Bookmarks