--- # This is an example of a good profile in "proxy" mode # This mode is useful if you have an existing config file for `sslocal` # or if you want maximum flexibility # Mandatory # Specifies "proxy" mode mode: "proxy" # Optional # The name of this profile # Defaults to current directory's name if unset display_name: "Example Profile (proxy mode)" # Optional # The working directory of `sslocal` # Defaults to the currently directory of this YAML file if unset #pwd: "." # Optional # Absolute path to the `sslocal` binary # Defaults to looking up `sslocal` in $PATH if unset #bin_path: "/usr/bin/sslocal" # Mandatory # Must contain exactly two values in this order local_addr: - "::" # bind address, `0.0.0.0` == "All IPv4", `::` == "All IPv6 & IPv4" - 1080 # port number # Mandatory # Must contain exactly two values in this order server_addr: - "www.example.org" # server address - 443 # port number # Mandatory password: "foobar" # Mandatory encrypt_method: "aes-256-gcm" # Optional # A list of extra arguments passed to `sslocal` # Defaults to `[]` (empty) extra_args: - "--single-threaded"