Is it possible to have multiple duplicates of the same service?

AMomchilov

Cadet
Joined
Aug 16, 2022
Messages
4
For example, I use the OpenVPN service.

I like using the L2 protocol (TAP) for my laptops, in order to support things like mDNS.
However, iOS and Android don't support that, so I'd want a second OpenVPN service that uses the L3 protocol (TUN).

I don't see a way to duplicate the items in the services list. Is there a way?

Of course I could just set up my own instances without the GUI, but I was just looking to see if there was a blessed way.
 

AMomchilov

Cadet
Joined
Aug 16, 2022
Messages
4
Hey Homer, thanks for taking the time to write back.

I was aware that I could manually configure this, but I was just hoping to stay on the "blessed path" using the GUI tools where possible.

If anything, so that finding support would be easier (I feat if I just install it myself but run into issues, It'll be recieved like "you installed this, you're on your own lol")
 

homer27081990

Patron
Joined
Aug 9, 2022
Messages
321
Hey Homer, thanks for taking the time to write back.

I was aware that I could manually configure this, but I was just hoping to stay on the "blessed path" using the GUI tools where possible.

If anything, so that finding support would be easier (I feat if I just install it myself but run into issues, It'll be recieved like "you installed this, you're on your own lol")
You don't have to install it yourself, just change the config to instantiate multiple servers. I know it's not very clearly put, but here.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
As a more general note, the answer is "no", although you can spin up extras in jails/containers for Core/Scale, respectively.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I'm sure you could fiddle enough with the system to get multiple instances of a service to run, with the amount of work depending on the exact service. I'm also sure it would be an unmaintainable mess once the TrueNAS middleware and updates enter the picture.
 

homer27081990

Patron
Joined
Aug 9, 2022
Messages
321
I'm sure you could fiddle enough with the system to get multiple instances of a service to run, with the amount of work depending on the exact service. I'm also sure it would be an unmaintainable mess once the TrueNAS middleware and updates enter the picture.
First of all, I forgot to say "hello!" before, so, hello! :smile: Maybe it would be better to spin up a Linux VM instead?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Well, for most scenarios I'd say a jail or Linux container would suffice. No need to have a separate kernel running.
 

AMomchilov

Cadet
Joined
Aug 16, 2022
Messages
4
Well, for most scenarios I'd say a jail or Linux container would suffice.

Hey Eric, are you suggesting that I install the (community maintained) OpenVPN plugin inside a jail, and do that twice (once for TAP, and once for TUN)?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I'd be careful with the word "plugin", since the quasi-official plugins don't have the best of reputations. But following the standard guides should work well.
 
Top