Skip to content

jeffrade/proxy-server

Repository files navigation

proxy-server

About

Initialization scripts for setting up a Linux machine as a DIY proxy server. This is still a WIP and not fully automated.

Install

$ aws configure
$ export AWS_HOSTED_ZONE_ID=my-host-id # Substitute your values
$ export AWS_HOST_NAME=proxy.example.me # Substitute your values
$ export S3_BUCKET_NAME=my-s3-bucket # Substitute your values
$ git clone https://github.com/jeffrade/proxy-server.git
$ cd proxy-server
$ bash install.sh

Note: There are a series of prompts, so you'll have to sit through the installation. nginx configuration will need to be manually updated with your domain (hard-coded to example.com).

What does this do?

  • Installs fail2ban
  • Installs pi-hole
  • Installs nginx
  • Installs certbot for TLS/SSL Let's Encrypt certificates
  • Installs AWS Route53 DNS updater
  • Installs AWS S3 Glacier uploader
  • Dockerize this? [TODO]

Troubleshooting

  • If installing pihole alongside nginx, it is strongly recommended to change the pihole server.port to something other than 80 (nginx and certbot installation is known to fail).
  • If you have aws installed with keys that can access Route53, export your AWS_HOSTED_ZONE_ID and AWS_HOST_NAME.
  • Feel free to open an issue.
  • Pull Requests welcomed.

About

Put your linux machine to work

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages