Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Environment Variables
« previous
next »
Print
Pages: [
1
]
Author
Topic: Environment Variables (Read 2521 times)
TotalGriffLock
Newbie
Posts: 25
Karma: 1
Environment Variables
«
on:
February 11, 2021, 03:34:19 pm »
Is there are 'correct' way to set environment variables in OPNSense which persist across upgrades? At the moment I am adding them to the [environment] section of /usr/local/opnsense/service/conf/configd.conf but this gets wiped out with every upgrade.
If not, once this .conf file is edited is there a way to process/apply settings added without a reboot?
«
Last Edit: February 11, 2021, 04:35:51 pm by jgriffith-ecs
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Environment Variables
«
Reply #1 on:
February 12, 2021, 09:15:37 am »
Hi,
We never had to adjust the configd behaviour on the user side before. What kind of vars are you looking for?
Cheers,
Franco
Logged
TotalGriffLock
Newbie
Posts: 25
Karma: 1
Re: Environment Variables
«
Reply #2 on:
February 12, 2021, 10:13:00 am »
Proxy variables. I run 7 OPNSense firewalls in an environment which is 99% isolated, the only internet access out is via an unauthenticated HTTP proxy.
Very similar situation to this person:
https://forum.opnsense.org/index.php?topic=3833.0
«
Last Edit: February 12, 2021, 10:16:57 am by jgriffith-ecs
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Environment Variables