{"id":21833,"date":"2021-03-07T01:01:08","date_gmt":"2021-03-07T06:01:08","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/tcp-wrappers-in-linux-centos-redhat-fedora-unix-linux-gnu-linux-linux-gnu-linux-gnu-linux-linux-gnu-linux-devops-everything-linux-rhcsa\/"},"modified":"2021-03-07T01:01:08","modified_gmt":"2021-03-07T06:01:08","slug":"tcp-wrappers-in-linux-centos-redhat-fedora-unix-linux-gnu-linux-linux-gnu-linux-gnu-linux-linux-gnu-linux-devops-everything-linux-rhcsa","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=21833","title":{"rendered":"TCP Wrappers in Linux\/CentOS\/Redhat\/Fedora #Unix\/Linux #GNU\/Linux #Linux #GNU\/Linux #GNU\/Linux #Linux #GNU\/Linux #DevOps #Everything Linux #RHCSA"},"content":{"rendered":"<p>yum info tcp_wrappers<\/p>\n<p>yum install tcp_wrappers-devel.x86_64<br \/>\n506 reboot<br \/>\n507 ifdown ens33<br \/>\n508 ifup ens33<br \/>\n509 yum install tcp_wrappers-devel.x86_64<br \/>\n510 yum -y install tcp_wrappers-devel.x86_64<br \/>\n511 ls \/var\/ftp\/pub\/Packages\/<br \/>\n512 ls \/etc\/yum.repos.d\/local.repo<br \/>\n513 vim \/etc\/yum.repos.d\/local.repo<br \/>\n514 systemctl status vsftpd<br \/>\n515 systemctl start vsftpd<br \/>\n516 systemctl enable vsftpd<br \/>\n517 yum -y install tcp_wrappers-devel.x86_64<br \/>\n518 cat \/etc\/hosts.allow<br \/>\n519 cat \/etc\/hosts.deny<br \/>\n520 two config files as above. hosts.allow will be consulted first and then hosts.deny is consulted<br \/>\n521 the format of the file content: service: user@source pc<br \/>\n522 service examples: All, All Except, sshd, vsftpd, sshd. multiple services can be given in one line with commas<br \/>\n523 user@source pc examples can be: All, just an IP, 192.168.1.1 Local, subnet: 192.168.0.0\/24, network address with except host like: 192.168.0 except 192.168.0.25. multiple host can be given &#8211; comma separated. user1@192.168.1.1<br \/>\n524 the above content will serve the purpose of the file. if the content is found on the allow file &#8211; that services and user and pc will be allowed. if the content is written in the .deny file &#8211; corresponding user, service, pc will be denied<br \/>\n525 exit<br \/>\n526 history From: http:\/\/sitestree.com\/?p=12057<br \/> Categories:Unix\/Linux, GNU\/Linux, Linux, GNU\/Linux, GNU\/Linux, Linux, GNU\/Linux, DevOps, Everything Linux, RHCSA<br \/>Tags:<br \/> Post Data:2017-12-24 21:23:56<\/p>\n<p>\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\">https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\t(Big Data, Cloud, Security, Machine Learning): Courses: <a href='http:\/\/Training.SitesTree.com' target='new' rel=\"noopener\"> http:\/\/Training.SitesTree.com<\/a><br \/>\n\t\tIn Bengali: <a href='http:\/\/Bangla.SaLearningSchool.com' target='new' rel=\"noopener\">http:\/\/Bangla.SaLearningSchool.com<\/a><br \/>\n\t\t<a href='http:\/\/SitesTree.com' target='new' rel=\"noopener\">http:\/\/SitesTree.com<\/a><br \/>\n\t\t8112223 Canada Inc.\/JustEtc: <a href='http:\/\/JustEtc.net' target='new' rel=\"noopener\">http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) <\/a><br \/>\n\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com'> https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\tMedium: <a href='https:\/\/medium.com\/@SayedAhmedCanada' target='new' rel=\"noopener\"> https:\/\/medium.com\/@SayedAhmedCanada <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>yum info tcp_wrappers yum install tcp_wrappers-devel.x86_64 506 reboot 507 ifdown ens33 508 ifup ens33 509 yum install tcp_wrappers-devel.x86_64 510 yum -y install tcp_wrappers-devel.x86_64 511 ls \/var\/ftp\/pub\/Packages\/ 512 ls \/etc\/yum.repos.d\/local.repo 513 vim \/etc\/yum.repos.d\/local.repo 514 systemctl status vsftpd 515 systemctl start vsftpd 516 systemctl enable vsftpd 517 yum -y install tcp_wrappers-devel.x86_64 518 cat \/etc\/hosts.allow 519 cat \/etc\/hosts.deny &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=21833\">Continue reading<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1917],"tags":[],"class_list":["post-21833","post","type-post","status-publish","format-standard","hentry","category-fromsitestree-com","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":14029,"url":"http:\/\/bangla.sitestree.com\/?p=14029","url_meta":{"origin":21833,"position":0},"title":"TCP Wrappers in Linux\/CentOS\/Redhat\/Fedora","author":"Sayed","date":"December 24, 2017","format":false,"excerpt":"TCP Wrappers in Linux\/CentOS\/Redhat\/Fedora yum info tcp_wrappers yum install tcp_wrappers-devel.x86_64 506 reboot 507 ifdown ens33 508 ifup ens33 509 yum install tcp_wrappers-devel.x86_64 510 yum -y install tcp_wrappers-devel.x86_64 511 ls \/var\/ftp\/pub\/Packages\/ 512 ls \/etc\/yum.repos.d\/local.repo 513 vim \/etc\/yum.repos.d\/local.repo 514 systemctl status vsftpd 515 systemctl start vsftpd 516 systemctl enable vsftpd 517 yum\u2026","rel":"","context":"In &quot;\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix&quot;","block_context":{"text":"\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix","link":"http:\/\/bangla.sitestree.com\/?cat=1231"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":67586,"url":"http:\/\/bangla.sitestree.com\/?p=67586","url_meta":{"origin":21833,"position":1},"title":"Create your own yum repo in Centos\/Redhat #DevOps #RHCSA","author":"Author-Check- Article-or-Video","date":"July 25, 2021","format":false,"excerpt":"Yum is a software installation manager for Redhat Linux and Related. yum is a better tool than rpm. Here, we will take the rpm packages as come with Redhat\/Centos and then we will host those packages on our own Repo Server for yum. i.e. yum will use this Repo to\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14013,"url":"http:\/\/bangla.sitestree.com\/?p=14013","url_meta":{"origin":21833,"position":2},"title":"Centos\/Redhat \u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f yum \u0987\u09a8\u09cd\u09b8\u099f\u09b2\u09be\u09b0 \u09b8\u09be\u09b0\u09cd\u09ad\u09be\u09b0 \u0995\u09bf\u09ad\u09be\u09ac\u09c7 \u0995\u09a8\u09ab\u09bf\u0997\u09be\u09b0 \u0995\u09b0\u09ac\u09c7\u09a8","author":"Sayed","date":"December 7, 2017","format":false,"excerpt":"Centos\/Redhat \u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f yum \u0987\u09a8\u09cd\u09b8\u099f\u09b2\u09be\u09b0 \u09b8\u09be\u09b0\u09cd\u09ad\u09be\u09b0 \u0995\u09bf\u09ad\u09be\u09ac\u09c7 \u0995\u09a8\u09ab\u09bf\u0997\u09be\u09b0 \u0995\u09b0\u09ac\u09c7\u09a8 Mount Installer ISO mkdir \/mnt\/dvd1 mount \/dev\/sr0 \/mnt\/dvd1 Check if FTP server is installed systemctl status vsftpd systemctl start vsftpd Install ftp Server. Using rpm as yum is not available yet [default yum needs the internet, kindof] cd \/mnt\/dvd1\/Packages\/ rpm -ivh\u2026","rel":"","context":"In &quot;\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix&quot;","block_context":{"text":"\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix","link":"http:\/\/bangla.sitestree.com\/?cat=1231"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14031,"url":"http:\/\/bangla.sitestree.com\/?p=14031","url_meta":{"origin":21833,"position":3},"title":"Network Interface, Network Clients related Linux\/Redhat\/CentOS commands","author":"Sayed","date":"December 24, 2017","format":false,"excerpt":"echo \"Dec 24th, 2017\" 532 echo \"Basic Networking in Linux\" 533 hostname 534 uname -a 535 uname -n 536 cat \/etc\/hostname 537 nmcli general hostname 538 changing hostname temporarily 539 hostname server10.example.com 540 for permanent change 541 hostnamectl set-hostname server100.example.com 542 or change \/etc\/hostname file 543 vim \/etc\/hostname 544 restart\u2026","rel":"","context":"In &quot;\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix&quot;","block_context":{"text":"\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix","link":"http:\/\/bangla.sitestree.com\/?cat=1231"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":67594,"url":"http:\/\/bangla.sitestree.com\/?p=67594","url_meta":{"origin":21833,"position":4},"title":"Network Interface, Network Clients related Linux\/Redhat\/CentOS commands #DevOps #RHCSA","author":"Author-Check- Article-or-Video","date":"July 25, 2021","format":false,"excerpt":"echo \"Dec 24th, 2017\" 532 echo \"Basic Networking in Linux\" 533 hostname 534 uname -a 535 uname -n 536 cat \/etc\/hostname 537 nmcli general hostname 538 changing hostname temporarily 539 hostname server10.example.com 540 for permanent change 541 hostnamectl set-hostname server100.example.com 542 or change \/etc\/hostname file 543 vim \/etc\/hostname 544 restart\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14034,"url":"http:\/\/bangla.sitestree.com\/?p=14034","url_meta":{"origin":21833,"position":5},"title":"NTP related commands\/Linux","author":"Sayed","date":"December 24, 2017","format":false,"excerpt":"598 echo \"dec 24th, 2017\" 599 echo \"NTP Client\" 600 yum list ntp 601 yum list installed |grep ntp 602 To activate ntp 603 yum -y install ntp system-config-date 604 cat \/etc\/ntp.conf 605 grep ^server \/etc\/ntp.conf 606 systemctl restart ntpd 607 systemctl enable ntpd 608 systemctl start ntpd 609 ntpq\u2026","rel":"","context":"In &quot;\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix&quot;","block_context":{"text":"\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix","link":"http:\/\/bangla.sitestree.com\/?cat=1231"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/21833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21833"}],"version-history":[{"count":0,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/21833\/revisions"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21833"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}