Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Adding Interfaces (NIC) via API and/or configctl
« previous
next »
Print
Pages: [
1
]
Author
Topic: Adding Interfaces (NIC) via API and/or configctl (Read 2100 times)
brixo
Newbie
Posts: 1
Karma: 0
Adding Interfaces (NIC) via API and/or configctl
«
on:
February 21, 2020, 03:29:21 pm »
Hi all,
Just getting to grips with OPNSense after a long time with pfSense, mainly due to the view that it will have a full API for all features at some point in the future.
I am trying to figure what breaks and gets overwritten if I start messing with .conf files for services or stuff like interfaces etc. Do I edit the /conf/config.xml file? Do I edit files directly?
Initially, I just want to add new interfaces/IP addresses by *not* using the GUI. Am I best using confctl (if so, how), as I cannot see anything in the API to do this yet?
Any pointers are appreciated.
Logged
random1104
Jr. Member
Posts: 79
Karma: 0
Re: Adding Interfaces (NIC) via API and/or configctl
«
Reply #1 on:
September 20, 2021, 11:47:40 pm »
Reviving the post...
I would like to setup the following through CLI:
- Create a VLAN
- Assign/Create an Interface
- Setup CARP
- Create aliases
- Configure firewall rules
- Configure outgoing NAT
- Install FRR
- Enable FRR config replication
- Setup BGP
- Setup BFD
Is configctl the tool for the task?
«
Last Edit: September 21, 2021, 12:12:17 am by random1104
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Adding Interfaces (NIC) via API and/or configctl