Jump to content

Dedicated server firewalld configuration


Recommended Posts

Posted (edited)

Hi,

 

I've just installed Emby on my dedicated server (CentOS 7) and configured my firewall :

 

firewall-cmd --zone=public --add-port=8096/tcp --permanent

firewall-cmd --zone=public --add-port=8920/tcp --permanent
 

But I can't I can't connect to http://servername:8096 or https://servername:8920

 

However it works fine when I do :

ssh user@servername -L 8888:localhost:8096

 

And then I connect without any issue to Emby interface through http://localhost:8096

 

I use the default Emby settings

 

 

598dc7c096086_emby.png

Edited by Arg
mastrmind11
Posted

Hi,

 

I've just installed Emby on my dedicated server (CentOS 7) and configured my firewall :

 

firewall-cmd --zone=public --add-port=8096/tcp --permanent

firewall-cmd --zone=public --add-port=8920/tcp --permanent

 

But I can't I can't connect to http://servername:8096 or https://servername:8920

 

However it works fine when I do :

ssh user@servername -L 8888:localhost:8096

 

And then I connect without any issue to Emby interface through http://localhost:8096

 

I use the default Emby settings

 

 

598dc7c096086_emby.png

Did you punch a hole in your router as well?

Posted

Did you punch a hole in your router as well?

 

I'm not sure I understand what you mean. It's a dedicated server, it doesn't belong to my local network.

Posted

I would suggest taking a look at our Connection Troubleshooter. Please try the steps listed there and let us know what works and what doesn't. Thanks !

Jdiesel
Posted

I'm not sure I understand what you mean. It's a dedicated server, it doesn't belong to my local network.

Who is your provider? Do they have a hardware firewall that is configured through the control panel in front of your server?

Posted

OK my bad, it seems the new firewalld rules didn't take effect. I made the changes again and it worked.

 

Sorry

Posted

Thanks for the feedback.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...