{"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>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>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>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>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>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>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><\/p>\n\n\n\n<p>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>I hope this helps<\/p>\n\n\n\n<p>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_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}},"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_featured_media_url":"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-12.png","jetpack-related-posts":[{"id":1977,"url":"https:\/\/dialer.one\/index.php\/how-to-secure-vicidial-correctly-part-1\/","url_meta":{"origin":2307,"position":0},"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":2378,"url":"https:\/\/dialer.one\/index.php\/table-of-contents\/","url_meta":{"origin":2307,"position":1},"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":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":2703,"url":"https:\/\/dialer.one\/index.php\/how-to-enable-and-use-password-encryption-in-vicidial\/","url_meta":{"origin":2307,"position":4},"title":"How to &#8211; enable and use password encryption in ViciDial","author":"carpenox","date":"September 6, 2022","format":false,"excerpt":"\u00a0This article is going to go over how to enable and use password encryption in ViciDial. By default passwords are displayed in plain text in the ViciDial Admin GUI, this will show you how to encrypt those.","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/09\/image-4.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/09\/image-4.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/09\/image-4.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1008,"url":"https:\/\/dialer.one\/index.php\/check-out-our-live-demo-free\/","url_meta":{"origin":2307,"position":5},"title":"Check out our live demo free!","author":"carpenox","date":"September 12, 2020","format":false,"excerpt":"Check out our live demo and sign up for a follow-up call to see if you have any questions.","rel":"","context":"In &quot;CyburDial&quot;","block_context":{"text":"CyburDial","link":"https:\/\/dialer.one\/index.php\/category\/cyburdial\/"},"img":{"alt_text":"CyburDIal Admin","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2024\/01\/Admin-dark-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2024\/01\/Admin-dark-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2024\/01\/Admin-dark-2.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2024\/01\/Admin-dark-2.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2024\/01\/Admin-dark-2.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2024\/01\/Admin-dark-2.png?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_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}]}}