Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 2.34 KB

README.md

File metadata and controls

80 lines (56 loc) · 2.34 KB

OpenRport logo

OpenRPort UI alpha

Manage remote systems with ease


discord chat

OpenRport screenshoots

OpenRport UI

Welcome to the new UI of OpenRport, an open-source remote server manager without the hassle of VPNs. This project is designed using Nuxt 3 to create a seamless and responsive user interface for managing remote systems securely.

Getting started


Install

git clone [email protected]:openrport/openrport-ui.git
cd openrport-ui
yarn install

Configuration

Start to fill out your env file. The most import variable is NUXT_API_URL That should be the url of your OpenRPort instance.

cp .env.example .env
yarn dev

Cors configuration

During the developement to allow cross-origin resource sharing (CORS) for all domain in the OpenRport back-end, you need to modify rportd.config file. This is useful because in development your front-end is on different domain than your back0end.

  1. Open your rportd.conf file (path: /etc/rport/rportd.conf).
  2. In the [api] section, locate or add the cors settings.
  3. Update the setting to allow all origins by setting it to *:
[api]
# Other configurations

## Allowed origins for cross-origin requests.
cors = ["*"]

This configuration will enable requests from all domains, which is useful for development purposes. For production, it's recommended to specify a list of allowed domains or leave it empty.

  1. Save the changes and restart OpenRport service to apply the new configuration:
sudo systemctl restart rportd

Credits