Skip to content

phorge-fr/Network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetConf

Phorge logo

NetConf is the network configuration files & OpenTofu plans for the PCI Core Infrastructure

Setup

Setting up router for the first time

Requirements:

  1. Prepare the configuration
  • Line 21: Modify pin number
  • Line 47: Change user & password
  1. Reset the router
ssh admin@192.168.88.1 /system/reset-configuration

Make sure that the router loads the Official default configuration so you can SSH into the router

  1. Upload the DPK:
scp defaults/Phorge.dpk admin@192.168.88.1:/
ssh admin@192.168.88.1 /system/reboot
  1. Apply the default configuration
scp defaults/base_configuration.rsc admin@192.168.88.1:/
ssh admin@192.168.88.1 import base_configuration.rsc

The SSH connection might fail due to DHCP & IP configuration being modified

  1. Verify configuration
ssh user@ip export

Setting up OpenTofu

Requirements:

  1. Prepare your environment file (.env)
cp .env.example .env

And edit the variables

  1. Init the OpenTofu configuration
tofu init
  1. Plan the configuration
source .env && tofu plan -var-file=config.tfvars

About

Network configuration files & OpenTofu plans for @phorge-fr

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published