Skip to content

zerkms/vagrant-squid-ubuntu-14.04

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A simple Vagrant VM with squid setup for ones who provision their machines frequently and want to save some time and traffic.

How to use

  1. Spin the machine up with vagrant up
  2. Set up your other VMs to use 192.168.56.250:3128 as an http proxy server

For the latter you could use vagrant-proxyconf vagran plugin or any other that helps automate specifying VM proxy servers.

In case of vagrant-proxyconf just add the following lines into your Vagrantfile:

config.proxy.http     = "http://192.168.56.250:3128"
config.apt_proxy.http = "http://192.168.56.250:3128"
config.apt_proxy.https= "DIRECT"

Some notes

At this moment the IP address is hardcoded to be 192.168.56.250, but if someone else but me will use this VM and they will not be happy with the given IP address - I could modify it to use environment variables instead.

About

Tiny proxy for your vagrant-driven VMs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published