Last active
December 20, 2015 22:28
-
-
Save denny0223/6204770 to your computer and use it in GitHub Desktop.
Fedora 19 Release Party - FirewallD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--withborder | |
--center Fedora 19 Release Party | |
--center FirewallD | |
--author Denny Huang | |
--date today | |
--newpage | |
--withborder | |
--heading Who am I? | |
--- | |
- SITCON | |
- http://sitcon.org | |
--- | |
- TTUCSC | |
- http://goo.gl/X086X | |
--newpage | |
--heading SITCON | |
--withborder | |
--- | |
SITCON HackGen | |
--- | |
SITCON 2014 | |
--- | |
SITCON Workshop | |
--newpage | |
--heading FirewallD? | |
--withborder | |
--newpage | |
--heading Check status | |
--withborder | |
--- | |
--beginshelloutput | |
# firewall-cmd --state | |
running | |
--endshelloutput | |
--- | |
--beginshelloutput | |
# firewall-cmd --list-all | |
public | |
interfaces: em1 | |
sources: | |
services: mdns dhcpv6-client ssh | |
. | |
. | |
--endshelloutput | |
--newpage | |
--heading Add permanent port | |
--withborder | |
--- | |
--beginshelloutput | |
# firewall-cmd --permanent --add-port=5901/tcp | |
--endshelloutput | |
--- | |
--beginslideleft | |
--boldon | |
Remember! | |
--boldoff | |
--endslideleft | |
--- | |
--beginshelloutput | |
# firewall-cmd --reload | |
--endshelloutput | |
--newpage | |
--heading Add port | |
--withborder | |
--- | |
--beginshelloutput | |
# firewall-cmd --add-port=12345/tcp | |
--endshelloutput | |
--newpage | |
--heading Remove permanent port | |
--withborder | |
--- | |
--beginshelloutput | |
# firewall-cmd --permanent --remove-port=5900/tcp | |
--endshelloutput | |
--- | |
--boldon | |
--center DO NOT Forget to Reload! | |
--boldoff | |
--newpage | |
--withborder | |
--heading Reference | |
--center https://fedoraproject.org/wiki/FirewallD | |
--newpage | |
--withborder | |
--center ###### ####### # # ####### | |
--center # # # ## ## # # | |
--center # # # # # # # # # | |
--center # # ##### # # # # # | |
--center # # # # # # # | |
--center # # # # # # # | |
--center ###### ####### # # ####### | |
--newpage | |
--withborder | |
--center _____ ____ ______ | |
--center /\ __`\ /| _ \ /\ _ \ | |
--center \ \ \/\ \ |/\ | \ \ \L\ \ | |
--center \ \ \ \ \ \// __`\/\ \ \ __ \ | |
--center \ \ \\'\\ /| \L> <_ \ \ \/\ \ | |
--center \ \___\_\ | \_____/\/ \ \_\ \_\ | |
--center \/__//_/ \/____/\/ \/_/\/_/ | |
--center | |
--- | |
--center THE END! | |
--center Thanks for your listening |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment