My iptables rules (firewall) are preventing RStudio from running

I have Ubuntu 20.10 and RStudio 1.4.1106.

I have setup a VPN on my system and configured iptables to basically block everything that it is not passed through the VPN.

This prevents RStudio from starting up. When I open RStudio, only the menu bar is shown. The inside of the windows is completely white and no panels at all are shown. The command line does not show any error message.

If I reset my iptables rules and accept all connections with:

sudo iptables -F && sudo iptables -X
sudo iptables -P INPUT ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -P FORWARD ACCEPT

Then RStudio starts up again.

What connections I must allow for RStudio to correctly start-up?

Where can I find documentation on what connections must be allowed for RStudio to properly function?

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.