Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ishioni/vyos-config
Managing my VyOS Router configuration
https://github.com/ishioni/vyos-config
Last synced: 4 months ago
JSON representation
Managing my VyOS Router configuration
- Host: GitHub
- URL: https://github.com/ishioni/vyos-config
- Owner: ishioni
- Created: 2023-12-26T21:09:50.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-03-04T10:52:21.000Z (4 months ago)
- Last Synced: 2024-03-04T12:04:52.816Z (4 months ago)
- Language: Shell
- Size: 182 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Lists
- awesome-stars - ishioni/vyos-config - Managing my VyOS Router configuration (Shell)
README
# vyos-config
My VyOS config.
Thanks to bjw-s for the framework for setting up VyOS in a iac/gitops fashion!
https://github.com/bjw-s/vyos-config# Setup
This is based on 1.4 - easiest if its modified with git (like onedr0ps image)
To install from live image, `install image` and follow prompts.
Get basic network running in installed image
Some good info here on setup/config concepts:
> https://blog.kroy.io/2020/05/04/vyos-from-scratch-edition-1/#Basic_Configuration
Use `commit-confirm` when doing things that might lock you out - this reboots in 10 mins by defualt if you dont enter `confirm` into the configure mode. As you haven't saved it, when it reboots it will pick up your last known working config.
## Vyos
```
configureset networks ethernet eth1 dhcp
set system name-server 1.1.1.1
``````
cd /config
mkdir secrets
```## Local
```
scp ~/.config/sops/age/keys.txt vyos@:/config/secrets/age.key
```## Vyos
```
git init
git remote add origin [email protected]:.git
git branch --set-upstream-to=origin/master master # not 100% certain this is required
git checkout master -f
git log
```scp age key to folder
```bash
scp ~/.config/sops/age/keys.txt vyos@:/config/secrets/age.txt
```