Ask Your Question
1

Configuring Firewall in Fedora 18

asked 2013-06-20 18:35:28 -0500

papaj gravatar image

Hello,

I am new to Fedora (just started to learn it this week) and I have managed to set up vsftpd so that my machine is an ftp server. The only problem that I am having is setting up my firewall to allow ftp. I can turn it on and ftp works but if I have to restart the machine it reverts back to being blocked and I have to set the firewall permission again. How can I permanently set the firewall to allow ftp?

Any help would be appreciated.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-06-20 20:41:23 -0500

Rabin gravatar image

If you use FirewallD then you can use the GUI utility to change the persistent Configuration. If you like to do it via the CLI, you should read the wiki page

https://fedoraproject.org/wiki/FirewallD

Basically you need to copy the zone file from /lib/firewalld to /etc/firewalld and apply your changes, this file will overwrite the system configuration

edit flag offensive delete link more
2

answered 2013-06-20 20:42:16 -0500

mattdm gravatar image

By default, the firewall configuration works on the in-memory running state. With the firewall-cmd command-line too, add --permanent to change to configuring the permanent config (you'll need to do one of both to make the change right away _and_ across reboots).

Or, in the GUI, change the little "Current View" dropdown.

edit flag offensive delete link more

Comments

There is a step by step instruction for the firewall and for the semanage to allow the port here https://ask.fedoraproject.org/question/32852/ssh-fails-to-connect-fedora-19/?answer=32859

erik gravatar imageerik ( 2013-12-08 22:28:43 -0500 )edit

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

Stats

Asked: 2013-06-20 18:35:28 -0500

Seen: 5,120 times

Last updated: Jun 20 '13