Wednesday, May 9, 2018

RHEL TCP/IP Enable

By default, Redhat will have TCP/IP connections blocked. I used the following commands to open some ports for TCP/IP connections.

 > firewall-cmd --zone=dmz --add-port=1861/tcp --permanent 

Repeat this command with [public,home] in the <zone> option. There is a chance that a different default zone is being used. Check firewalld.conf to see which zone is default, and make sure to enable it for that.

The port number is whatever port you want to have open for connections, and --permanent will make this change... permanent. Leave this option out if you only want a temporary connection for testing. You'll need to run > firewall-cmd --reload to have these changes take effect.

No comments:

Post a Comment

Accessing Repositories for Fedora behind Proxy

By default, even when specifying the proxy address/port user/pwd, Fedora will likely complain about SSL certificates being invalid. In the ...