RStudio Server only accessible from remote when port 8787 is world accessible (doesn't work only for a subnet)

Hi all, first post here and first steps with RStudio Server (the free edition to be clear), so forgive me if I'm missing somthing.

I have made an RStudio Server installation on Ubuntu that has a public IP address, all ok.

Now the idea is that the platform should be accessible only from machines belonging to a specific subset of IPs (and the server also belong to the same subset) using a VPN (to avoid having the login page exposed to all world).

So for that I'm trying configuring UFW and I was thinking about a rule like

Anywhere ALLOW IN 193.136.216.0/24

or

80 ALLOW IN 193.136.216.0/24

This was sent by mistake before finishing write it. It can be removed. I already posted a complete one. Thanks!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.