Skip to content
moh-hassan edited this page Mar 16, 2024 · 2 revisions

Using Proxy Server

Configuring server:

Use the option --proxy <server>:<port> to configure your proxy server and port.

Example:

--proxy http://my.proxy.server:8888

Server should be prefixed by protocol http or https

Configuring user/password:

Use the option --proxy-user <user>:<password> to enter proxy user /password separated by colon :.

Example:

--proxy-user username:secret

If you are using Environment variable (eg PROXYPassword) to store both password , you can pass it like:

--proxy-user username:%PROXYPassword% in Windows

--proxy-user username:$PROXYPassword in Linux/MacOs

OS auto resolve these environment variables in the commandline and o2pgen read it.

Clone this wiki locally