Page 2 of 2

Re: tls-crypt and DPI bypass?

Posted: Fri Aug 28, 2020 11:56 am
by TinCanTech
Replay warning are not something to worry about. They are just a part of life with UDP.

If your connection fails then you have something to worry about ..

Re: tls-crypt and DPI bypass?

Posted: Wed Oct 21, 2020 7:48 am
by godaddy
Anyone here able to get this to work on iOS in the Emirates? I mean the OpenVPN App.

Re: tls-crypt and DPI bypass?

Posted: Sat Apr 24, 2021 8:34 pm
by kelleci
Sorry for very late response.I have never checked this topic bu here it is:

Client config:

Code: Select all

client
dev tun
proto udp
remote YOUR SERVER IP 443
resolv-retry infinite
nobind
persist-key
persist-tun
<ca>
-----BEGIN CERTIFICATE-----
CA CERT INPUT
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
USER CERT INPUT
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
USER KEY INPUT
-----END PRIVATE KEY-----
</key>
remote-cert-tls server
cipher AES-256-GCM
<tls-crypt>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
TLSCRYPT INPUT
-----END OpenVPN Static key V1-----
</tls-crypt>
verb 3
scramble obfuscate YOUR XOR SECRET CODE
Server Config:

Code: Select all

port 443
proto udp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server/SERVERIP.crt
key /etc/openvpn/server/SERVERIP.key
dh /etc/openvpn/server/dh.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist /etc/openvpn/ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 1.1.1.1"
push "dhcp-option DNS 1.0.0.1"
#push "dhcp-option DNS 10.8.0.1"
keepalive 10 120
cipher AES-256-GCM
tls-crypt /etc/openvpn/tls-crypt.key
persist-key
persist-tun
status openvpn-status.log
verb 3
scramble obfuscate YOUR XOR SECRET CODE
#comp-lzo stub
You can use below tutorial to config both server and client side:
https://shenzhensuzy.wordpress.com/2019 ... xor-patch/

Of course you have to compile xorpatched version for server.For client side windows, mac and android are fine for xor.No clients for ios yet.

Re: tls-crypt and DPI bypass?

Posted: Sat Apr 24, 2021 11:31 pm
by TinCanTech
@ kelleci -- Very nice article, thanks for your work 8-)

Otherwise, If the XOR patch does not work for you then you could also try Easy-TLS

Easy-TLS offers infinite client TLS-Crypt-V2 keys and some other tricks as well ;)