Can a hosted PHP script browse thru a VPN?

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
FishHook
OpenVpn Newbie
Posts: 1
Joined: Wed May 04, 2011 4:41 pm

Can a hosted PHP script browse thru a VPN?

Post by FishHook » Wed Jun 08, 2011 6:05 am

Hi, people,

I plan to register a domain,
and host it on a cheap, shared server with linux, cpanel, etc...
I want to upload and run a PHP script on that hosted server,
and a crontab will start it automatically at a certain time every day.

I want that PHP script to "browse" the internet thru a VPN service,
so that it looks like I am located in Phoenix, or Miami, or wherever.
It will browse a certain website (like ebay, for example),
and send a legit occassional email thru my domain server.
Is there any problem in that plan?

I'm assuming I will need to ask the VPN service provider to answer:
1. How do I tell the script to "sign-in" (with Username and Password)?
2. How do I tell the script to "change IPs" every so often?

Thanks for your assistance.

FishHook

User avatar
Bebop
Forum Team
Posts: 301
Joined: Wed Dec 15, 2010 9:24 pm

Re: Can a hosted PHP script browse thru a VPN?

Post by Bebop » Tue Jun 14, 2011 12:17 pm

FishHook wrote: and host it on a cheap, shared server with linux, cpanel, etc...
If you say cheap VPS then the answer will be 'yes', you can get your PHP scripts to run through the VPN.

As for shared hosting, with no opportunity to install VPN client, I don't see how you could get it to work. The answer there may well be 'no'.
The cure for boredom is curiosity

Post Reply