You are here: Re: PHP Proxy? « All PHP « IT news, forums, messages
Re: PHP Proxy?

Posted by Someuser on 09/28/50 11:47

Hi There,

You could use PHP but I would really go another route such as using a VPN
connection between the office and your home computer, this assumes that your
office has not blocked outgoing vpn connections such as PPTP.

General setup instructions would be something such as:

1. Verify how your office network is setup. Probably some private IP subnet
(ex. 192.168.0.0/255) that use a NAT router to connect to the internet using
some (not important) public IP.

2. Setup your home NAT router's DHCP to use a different private IP subnet
(ex. 192.168.1.0/255) that is different that the office. This is very
important because if they are the same your will have conficts.

3. Configure home NAT router to forward PPTP trafic to IP address of the
PPTP server (ex. forward port 1723 to 192.168.1.100)

4. Setup a PPTP server daemon (VPN) with authentication.

5. Note your home network's public IP (ex. 999.999.999.999)

5. Setup MS PPTP client to connect to the IP address in no. 4

When connected to the PPTP server all non local traffic at work (IPs outside
of 192.168.0.0/255) will pass through the PPTP encrypted tunnel and will in
effect show up on the web as having originated from your home network's
public address.

I have used the same setup for years except that I went the other direction.
I routed home traffic through the office which allowed me to access office
resources and the internet from my offices network.

One thing that I can see as problamatic is the use of a proxy server at the
office. The proxy would need to be transparent. What I mean is that the
proxy server should not be set in the lan settings of the connection tab of
your internet options.

You may want to research if stunnel (www.stunnel.org) could be used for this
sort of setup.

James

"Algo" <algo@na.com> wrote in message
news:y6mdnc2krL6zNP_ZnZ2dnUVZ_vidnZ2d@comcast.com...
>I have an apache/php setup. I can access my server at work but their dumb
>blocking blocks so many simple non-offensive sites. Is there a script that
>I can use in my server with php (or anything else) that would be like a
>browser within a browser so I wouldn't be connecting to the sites from my
>work browser? My work browser already connected to an internal proxy
>server so setting my browser to a proxy is not an option.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация