Setting Up Proxies on Ubuntu

Follow these steps to configure Oculus Proxies on your Ubuntu system:

Step 1. Open Your Terminal

Launch the terminal on your Ubuntu system. You can press Ctrl+Alt+T to open it quickly.

Step 2. Set Proxy Environment Variables

Define the environment variables to route your traffic through Oculus Proxies.

1. Replace [HOST], [PORT], [USERNAME], and [PASSWORD] with your Oculus Proxy details from the Oculus Dashboard.

2. Run the following commands for HTTP and HTTPS proxies:

export http_proxy="http://[USERNAME]:[PASSWORD]@[HOST]:[PORT]"
export https_proxy="http://[USERNAME]:[PASSWORD]@[HOST]:[PORT]"

For SOCKS5 proxies, use this format:

export socks_proxy="socks5://[USERNAME]:[PASSWORD]@[HOST]:[PORT]"

Step 3. Verify Your Proxy Configuration

Test your proxy setup to ensure it is working correctly.

1. Use the following command to check your IP address:

curl http://httpbin.org/ip

2. The output should display the IP address assigned by Oculus Proxies.

Step 4. Make Proxy Settings Persistent (Optional)

To keep the proxy settings active across sessions, you can add them to your .bashrc file.

1. Open the .bashrc file located in your home directory using a text editor:

 nano ~/.bashrc

2. Append the following lines to the end of the file:

export http_proxy="http://[USERNAME]:[PASSWORD]@[HOST]:[PORT]"
export https_proxy="http://[USERNAME]:[PASSWORD]@[HOST]:[PORT]"
export socks_proxy="socks5://[USERNAME]:[PASSWORD]@[HOST]:[PORT]"

3. Save the file by pressing Ctrl+O, then Enter, and exit with Ctrl+X.

4. Apply the changes immediately by reloading the .bashrc file:

source ~/.bashrc

You’re All Set! With Oculus Proxies integrated into your Ubuntu system, you can perform terminal tasks securely and anonymously. Whether you’re running automated scripts, managing servers, or accessing restricted content, Oculus Proxies ensure a smooth, private, and reliable experience.