Manage remote systems with ease
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.
git clone [email protected]:openrport/openrport-ui.git
cd openrport-ui
yarn install
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
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.
- Open your
rportd.conf
file (path:/etc/rport/rportd.conf
). - In the
[api]
section, locate or add the cors settings. - 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.
- Save the changes and restart OpenRport service to apply the new configuration:
sudo systemctl restart rportd
- Thanks to Johan Cabeza for the great work on the design.