How to use XOR-patched OpenVPN `.ovpn` config on OpenWRT (Xiaomi AX3200, 23.05.5)?

Hi everyone,

I’m trying to use an XOR-patched OpenVPN config on my Xiaomi AX3200 router running OpenWRT 23.05.5. After days of searching, I haven’t found a working method.

Here’s what I know:

:white_check_mark: This config works perfectly on:

Now I want to run this XOR-patched .ovpn config on OpenWRT.

Here are my questions:

  1. Is it possible to run an XOR-patched OpenVPN client on OpenWRT?
  2. Can the OpenVPN binary on OpenWRT be patched or replaced to support --xor?
  3. Are there any prebuilt packages or feeds with XOR support?
  4. Is there a workaround like a wrapper script or plugin that enables XOR?
  5. Has anyone successfully run XOR-obfuscated OpenVPN on an OpenWRT device?

Thanks in advance for any advice or experience you can share!

I think you're on your own here. After reading https://tunnelblick.net/cOpenvpn_xorpatch.html, I'd say it's pretty unlikely that this patch would be accepted into OpenWrt given all the security concerns voiced there.

  1. Yes
  2. Yes you can compile them in, I have it compiled in my own build
  3. Not that I know of
  4. Not that I know of
  5. Yes I have

See: OpenVPN: scramble options to obfuscate openvpn traffic

install softethervpn5 (the dev version but stable NOT simple softhervpn LTS one) and follow:

1 Like