Updated specific locations to be searchable, take a look at Las Vegas as an example.

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

19
Raspi 4 PIA Seedbox Setup Script
Post Flair (click to view more posts with a particular flair)
Post Body

Hey guys,

I wrote my first bash script today! I'm super excited and wanted to share it. It carries out the functions of downloading the PIA OpenVPN configuration files, creating an auth file and modifying a PIA .opvn to use it. It then connects to the PIA VPN server and detects key network information so you can SSH in remotely while connected to the VPN. It also installs deluge-console.

I'm open to critique and ideas to make it better, as right now it's designed to be used pretty much with a fresh install on a Raspi and no special networking rules in place.

Speaking of the networking, I am not 100% clear of how the iproute rules work. This part I am really interested in feedback on how to improve it/make it more secure from any of you. Here are the rules I'm referring to:

ip rule add table 128 from x.x.x.x.
ip route add table 128 to y.y.y.0/24 dev eth0
ip route add table 128 default via z.z.z.z

where; x.x.x.x = private IP address y.y.y.y/24 = network address / CIDR z.z.z.z = default gateway

With that being said, I wouldn't recommend anyone use this script to produce a seedbox and actively use it. It is a personal project related to this topic that I wanted to share and get input on.

Thanks all!

EDIT: It also doesn't account for errors, or anything going wrong...really.

Author
Account Strength
90%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
4,797
Link Karma
3,121
Comment Karma
1,656
Profile updated: 3 days ago
Posts updated: 7 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago