2014년 2월 8일 토요일

fedora 20 port 열기

# yum install iptables-services
# iptables -I INPUT 1 -p tcp --dport 1000 -j ACCEPT
# service iptables save 
# systemctl mask firewalld.service
# systemctl enable iptables.service
 
check
 
vi /etc/sysconfig/iptables
 
출처: http://blog.naver.com/PostView.nhn?blogId=jxs2&logNo=110147025566
 
https://fedoraproject.org/wiki/FirewallD#Using_static_firewall_rules_with_the_iptables_and_ip6tables_services

댓글 1개:

  1. # iptables -I INPUT 1 -p tcp --dport 81 -j ACCEPT

    # systemctl start firewalld.service

    답글삭제

소포클레스 오이디푸스왕 중

    source: https://www.translatum.gr/forum/index.php?topic=33648.0     μὴ φῦναι τὸν ἅπαντα νικᾷ λόγον: τὸ δ᾽, ἐπεὶ φανῇ, βῆναι κεῖθεν ὅθεν...