Skip to content

Instantly share code, notes, and snippets.

@oldman20
oldman20 / telegram-mtproxy.md
Created October 2, 2025 06:22 — forked from rameerez/telegram-mtproxy.md
Telegram Proxy How-To: complete and up-to-date MTProxy tutorial

How to set up a Telegram Proxy (MTProxy)

This tutorial will teach you how to set up a Telegram MTProxy on an Ubuntu 22.04 sever using AWS Lightsail, although you can use any other Linux distribution and cloud provider.

Using a Telegram proxy is a safe, easy and effective way of overcoming Telegram bans. It's useful, for example, to keep using Telegram under tyrannical regimes, or to circumvent judges' decisions to block Telegram.

Telegram proxies are a built-in feature in all Telegram apps (both mobile and desktop). It allows Telegram users to connect to a proxy in just one or two clicks / taps.

Telegram proxies are safe: Telegram sends messages using their own MTProto secure protocol, and the proxy can only see encrypted traffic – there's no way for a proxy to decrypt the traffic and read the messages. The proxy does not even know which Telegram users are using the proxy, all the proxy sees is just a list of IPs.

@oldman20
oldman20 / arch_sec_install.sh
Created February 11, 2023 12:51 — forked from Th3Whit3Wolf/arch_sec_install.sh
Install arch on btrfs(w/ swapfile) on luks with rEFInd bootloader
#!/bin/bash
# 0 - SSH
# This isn't necessary but if you ssh into the computer all the other steps are copy and paste
# Set a password for root
passwd
# Get network access
iwctl
"""
@oldman20
oldman20 / xrandr.sh
Created February 8, 2023 02:44 — forked from debloper/xrandr.sh
Add system unrecognized but monitor supported resolution in X
#!/bin/bash
# Copyright (c) 2021 Soumya Deb <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@oldman20
oldman20 / gist_markdown_examples.md
Last active February 8, 2023 12:28 — forked from ww9/gist_markdown_examples.md
Gist markdown examples
@oldman20
oldman20 / ubuntu-post-install-todo.md
Last active February 7, 2023 07:12 — forked from mirashif/ubuntu-post-install-todo.md
This is my to do list after Ubuntu/Linux install. Update & Upgrade is a must to do. Small tweaks and Themes are nice. Apps and extensions depend on your preference.

Update & Upgrade

  • [Recommended] Change to your local mirror first & update your system. Update is very important for any security patches or bug fixes.
    sudo apt update && sudo apt upgrade

Optional Online accounts and setups: