Tuesday, March 31, 2015

How to test your site using localhost/vpn routes via Proxy

Testing web sites (PROXY)

Have you ever came in position that you need to use localhost on another computer or use their VPN routes ?

Have no fear, proxy is here!

Server Proxy


Having the server on GNU/Linux(Ubuntu 12.04), just install squid:
sudo apt-get install squid


edit the configuration file:
vim /etc/squid3/squid.conf

locate line:   TAG: http_access define a variable:
acl our_networks src

above the first http_access line,
thenbelow the last http_access write this line:

http_access allow our_networks

Proxy Restart

finaly restart it:
sudo service squid3 restart


Proxy client setup

  •  Uncheck Automatically detect settings.
  • Enter: (your address will differ, ifconfig in your servers terminal to get it right ;) )
  • Port number 3128
  • Click OK to finish and close the other window as well.

Using the proxy in browser

Opening localhost will open the localhost of the server instead of


  1. Data Architect: Data Architect works with system designers, users and developers to maintain and protect data sources. data science course syllabus

  2. This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work. I have been meaning to write something like this on my website and you have given me an idea.

    data science course in India

  3. I just got to this amazing site not long ago. I was actually captured with the piece of resources you have got here. Big thumbs up for making such wonderful blog page!
    Artificial Intelligence Course

  4. Hello, I have browsed most of your posts. This post is probably where I got the most useful information for my research. Thanks for posting.
    Tableau Training In Hyderabad

  5. Wonderful blog & Its really helpful for me as career point, waiting for a more new post. Keep Blogging!
    Servicenow Training In Hyderabad

  6. Best Places To Bet On Boxing - Mapyro
    Where To Bet On Boxing. It's a sports 출장마사지 betting event in which you งานออนไลน์ bet on the outcome of a game. In the boxing world, each mens titanium wedding bands player must decide if or not to