OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • Missing rc.conf
« previous next »
  • Print
Pages: [1]

Author Topic: Missing rc.conf  (Read 722 times)

9axqe

  • Full Member
  • ***
  • Posts: 203
  • Karma: 4
    • View Profile
Missing rc.conf
« on: May 14, 2024, 01:22:42 pm »
I know too little about freeBSD and I'm struggling a bit here.

I want to setup a cloudflare tunnel which is launched at startup, which requires cloudflared.

The instructions I found say:

Code: [Select]
vi /etc/rc.conf
add:

Code: [Select]
cloudflared_enable="YES"
cloudflared_mode="tunnel --no-autoupdate run --post-quantum --token your_token_here"

but there is no "rc.conf" file (anymore?) and hence I feel these instructions are outdated.

Should I store these lines in an "/etc/rc.conf.d/cloudflared" file rather?
Logged

Monviech (Cedrik)

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: 178
    • View Profile
Re: Missing rc.conf
« Reply #1 on: May 14, 2024, 01:48:08 pm »
Yes that will work.
Logged
Hardware:
DEC740

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17709
  • Karma: 1618
    • View Profile
Re: Missing rc.conf
« Reply #2 on: May 14, 2024, 01:49:08 pm »
You can use /etc/rc.conf without any issue. We don't create one by default because it's empty and unused. This makes sure we never ever mess with user settings there.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • Missing rc.conf
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2