diff --git a/_config.yml b/_config.yml index 1b0f6fa..d0182c0 100644 --- a/_config.yml +++ b/_config.yml @@ -25,9 +25,7 @@ github_username: booboy # Build settings markdown: kramdown theme: minima -plugins: - - jekyll-feed -#collections: +collections: # 100-days-of-code: # output: true diff --git a/_layouts/post.html.sav b/_layouts/post.html.sav new file mode 100644 index 0000000..700ab71 --- /dev/null +++ b/_layouts/post.html.sav @@ -0,0 +1,15 @@ +--- +layout: default +--- +
+{{ content }} +
+ + diff --git a/_posts/2019-01-27-homelab-squid-proxy-libvirt.markdown b/_posts/2019-01-27-homelab-squid-proxy-libvirt.markdown new file mode 100644 index 0000000..800c0a9 --- /dev/null +++ b/_posts/2019-01-27-homelab-squid-proxy-libvirt.markdown @@ -0,0 +1,29 @@ +--- +layout: post +title: "homelab - squid proxy" +date: 2019-01-27 +categories: homelab +--- + +I am going to start writing more about some of the stuff that I build in my +homelab. So with the first post of 2019 here is a post about the latest vm, a +squid proxy. + +I use centos 7 as a template for most of the virtual machines I make. I work with centos +because its the most comfortable for me, and using rpm, yum, and dnf as the package +managers is straight forward. It really does not make a difference though to me personally. I just +want to be able to spin vms up quick and I am most familiar with this type +of os from my days working in system administration at various web hosts. + +Squid was always something that I wanted to setup but have never done before, +so I started light and just configured a basic proxy. Here are the links to the +files so if you want a basic libvirtd based squid setup, this can be used. You +may have to modify the Vagrantfile slightly if you want to use virtualbox or +not use a bridge as a second network interface. I leave that to you. Proxy all +the HTTP connections for science. + +Also, for a fun bonus read that inspired me to read up and learn more about +squid in particular is this really interesting write-up by Anthony Ferrara on how he hacked stackoverflow. I won't spoil how he gains admin acces +That writeup can be read [here](https://blog.ircmaxell.com/2012/11/anatomy-of-attack-how-i-hacked.html). + +Code for vagrant vm:[centos_squid_proxy](https://git.mcdevitt.tech/bpmcdevitt/homelab_scripts/tree/master/vagrant/centos_squid_proxy)