Thanks to our government that is fighting with Telegram I can not access some Amazon/Google servers in US that I use in my work projects, so I had to set up Open VPN on one of my servers in Germany. Tried several bash scripts for VPN config, and here is the best one:
https://github.com/Nyr/openvpn-install
The script creates an *.ovpn file that you can then import into your Ubuntu connection manager and have a connection up and running in less than 10 minutes.
Лучше — же конечно поставить себе «Shadowsock» (https://github.com/shadowsocks/shadowsocks-libev.git) для сёрфинга, а для «Telegram» уже написанный «MTproto Proxy» на «Python» (желательно использовать с версией «3.X.X») «https://github.com/alexbers/mtprotoproxy.git» с поддержкой «IPv6». Обновляется намного чаще «C» версии…
Чем лучше?
Обходит легко «DPI» и намного быстрее обычного «OpenVPN» / «SSTP» / «L2TP» в несколько раз. Для использования в TUN/TAP, то лучше воспользоваться «SSTap» или же «TUN2SOCKS» (https://github.com/yinghuocho/gotun2socks). Могу скинуть в «GIT» статику сервера и клиента.
Если понадобится…
Скорость работы.