Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/mwood77/pf2opn

An in-browser pfsense to opnsense converter.
https://github.com/mwood77/pf2opn

firewall homelab opnsense pfsense

Last synced: 14 days ago
JSON representation

An in-browser pfsense to opnsense converter.

Lists

README

        

# pf2open

A simple pfsense to opnsense config mapper.

### Run it with docker:
```
docker run --name pf2opn -p 4200:80 -d mwood77/pf2opn:main
```

### Use it on the web:
- [`https://www.pf2opn.com`](https://www.pf2opn.com)

### Want to contirute?
- Read the [prerequisites](#prerequisites) and then proceed to [installation & running locally for development](#installation--running-locally-for-development)

## Development

### Prerequisites

1. Clone this repository
1. Download [NodeJS](https://nodejs.org/en)
1. Download [Angular's cli](https://angular.io/guide/setup-local#install-the-angular-cli)

### Installation & Running locally for development

1. `cd` into this repository
1. Run `npm i` to install project dependencies
1. Run `npm run start` to spool up a development server
1. Navigate to [`localhost:4200`](localhost:4200) to see the website. The application will automatically reload if you change any of the source files.

## Deployment

> [!IMPORTANT]
> These images are built in production mode. They are not suitable for development.

### Prerequisites (for Docker/Podman)

1. Clone this repository
2. Install [Docker](https://docs.docker.com/engine/install/) or [Podman](https://podman.io/docs/installation)

### Deployment via Docker or Podman

1. `cd` into this repository
1. Run `docker compose up`
1. Navigate to [`localhost:4200`](localhost:4200) to see the website.

#### Alternative:
1. Build docker image:
```
docker build -t pf2opn .
```
1. Run docker image:
```
docker run -p 4200:80 -d pf2opn
```
1. Navigate to [`localhost:4200`](localhost:4200) to see the website.