xray-on-openbsd(1) xray on openbsd xray-on-openbsd(1)

Because there is no TUN on OpenBSD, how we can bypass Russian restrictions in whole os? Answer is way easier then you may think.

  1. Get xray for OpenBSD (you can get it from here).
  2. Prepare config. If you use paid vpn subscription, you can just send it to deepseek, it will make working config for you.
  3. Launch it:
    term% xray -c /config/path/config.json
  4. Enable it in terminal using variable:
    export ALL_PROXY=socks5://127.0.0.1:1080
  5. Configure your browser, for example, user.js in firefox:
    user_pref("network.proxy.type", 1);
    user_pref("network.proxy.socks", "127.0.0.1");
    user_pref("network.proxy.socks_port", 1080);
    user_pref("network.proxy.socks_version", 5);
    user_pref("network.proxy.socks_remote_dns", true);
    user_pref("network.proxy.no_proxies_on", ".ru, .pw, 192.168.1.1");
November 10, 2026 ohmu