TTV LOL PRO
V2
V2
  • 📑Knowledge Base
  • Must Read
    • 🔮How it works
    • 💻Proxy information
    • 💭FAQ
  • Information
    • 🔗Official Links
    • 📌Restricted Proxy Infrastructure
  • Guides
    • 💜Extension
      • 🔮Installation
      • 🤍Whitelisting a channel
      • 🖥️Adding a proxy
      • 🔧Troubleshooting
    • 🖥️Proxy
      • 🖇️Host your own proxy
  • Advanced
    • ⚙️Options page
    • 🔧Troubleshooting
Powered by GitBook
On this page
  • List of known ad-free countries
  • Step 1 - Creating your VM
  • Step 2 - Accessing the VM
  • Step 3 - Basic Initial Setup
  • Step 4 - Proxy Server Setup
  • Step 5 - Connecting to the proxy
  • Wrapping up

Was this helpful?

  1. Guides
  2. Proxy

Host your own proxy

This will be a simple tutorial on how to make your own proxy server on an ad-free country to prevent Twitch ads.

PreviousProxyNextOptions page

Last updated 1 month ago

Was this helpful?

Info: this guide contains affiliate links, which means that if you register and purchase something with my link, I'll be getting a small comission from the provider. This doesn't affect you in any way, and you just help me cover some of the public proxies costs.

Important: please keep in mind through the whole tutorial that Twitch doesn't support the IPv6 protocol, thus you MUST have outbound IPv4 available for this to work. Inbound connections can be made using IPv6 without any issues, but you may need to readjust some squid settings for this to work, which we don't cover here.

Important: please do not follow this tutorial if your plan is to publicly host a server for people to use with TTV LOL PRO. If you want to contribute, you may contact us at Official Links and donate a few of your proxy connections and bandwidth for other users to use. We'll secure everything from our end so you don't need to worry about unwanted traffic, nor commercial break in progress ads.

Additionally, if you have an active VPN subscription with several concurrent connections available, that you don't need, you may also donate that for others to use securely.

Disclaimer: proxying through another country could open up a range of features that are not accessible in your region, including Predictions, Prime Subscriptions, or currency changes, among others. Please be aware that you take full responsibility for the content passing through your proxy or public ones. It's important to note that in certain countries, features like Predictions might be categorized as gambling, making them inappropriate for minors. If your country doesn't support these features, there are legitimate reasons for it. Stay informed and conduct online research accordingly.

About: this tutorial has been made using a very unreliable provider. Please use some other provider listed in the "Ad-free countries" section. The cheapest option is going with and using the promo code taTmJgVHDF which gives you a small discount to get a proxy server for less than $0.50 USD a month in Russia, and shared amongst other users. You can also skip this tutorial if you go this way.

Alternatively, if you don't want to bother with setting up your own proxy or dealing with providers, you can support our project and get access to the restricted proxy infrastructure available all around the world.

List of known ad-free countries

Ad-free country: no records of ads over the last 12 months.

Partially ad-free country: there's records of minimal ads in the last 12 months. Ranging from 1-2 ad(s).


Country
Tested
Comments
Recommended Provider

🇺🇦 Ukraine

Ad-free country.

🇷🇺 Russia

Ad-free country.

🇦🇱 Albania

Ad-free country.

🇵🇱 Poland

Ad-free country.

🇲🇩 Moldova

Ad-free country.

🇧🇾 Belarus

Ad-free country.

🇷🇸 Serbia

Ad-free country.

🇷🇴 Romania

Ad-free country.

🇮🇪 Ireland

Ad-free country.

🇱🇺 Luxembourg

Ad-free country.

🇱🇻 Latvia

Ad-free country.

🇱🇹 Lithuania

Ad-free country.

🇪🇪 Estonia

Ad-free country.

🇧🇬 Bulgaria

Ad-free country.

🇸🇰 Slovakia

Ad-free country.

🇸🇮 Slovenia

Ad-free country.

🇧🇪 Belgium

Ad-free country.

🇮🇸 Iceland

Ad-free country.

🇵🇹 Portugal

Ad-free country.

🇭🇷 Croatia

Ad-free country.

🇲🇰 North Macedonia

Ad-free country.

🇬🇪 Georgia

Ad-free country.

🇦🇲 Armenia

Ad-free country.

🇰🇿 Kazakhstan

Ad-free country.

🇸🇨 Seychelles

Ad-free country.

🇦🇪 United Arab Emirates

Ad-free country.

🇪🇬 Egypt

Partially ad-free country.

🇮🇱 Israel

Partially ad-free country.

🇰🇷 South Korea

Twitch is not available in this region, thus is ad-free. Limited to 720p stream.

Step 1 - Creating your VM


Firstly, we need to create our instance. Once you've logged in and added some account balance, go to Servers -> New Instance.

Once you're there, set a random hostname you'd like, leave 🇷🇺 Moscow as the region and select Debian 11 (also known as Bullseye) as the image. You can use whatever Linux distro you like the most, but this tutorial focuses on Debian 11 specifically, so results may vary with other Linux distros.

Proceed to select the flavor you'd like (the cheapest one should work just fine, but if you want more power, go ahead!) and leave the rest as default. You can now deploy your instance.

Step 2 - Accessing the VM


After you've done the above steps, you will be able to log in into your VM. Proceed to open a Command Prompt (Or Windows Terminal) window: Execute the following command: ssh root@server-ip. Remember to replace server-ip with your server IP address, which you can find in your Servers control panel.

Once done, it will prompt for the root password. Check your email to get your root password. If that password doesn't work, go back to your Instances page in your browser and change it under the Security tab.

Step 3 - Basic Initial Setup


After you've logged in, proceed to update your package repositories and upgrade the needed packages. Execute the following command: apt update && apt upgrade -y

Once the update process finishes, lets setup auto-updates so you don't need to worry about the server anymore. Execute the following command: apt install unattended-upgrades -y

Now let's enable it! Execute the following command: dpkg-reconfigure --priority=low unattended-upgrades and proceed to agree to Automatically download and install stable updates.

Info: if you're prompted to install an updated version of the package's config, proceed to select the first option (install the package maintaner's version)

Step 4 - Proxy Server Setup


We'll be installing the software squid for it to act as our proxy server. To install it, execute the following command: apt install squid -y

Once you're here, you can take the more or less secure route of configuring your proxy server.

Alternatively, you could also set up password-based authentication for the proxy server, but that goes outside the scope of this tutorial. Please follow the following guide if you'd like to set up password-based authentication.

Following with the tutorial, you can change the default port that the proxy listens to. This can make your proxy more "secure" (security over obscurity), preventing servers on the internet port checking and possibly adding you to a public proxy list. Execute the following the command: nano /etc/squid/squid.conf

Once you're editing the file, press Ctrl + W and search for http_port 3128

Change the 3128 port value to some random number value between 1025 - 65535

Save the file by pressing Ctrl + X then pressing Y then Enter

Proceed to restart the squid service with the following command: service squid restart This will take a while, please be patient.

Step 5 - Connecting to the proxy


And you're all set! You can now add your proxy server in your Extension's Options page!

Please use the following syntax: server-ip:squidport

Alternatively, you can provide the extension with authentication credentials if you've configured squid with a password using the following syntax: youruser:yourpassword@server-ip:squidport

Wrapping up


With this tutorial, you've managed to set up your own custom proxy server, using specific rules to make it work only for what's intended to be used for.

Important: this tuturial covers the basics of setting up automatic updates on your Linux server. Please follow alternative tutorials, such as the one linked right below, to harden your Linux server.

Important: please keep a regular reboot schedule of your server, for example once a month to ensure latest updates are applied and cache cleanup.

(promo code: taTmJgVHDF), , ,

(promo code: taTmJgVHDF), , , , , , , ,

(premium),

(promo code: taTmJgVHDF), (premium), , ,

(promo code: taTmJgVHDF), ,

(promo code: taTmJgVHDF)

(promo code: taTmJgVHDF), ,

(promo code: taTmJgVHDF), (premium), ,

(promo code: taTmJgVHDF), , , ,

(premium)

(promo code: taTmJgVHDF), ,

(promo code: taTmJgVHDF), (premium), (premium), ,

(promo code: taTmJgVHDF), , ,

(promo code: taTmJgVHDF), (premium),

(premium)

(promo code: taTmJgVHDF),

(promo code: taTmJgVHDF), ,

(promo code: taTmJgVHDF), ,

(promo code: taTmJgVHDF)

(promo code: taTmJgVHDF), ,

(promo code: taTmJgVHDF), ,

(promo code: taTmJgVHDF)

(promo code: taTmJgVHDF), ,

(promo code: taTmJgVHDF)

(promo code: taTmJgVHDF),

(promo code: taTmJgVHDF)

Secure

You'll be allowing to use the proxy to a limited amount of IP addresses, making it more secure, but less convinient if you have a dynamic IP address.

Proceed to edit the squid.conf file. Execute the following the command: nano /etc/squid/squid.conf

Once you're editing the file, press Ctrl + W and search for http_access deny all

Here's all the lines for you to copy and paste:

squid.conf
# Twitch ACL for video-weaver.*.hls.ttvnw.net
acl twitch dstdom_regex video-weaver\.\w+\.hls\.ttvnw\.net

# Twitch ACL for playlist.live-video.net
acl twitchplaylist dstdom_regex \w+\.playlist\.live-video\.net

# Twitch ACL for playlist.ttvnw.net
acl twitchplaylist2 dstdom_regex [a-z0-9-]+\.playlist\.ttvnw\.net

# Twitch ACL for usher.ttvnw.net
acl twitchusher dstdomain usher.ttvnw.net

# Twitch ACL for gql.twitch.tv
acl twitchgql dstdomain gql.twitch.tv

# Twitch ACL for passport.twitch.tv
acl twitchpassport dstdomain passport.twitch.tv

# Twitch ACL for www.twitch.tv
acl twitchwww dstdomain www.twitch.tv

# Allow rules for your public IP address

acl myip src your_ip
http_access allow myip twitch
http_access allow myip twitchplaylist
http_access allow myip twitchplaylist2
http_access allow myip twitchusher
http_access allow myip twitchgql
http_access allow myip twitchpassport
http_access allow myip twitchwww
Less Secure

You'll be allowing to use the proxy to an unlimited amount of IP addresses, making it less secure, but more convenient if you don't have an static IP address. You'll also restrict the proxy server to only allow what we need to.

Proceed to edit the squid.conf file. Execute the following the command: nano /etc/squid/squid.conf

Once you're editing the file, press Ctrl + W and search for http_access deny all

Add the following lines before http_access deny all as shown in the screenshot.

Here's all the lines for you to copy and paste.

squid.conf
# Twitch ACL for video-weaver.*.hls.ttvnw.net
acl twitch dstdom_regex video-weaver\.\w+\.hls\.ttvnw\.net
http_access allow twitch

# Twitch ACL for playlist.live-video.net
acl twitchplaylist dstdom_regex \w+\.playlist\.live-video\.net
http_access allow twitchplaylist

# Twitch ACL for playlist.ttvnw.net
acl twitchplaylist2 dstdom_regex [a-z0-9-]+\.playlist\.ttvnw\.net
http_access allow twitchplaylist2

# Twitch ACL for usher.ttvnw.net
acl twitchusher dstdomain usher.ttvnw.net
http_access allow twitchusher

# Twitch ACL for gql.twitch.tv
acl twitchgql dstdomain gql.twitch.tv
http_access allow twitchgql

# Twitch ACL for passport.twitch.tv
acl twitchpassport dstdomain passport.twitch.tv
http_access allow twitchpassport

# Twitch ACL for www.twitch.tv
acl twitchwww dstdomain www.twitch.tv
http_access allow twitchwww

Add the following lines before http_access deny all as shown in the screenshot. Remember to replace your_ip with your Public IPv4 address ()

🖥️
🖇️
✅
⚠️
what's my ip?
proxy6.net
hostiko.com.ua
justhost.ru
4vps.su
proxy6.net
time-host.net
aeza.net
robovps.biz
ruvds.com
justhost.ru
kvmka.ru
deephost.pw
4vps.su
albahost.net
4vps.su
proxy6.net
skhron.com.ua
hostiko.com.ua
justhost.ru
4vps.su
proxy6.net
justhost.ru
ava.hosting
proxy6.net
proxy6.net
kvmka.ru
deephost.pw
proxy6.net
hosteroid.uk
rarecloud.io
justhost.ru
proxy6.net
racknerd.com
colocrossing.com
justhost.ru
4vps.su
BuyVM
proxy6.net
justhost.ru
4vps.su
proxy6.net
bacloud.com
hosteroid.uk
justhost.ru
4vps.su
proxy6.net
justhost.ru
hostslim.eu
4vps.su
proxy6.net
alphavps.com
justhost.ru
hosteroid.uk
proxy6.net
justhost.ru
proxy6.net
justhost.ru
4vps.su
justhost.ru
proxy6.net
justhost.ru
4vps.su
4vps.su
4vps.su
proxy6.net
proxy6.net
justhost.ru
4vps.su
proxy6.net
ruvds.com
own.tn
proxy6.net
proxy6.net
justhost.ru
4vps.su
proxy6.net
proxy6.net
justhost.ru
proxy6.net
Proxy6
Get access to the restricted infrastructure
How to Set Up Squid Proxy for Private Connections on Debian 11 | DigitalOceanDigitalOcean
Recommended Security Measures to Protect Your Servers | DigitalOceanDigitalOcean
Logo
Logo
Creating your new Virtual Machine Instance
Initial configuration before deploying
Initial configuration before deploying
Initial SSH access to your VM
Upgrading system packages
Installing unattended-upgrades package
Configuring the unattended-upgrades package
Configuring the unattended-upgrades package
Installing our proxy server software
Editing the squid config file
Editing the squid config file
Editing the squid default port number value