Community discussions

MikroTik App
 
gianry
newbie
Topic Author
Posts: 48
Joined: Sun Mar 03, 2024 4:44 pm

Router Os 7.15.3 on Qnap Nas

Mon Jul 29, 2024 8:57 pm

Hi,
I own a Qnap nas with Celeron dual core Cpu
I'd like to use the router os own it to test as router my qnap.

I've the possibility to use Docker container and Virtualization station.

Please could you suggest me the best way to use the routerOs ?

thanks
 
User avatar
loloski
Member
Member
Posts: 420
Joined: Mon Mar 15, 2021 9:10 pm

Re: Router Os 7.15.3 on Qnap Nas

Tue Jul 30, 2024 6:37 pm

ROS is not possible to run on your QNAP device, if you truly want to experience ROS download CHR and buy a desired license for your use case and install it on your preferred virtualization platform like Proxmox,HyperV, and Vmware. Just wondering why you want to run ROS in your storage device though
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12979
Joined: Thu Mar 03, 2016 10:23 pm

Re: Router Os 7.15.3 on Qnap Nas

Tue Jul 30, 2024 8:19 pm

Just wondering why you want to run ROS in your storage device though

Because this way he'll be able to install ROSE package and turn his CHR into NAS :lol:.
 
User avatar
loloski
Member
Member
Posts: 420
Joined: Mon Mar 15, 2021 9:10 pm

Re: Router Os 7.15.3 on Qnap Nas

Tue Jul 30, 2024 9:37 pm

priceless :) interesting perfect!!
 
gianry
newbie
Topic Author
Posts: 48
Joined: Sun Mar 03, 2024 4:44 pm

Re: Router Os 7.15.3 on Qnap Nas

Thu Aug 01, 2024 2:24 pm

I've just installed Ros CHR in a virtual machine on my Qnap nas.

I thought it was possible to use Docker too.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6752
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Router Os 7.15.3 on Qnap Nas

Thu Aug 01, 2024 2:31 pm

Docker on CHR in VM on Qnap NAS ??
OK ... why not...

https://tangentsoft.com/mikrotik/wiki?n ... re+Not+VMs
(section: CHR Complications)
 
gianry
newbie
Topic Author
Posts: 48
Joined: Sun Mar 03, 2024 4:44 pm

Re: Router Os 7.15.3 on Qnap Nas

Thu Aug 01, 2024 4:06 pm

Docker on CHR in VM on Qnap NAS ??
OK ... why not...

https://tangentsoft.com/mikrotik/wiki?n ... +Not+VMs&p
(section: CHR Complications)
thanks for your reply but I'd like to know your opinion about the better solution.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6752
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Router Os 7.15.3 on Qnap Nas

Thu Aug 01, 2024 4:28 pm

The better solution ?
Don't put CHR in VM on QNAP.

I think some others already hinted into that direction...
 
gianry
newbie
Topic Author
Posts: 48
Joined: Sun Mar 03, 2024 4:44 pm

Re: Router Os 7.15.3 on Qnap Nas

Thu Aug 01, 2024 5:06 pm


Don't put CHR in VM on QNAP.
why ? I've just done and it works ...

do you mean Docker instead VM
 
holvoetn
Forum Guru
Forum Guru
Posts: 6752
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Router Os 7.15.3 on Qnap Nas

Thu Aug 01, 2024 6:58 pm

It's not because something can be done that you should do it.

Already to start it's crazy to install CHR in VM on Qnap.
Yes, you can do it.
Is it sensible to do so ? Not so much. Performance wise it's (to say it politely) not so smart.

And then you want to dive a virtualization level deeper using docker on that same CHR (which already runs inside a virtual environment on its own) ?
Put that docker container at least directly on Qnap then.
That last option might make more sense.

I also have some dockers running on my Synology.
I would never think about putting CHR on there.
 
gianry
newbie
Topic Author
Posts: 48
Joined: Sun Mar 03, 2024 4:44 pm

Re: Router Os 7.15.3 on Qnap Nas

Thu Aug 01, 2024 9:14 pm


Is it sensible to do so ? Not so much. Performance wise it's (to say it politely) not so smart.

And then you want to dive a virtualization level deeper using docker on that same CHR (which already runs inside a virtual environment on its own) ?
Put that docker container at least directly on Qnap then.
That last option might make more sense.

I also have some dockers running on my Synology.
I would never think about putting CHR on there.
I've just used a docker in my nas.

I read a lot of people are using the RouterOS on Proxmox system in a minipc hardware.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12979
Joined: Thu Mar 03, 2016 10:23 pm

Re: Router Os 7.15.3 on Qnap Nas

Fri Aug 02, 2024 7:05 am

RouterOS is a complete OS (including jernel and drivers) so it's not intended to be run inside a container. CHR is RouterOS variant intended to be run inside a VM (like Proxmox or Virtualization station) but expects to see certain type of (virtualized) hardware ... if virtualization engine can provide it, then fine.

Conceptually running ROS on a NAS device feels awkward (equally so does running NAS functionality on a router hardware). Sure it's possible ... as much as transporting people on a tractor trailer (instead of using a bus).
 
User avatar
tangent
Forum Guru
Forum Guru
Posts: 1656
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Router Os 7.15.3 on Qnap Nas

Fri Aug 02, 2024 11:23 am


I thank you for thinking of my article, @holvoetn, but I think it's misapplied in the context of this thread.

First, a nit: you'll want to remove the "&p" bit from the end of the bookmarks you have, as Fossil's latest anti-bot defenses consider this a "complicated" URL, forcing a redirect to a "honeypot" page meant to trap bots, keeping them from running up the CPU usage of the host to no good end. I don't know why Fossil puts that particular query parameter on /wiki URLs by default, but it doesn't help, and it does hurt now.

(The symptom is hidden from you, @holvoetn, because you have a login on my site, and presenting a valid login cookie bypasses this defense. When others click the URL, they get sent to the honeypot.)

Moving on to more substantial matters, while the container vs VM confusion is real, as my article goes to some pains to point out, QNAP offers both a VM feature (referenced by @mkx above, "Virtualization Station") and also a version of Docker Engine that they call Container Station. CHR should run on the first (didn't try it) but won't run on the second.

The proper application of my article's lessons here is, don't run containers on QNAP via CHR. Run them directly under Container Station instead.

As to the question of the wisdom of using a QNAP box as a router, the best objection I can come up with is, why would you want a one- or two-port router? Few QNAP boxes have more. There are other features in RouterOS besides just "routing," but then, QNAP's OSes provide a lot of that, too. (e.g. VPNs.) Dragging CHR into the mix is likely to add complexity without adding necessary features.

I could justify CHR on QNAP for homelabbing, with the free version, but not as a real router, pushing substantial flows.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6752
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Router Os 7.15.3 on Qnap Nas

Fri Aug 02, 2024 11:33 am

First, a nit: you'll want to remove the "&p" bit from the end of the bookmarks you have, as Fossil's latest anti-bot defenses consider this a "complicated" URL, forcing a redirect to a "honeypot" page meant to trap bots, keeping them from running up the CPU usage of the host to no good end. I don't know why Fossil puts that particular query parameter on /wiki URLs by default, but it doesn't help, and it does hurt now.
Corrected in the first occurence :D
 
gianry
newbie
Topic Author
Posts: 48
Joined: Sun Mar 03, 2024 4:44 pm

Re: Router Os 7.15.3 on Qnap Nas

Wed Aug 07, 2024 11:38 pm

@tangent
@mkx


I bought a beautiful RB5009 , now begin the adventure in RouterOs

Who is online

Users browsing this forum: No registered users and 4 guests