{"id":2307,"date":"2022-01-31T14:12:14","date_gmt":"2022-01-31T19:12:14","guid":{"rendered":"https:\/\/cyburdial.net\/?p=2307"},"modified":"2024-12-05T19:13:33","modified_gmt":"2024-12-06T00:13:33","slug":"how-to-use-one-dynamic-portal-for-whitelisting-and-have-it-sync-across-an-entire-cluster","status":"publish","type":"post","link":"https:\/\/dialer.one\/index.php\/how-to-use-one-dynamic-portal-for-whitelisting-and-have-it-sync-across-an-entire-cluster\/","title":{"rendered":"How to &#8211; use one dynamic portal for whitelisting and have it sync across an entire cluster"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\" id=\"how-to-use-one-dynamic-portal-for-whitelisting-and-have-it-sync-across-an-entire-cluster\">How to &#8211; use one dynamic portal for whitelisting and have it sync across an entire cluster<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">This article will go over a method I have recently come up with in order to have your agents sign in through one <a href=\"https:\/\/dialer.one\/how-to-use-the-built-in-dynamic-portal-for-vicibox\/\" title=\"dynamic portal\">dynamic portal<\/a> and have their IP validated across all servers in the cluster.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-1-generate-a-ssh-key\">Step 1 &#8211; Generate a SSH key<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In your linux cli simply type &#8220;ssh-keygen&#8221; and just press enter for all default values with no password as shown below<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"504\" height=\"343\" sizes=\"auto, (max-width: 504px) 100vw, 504px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-11.png\" alt=\"ssh-keygen\" class=\"wp-image-2309\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-11.png 504w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-11-300x204.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-11-500x340.png 500w\" \/><figcaption>ssh-keygen<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-2-copy-the-ssh-key-to-the-other-servers-you-need-it-synced-to\">Step 2 &#8211; copy the ssh key to the other servers you need it synced to<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">ssh-copy-id -i ~\/.ssh\/id_rsa.pub 192.168.80.121 (replace IP with the servers Ip&#8217;s as you do each one)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Type yes and then enter the servers root password, do these steps for each server in your cluster<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"947\" height=\"224\" sizes=\"auto, (max-width: 947px) 100vw, 947px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-12.png\" alt=\"\" class=\"wp-image-2311\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-12.png 947w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-12-600x142.png 600w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-12-300x71.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-12-768x182.png 768w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-12-500x118.png 500w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-12-800x189.png 800w\" \/><figcaption>ssh-copy-id -i ~\/.ssh\/id_rsa.pub 192.168.80.121<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-3-rsync-the-dynamic-ip-firewall-list-to-the-other-servers\">Step 3 &#8211; rsync the Dynamic IP firewall list to the other servers<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Replace the IP&#8217;s with each one in your cluster and repeat this step for each<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Vicibox9 users use this command: \/usr\/bin\/rsync -a -e &#8220;ssh&#8221; \/tmp\/VB-DYNAMIC-tmp root@192.168.80.121:\/tmp\/<\/li><li>Vicibox10 users use this one: \/usr\/bin\/rsync -a -e &#8220;ssh&#8221; \/tmp\/dynamiclist-add-tmp root@192.168.80.121:\/tmp\/<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"735\" height=\"22\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-13.png\" alt=\"\" class=\"wp-image-2312\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-13.png 735w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-13-600x18.png 600w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-13-300x9.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-13-500x15.png 500w\" \/><figcaption>\/usr\/bin\/rsync -a -e &#8220;ssh&#8221; \/tmp\/dynamiclist-add-tmp root@192.168.80.121:\/tmp\/<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Step 4 &#8211; Now add a cronjob to have this done every minute with one line for each server as shown below<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>###Dynportal Sync<\/li><li>* * * * * \/usr\/bin\/rsync -a -e &#8220;ssh&#8221; \/tmp\/dynamiclist-add-tmp root@192.168.80.120:\/tmp\/<\/li><li>* * * * * \/usr\/bin\/rsync -a -e &#8220;ssh&#8221; \/tmp\/dynamiclist-add-tmp root@192.168.80.121:\/tmp\/<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"843\" height=\"81\" sizes=\"auto, (max-width: 843px) 100vw, 843px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-14.png\" alt=\"\" class=\"wp-image-2313\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-14.png 843w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-14-600x58.png 600w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-14-300x29.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-14-768x74.png 768w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-14-500x48.png 500w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-14-800x77.png 800w\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s all there is to it, now you can have your agents login through a single <a href=\"https:\/\/dialer.one\/how-to-use-the-built-in-dynamic-portal-for-vicibox\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"dynamic portal\">dynamic portal<\/a> and sync it through to all servers in your cluster.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I hope this helps<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Chris aka carpenox<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to &#8211; use one dynamic portal for whitelisting and have it sync across an entire cluster This article will go over a method I have recently come up with in order to have your agents sign in through one dynamic portal and have their IP validated across all servers in the cluster. Step 1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2311,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[96],"tags":[533,536],"class_list":["post-2307","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vicidial","tag-howto","tag-vicidial"],"jetpack_publicize_connections":[],"jetpack-related-posts":[{"id":2378,"url":"https:\/\/dialer.one\/index.php\/table-of-contents\/","url_meta":{"origin":2307,"position":0},"title":"Table of Contents &#8211; Knowledge Base","author":"carpenox","date":"March 7, 2022","format":false,"excerpt":"Welcome to my blog, some of you may know me from the ViciDial forums, I am carpenox and I am here to share my knowledge with everyone, for free!","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"CyburDial","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":1977,"url":"https:\/\/dialer.one\/index.php\/how-to-secure-vicidial-correctly-part-1\/","url_meta":{"origin":2307,"position":1},"title":"How to &#8211; Secure Vicidial, correctly. Part 1","author":"carpenox","date":"April 10, 2021","format":false,"excerpt":"How to - Secure Vicidial, correctly. Part 1 This article will show you how to secure Vicidial server correctly. This is definitely one of the topics, that I am asked about the most, so with that being said, this will be a multipart series with different \"layers\" of security from\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"secure vicidial","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/04\/image-13.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/04\/image-13.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/04\/image-13.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/04\/image-13.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/04\/image-13.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":2673,"url":"https:\/\/dialer.one\/index.php\/how-to-use-firewalld-via-command-line\/","url_meta":{"origin":2307,"position":2},"title":"How to &#8211; Use Firewalld via command line","author":"carpenox","date":"August 31, 2022","format":false,"excerpt":"Hopefully this will help a lot of you that end up just not using a firewall at all because it intimidates you not knowing how to use it correctly. Well, I've just eliminated that excuse, so now I want to see more of you securing your servers and dialer systems.\u2026","rel":"","context":"In &quot;CyburDial&quot;","block_context":{"text":"CyburDial","link":"https:\/\/dialer.one\/index.php\/category\/cyburdial\/"},"img":{"alt_text":"Robots trying to hack in","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/08\/robot-hackers-tryin-to-break-into-servers-2.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/08\/robot-hackers-tryin-to-break-into-servers-2.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/08\/robot-hackers-tryin-to-break-into-servers-2.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/08\/robot-hackers-tryin-to-break-into-servers-2.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":2394,"url":"https:\/\/dialer.one\/index.php\/how-to-setup-a-vicidial-cluster\/","url_meta":{"origin":2307,"position":3},"title":"How to &#8211; Setup a ViciDial Cluster","author":"carpenox","date":"March 12, 2022","format":false,"excerpt":"How to - Setup a ViciDial Cluster This article is going to go over the steps I suggest to take in order to setup a ViciDial Cluster. I do things a little different when it comes to this to prepare for worst case scenario that a server may have problems\u2026","rel":"","context":"In &quot;CyburDial&quot;","block_context":{"text":"CyburDial","link":"https:\/\/dialer.one\/index.php\/category\/cyburdial\/"},"img":{"alt_text":"ViciDial Cluster","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/03\/image-4.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/03\/image-4.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/03\/image-4.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/03\/image-4.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4086,"url":"https:\/\/dialer.one\/index.php\/how-to-setup-a-vicidial-cluster-with-scratch-installs\/","url_meta":{"origin":2307,"position":4},"title":"How to &#8211; Setup a ViciDial Cluster with scratch installs","author":"carpenox","date":"January 27, 2024","format":false,"excerpt":"How to - Setup a ViciDial Cluster with scratch installs This article is going to go over the steps I suggest to take in order to setup a ViciDial Cluster when using scratch install methods. I do things a little different when it comes to this to prepare for worst\u2026","rel":"","context":"In &quot;CyburDial&quot;","block_context":{"text":"CyburDial","link":"https:\/\/dialer.one\/index.php\/category\/cyburdial\/"},"img":{"alt_text":"Vicidial cluster","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/12\/image-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/12\/image-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/12\/image-2.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/12\/image-2.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1448,"url":"https:\/\/dialer.one\/index.php\/how-to-set-the-time-zone-for-php-and-db-in-the-reports-page-for-vicidial-or-cyburdial\/","url_meta":{"origin":2307,"position":5},"title":"How to &#8211; Set the time zone for PHP and DB in the reports page for Vicidial","author":"carpenox","date":"January 28, 2021","format":false,"excerpt":"How to - Set the time zone for PHP and DB in the reports page for Vicidial Syncing your time zone for ViciDial or CyburDial This is a pretty simple process, but if you are unfamiliar with linux, it can be quite overwhelming to figure out how to solve this\u2026","rel":"","context":"With 1 comment","block_context":{"text":"With 1 comment","link":"https:\/\/dialer.one\/index.php\/how-to-set-the-time-zone-for-php-and-db-in-the-reports-page-for-vicidial-or-cyburdial\/#comments"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/01\/image-3.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/01\/image-3.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/01\/image-3.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/01\/image-3.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-12.png","_links":{"self":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/2307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/comments?post=2307"}],"version-history":[{"count":0,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/2307\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media\/2311"}],"wp:attachment":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media?parent=2307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/categories?post=2307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/tags?post=2307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}