Date: 2012oct3
OS: Linux
Distro: pre Fedora22
Warning: Basically obsolete info. Use firewalld if available.
Q. How can I configure my firewall when logged in thru a terminal window?
A. The service is called iptables -- not firewall or anything similar.
Fedora 22 and later, this is different.
CONFIGURE
You can modify file /etc/sysconfig/iptables and do
systemctl restart iptables
Or use the text-based GUI:
system-config-firewall-tui
Install that via:
yum install system-config-firewall-tui
ENABLE
If you want it to start when the machine boots:
systemctl enable iptables
LIST
To see the current rules:
iptables -L