trying to follow this tutorial, i was not able to get fail2ban to work in my setup, so here is a gist in case I forget.
sudo apt install fail2bantrying to follow this tutorial, i was not able to get fail2ban to work in my setup, so here is a gist in case I forget.
sudo apt install fail2banThe first thing when you come to this topic is that when it comes to iptables, docker just behaves like a spoiled child that takes what (s)he want, although the child is been banned to do so.
In other words, as you may already know, by default, docker ignores any pre-existing iptables' rules when adding its own Chain in the tables. The result of this is a useless firewall when it comes to protecting the access to your services hosted in containers.
So, at the office, at the moment we had this problem we were migrating our projects into containers.
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.
| <# | |
| # Example of parsing web page and querying its content using CsQuery (jQuery port for .NET 4) | |
| # | |
| # 1. Download CsQuery nupkg file https://www.nuget.org/api/v2/package/CsQuery/1.3.4 | |
| # 2. Extract file "csquery.1.3.5-beta5.nupkg\lib\net40\CsQuery.dll" to preffered location | |
| #> | |
| using namespace CsQuery | |
| [System.Reflection.Assembly]::LoadFile('D:\Downloads\CsQuery.dll') | Out-Null |