How to add payload in openvpn config

Hi everyone,

I’m trying to add a custom payload to my OpenVPN configuration or figure out another way to use it with a remote proxy. Here’s the payload I want to use:

GET wss://[host] HTTP/1.1[crlf]  
Host: [host][crlf]  
Upgrade: WebServer(Cloudflare)[crlf][crlf]
GET wss://[host] HTTP/1.1[crlf]Host: [host][crlf]Upgrade: WebServer(Cloudflare)[crlf][crlf]

Here are the details of my setup:

  • Remote Proxy: 104.21.65.55
  • Remote Port: 2086

I’d like to know:

  1. How to include this payload in my OpenVPN configuration file.
  2. If it’s not possible to directly include the payload, are there other methods to use this payload with OpenVPN and the specified remote proxy?

Any guidance or examples would be greatly appreciated. Thanks in advance!