> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oculusproxies.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Set Up Oculus Proxies on Ubuntu

> Enhance your workflows on Ubuntu! Integrate Oculus Proxies to route your terminal-based commands and applications securely through proxies. This setup ensures privacy, allows access to geo-specific resources, and improves your connection’s anonymity. Follow this guide to configure Oculus Proxies on your Ubuntu system.

<img src="https://mintcdn.com/oculus/XI2JBeMQxG7WxDVb/integration-guides/img/oculus_integrations/Ubuntu.png?fit=max&auto=format&n=XI2JBeMQxG7WxDVb&q=85&s=fcee992be8f99df79d2a0377ada45e99" alt="title" width="720" height="200" data-path="integration-guides/img/oculus_integrations/Ubuntu.png" />

<Tip>
  If you're using **Oculus** to access search engines like **Google, Bing, or Yandex** and facing connection issues, the proxy type could be the reason. **ISP Premium Proxies** ensure stable and unrestricted access, preventing blocks that standard proxies might encounter. Switching to **ISP Premium Proxies** can help maintain smooth and reliable performance.
</Tip>

## Setting Up Proxies on Ubuntu

<Steps>
  <Step title="Open the Terminal">
    1\. Launch the terminal on your Ubuntu system.

    2\. You can quickly open it using the keyboard shortcut **Ctrl+Alt+T**.
  </Step>

  <Step title="Set Up 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](https://oculusproxies.com/dashboard/page/plans).

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

    ```bash theme={null}
    export http_proxy="http://[USERNAME]:[PASSWORD]@[HOST]:[PORT]"
    export https_proxy="http://[USERNAME]:[PASSWORD]@[HOST]:[PORT]"
    ```

    For SOCKS5 proxies, use this format:

    ```bash theme={null}
    export socks_proxy="socks5://[USERNAME]:[PASSWORD]@[HOST]:[PORT]"
    ```
  </Step>

  <Step title="Test the Proxy Configuration">
    Verify that your proxy setup is functioning correctly.

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

    ```bash theme={null}
    curl http://httpbin.org/ip
    ```

    2\. The output should display the IP address assigned by **Oculus Proxies**.
  </Step>

  <Step title="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:

    ```bash theme={null}
    nano ~/.bashrc
    ```

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

    ```bash theme={null}
    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:

    ```bash theme={null}
    source ~/.bashrc
    ```
  </Step>
</Steps>

**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.
