Skip to content

Proxy support #576

Open
Open

Description

@wuraxor

Hello, are there any plans about proxy support? Also, i have some drafts for socks5 support, but unsure about the architectural choices.

Activity

  1. bsergean commented on May 18, 2026

    @bsergean
    Collaborator

    There is a proxy example in the code -> IXWebSocketProxyServer.cpp

    $ ws proxy_server --help
    Proxy server
    Usage: ws proxy_server [OPTIONS]
    
    Options:
      -h,--help                   Print this help message and exit
      --port INT                  Port
      --host TEXT                 Hostname
      --remote_host TEXT          Remote Hostname
      -v                          Verbose
      --config_path TEXT:PATH(existing)
                                  Path to config data
      --pidfile TEXT              Pid file
      --cert-file TEXT:PATH(existing)
                                  Path to the (PEM format) TLS cert file
      --key-file TEXT:PATH(existing)
                                  Path to the (PEM format) TLS key file
      --ca-file TEXT:PATH(existing)
                                  Path to the (PEM format) ca roots file
      --ciphers TEXT              A (comma/space/colon) separated list of ciphers to use for TLS
      --tls                       Enable TLS (server only)
      --verify_none               Disable peer cert verification
      --disable-hostname-validation
                                  Disable validation of certificates' hostnames
    
    
  2. bsergean commented on May 18, 2026

    @bsergean
    Collaborator

    Can you make another for socks5 support (I have to admit I don't know what that is).

  3. wuraxor commented on May 19, 2026

    @wuraxor
    Author

    There is a proxy example in the code -> IXWebSocketProxyServer.cpp

    $ ws proxy_server --help
    Proxy server
    Usage: ws proxy_server [OPTIONS]
    
    Options:
      -h,--help                   Print this help message and exit
      --port INT                  Port
      --host TEXT                 Hostname
      --remote_host TEXT          Remote Hostname
      -v                          Verbose
      --config_path TEXT:PATH(existing)
                                  Path to config data
      --pidfile TEXT              Pid file
      --cert-file TEXT:PATH(existing)
                                  Path to the (PEM format) TLS cert file
      --key-file TEXT:PATH(existing)
                                  Path to the (PEM format) TLS key file
      --ca-file TEXT:PATH(existing)
                                  Path to the (PEM format) ca roots file
      --ciphers TEXT              A (comma/space/colon) separated list of ciphers to use for TLS
      --tls                       Enable TLS (server only)
      --verify_none               Disable peer cert verification
      --disable-hostname-validation
                                  Disable validation of certificates' hostnames
    

    I meant passing http(s) traffic through proxy, like curl --proxy option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions