OPNsense Firewall XML Config Automated Git

๐Ÿ’ก OPNsense Firewall XML Config Automated Git โ€” Executive Summary

Technical architectural analysis, practical configuration manifests, and deployment instructions for OPNsense Firewall XML Config Automated Git.

Step0. Preparation (Github)
  • Create SSH Keypair
bash
mkdir opnsense
  ssh-keygen -f ~/opnsense/opnsense

  # ๊ณต๊ฐœํ‚ค ํด๋ฆฝ๋ณด๋“œ์— ๋ณต์‚ฌ
  cat ~/opnsense/opnsense.pub | pbcopy

  # ๊ฐœ์ธํ‚ค ํด๋ฆฝ๋ณด๋“œ์— ๋ณต์‚ฌ
  cat ~/opnsense/opnsense | pbcopy
  • Create backup repository

  • Allow all accounts

  • Register SSH public key in account settings

  • Allow repositories

  • Account Settings โ†’ Click Switch setting context to go to Organization Context
  • Deploy key Enable

  • Register public key in Deploy keys in Repository โ†’ Setting (enable Allow write access)

Step1. Install plugin
  • Install os-git-backup
Step2. Activate
References and Guidelines (NOTE)

System โ†’ Configuration โ†’ Backup

  • The address must follow the format: ssh://github.com/user_name/repo_name.git
  • Enter private key
  • User name: git
  • Force Push check

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *