Ask Your Question

How can I whitelist some applications in firewalld before launching it ?

asked 2017-12-06 07:38:48 -0500

I want to allow ssh connections on a VPS using fedora before starting the firewall, therefore I cannot use the firewall-cmd commande to input firewall-cmd --add-service=ssh.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-12-06 09:02:53 -0500

robbiethek gravatar image
edit flag offensive delete link more

answered 2017-12-06 09:05:53 -0500

aeperezt gravatar image

You should add --permanent option to your command.

firewall-cmd --permanent --add-service=ssh

Good Luck

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-12-06 07:38:48 -0500

Seen: 56 times

Last updated: Dec 06 '17