ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Updated - Connecting to 1 Site With Separate Logins/Several IPs

    IT Discussion
    rdp rdp sessions
    12
    73
    4.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @wrx7m
      last edited by

      @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

      @scottalanmiller It is this one, right? http://www.squid-cache.org/

      Correct

      1 Reply Last reply Reply Quote 1
      • wrx7mW
        wrx7m
        last edited by

        Would multiple Vultr instances be a good platform for this? Can I just deploy a custom Fedora iso and install Squid on these without an additional firewall in front of them? Also, I have to do at least 4; how can I create a template or clone for initial deployment and any future additions?

        JaredBuschJ scottalanmillerS 4 Replies Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @wrx7m
          last edited by

          @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

          Would multiple Vultr instances be a good platform for this? Can I just deploy a custom Fedora iso and install Squid on these without an additional firewall in front of them? Also, I have to do at least 4; how can I create a template or clone for initial deployment and any future additions?

          make a snapshot or backup in Vultr and then deploy new instance from it.

          1 Reply Last reply Reply Quote 2
          • scottalanmillerS
            scottalanmiller @wrx7m
            last edited by

            @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

            Can I just deploy a custom Fedora iso and install Squid on these without an additional firewall in front of them?

            Why would you use a customer ISO?

            wrx7mW 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @wrx7m
              last edited by

              @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

              Also, I have to do at least 4; how can I create a template or clone for initial deployment and any future additions?

              The install script would be like a one liner once you have a standard. Just copy that one liner into Vultr's script list and have it run on install. You only have more complexity if you use the custom ISO instead of their managed image service.

              wrx7mW 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @wrx7m
                last edited by

                @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

                Would multiple Vultr instances be a good platform for this?

                Yup

                1 Reply Last reply Reply Quote 1
                • wrx7mW
                  wrx7m @scottalanmiller
                  last edited by wrx7m

                  @scottalanmiller said in Connecting to 1 Site With Separate Logins/Several IPs:

                  @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

                  Can I just deploy a custom Fedora iso and install Squid on these without an additional firewall in front of them?

                  Why would you use a customer ISO?

                  Based on other discussions, I thought that the Vultr-provided ISOs were outdated or otherwise not desirable for deployment.

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • wrx7mW
                    wrx7m @scottalanmiller
                    last edited by

                    @scottalanmiller said in Connecting to 1 Site With Separate Logins/Several IPs:

                    @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

                    Also, I have to do at least 4; how can I create a template or clone for initial deployment and any future additions?

                    The install script would be like a one liner once you have a standard. Just copy that one liner into Vultr's script list and have it run on install. You only have more complexity if you use the custom ISO instead of their managed image service.

                    Where can I get more info on the one liner with options to customize?

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @wrx7m
                      last edited by

                      @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

                      Based on other discussions, I thought that the Vultr-provided ISOs were outdated or otherwise not desirable for deployment.

                      That's correct. Using their ISOs is something you'd never do. But why talk about ISOs at all? You don't use ISOs in normal cloud, that's a really obscure thing done for VPS usage for very specific tasks like FreePBX installs where it is an appliance, not an application.

                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @wrx7m
                        last edited by

                        @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

                        @scottalanmiller said in Connecting to 1 Site With Separate Logins/Several IPs:

                        @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

                        Also, I have to do at least 4; how can I create a template or clone for initial deployment and any future additions?

                        The install script would be like a one liner once you have a standard. Just copy that one liner into Vultr's script list and have it run on install. You only have more complexity if you use the custom ISO instead of their managed image service.

                        Where can I get more info on the one liner with options to customize?

                        You just write it. For example, the base install is something like...

                        dnf -y install squid-cache 
                        

                        That's it. But you might want more, like enabling it.

                        dnf -y install squid-cache; systemctl enable squid-cache
                        

                        Like that.

                        wrx7mW 1 Reply Last reply Reply Quote 1
                        • wrx7mW
                          wrx7m @scottalanmiller
                          last edited by

                          @scottalanmiller said in Connecting to 1 Site With Separate Logins/Several IPs:

                          @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

                          @scottalanmiller said in Connecting to 1 Site With Separate Logins/Several IPs:

                          @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

                          Also, I have to do at least 4; how can I create a template or clone for initial deployment and any future additions?

                          The install script would be like a one liner once you have a standard. Just copy that one liner into Vultr's script list and have it run on install. You only have more complexity if you use the custom ISO instead of their managed image service.

                          Where can I get more info on the one liner with options to customize?

                          You just write it. For example, the base install is something like...

                          dnf -y install squid-cache 
                          

                          That's it. But you might want more, like enabling it.

                          dnf -y install squid-cache; systemctl enable squid-cache
                          

                          Like that.

                          OK. I would be looking for a more complete template. Something more "cookie-cutter" for deployment that would require the least amount of work for subsequent deployments.

                          travisdh1T 1 Reply Last reply Reply Quote 0
                          • travisdh1T
                            travisdh1 @wrx7m
                            last edited by travisdh1

                            @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

                            @scottalanmiller said in Connecting to 1 Site With Separate Logins/Several IPs:

                            @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

                            @scottalanmiller said in Connecting to 1 Site With Separate Logins/Several IPs:

                            @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

                            Also, I have to do at least 4; how can I create a template or clone for initial deployment and any future additions?

                            The install script would be like a one liner once you have a standard. Just copy that one liner into Vultr's script list and have it run on install. You only have more complexity if you use the custom ISO instead of their managed image service.

                            Where can I get more info on the one liner with options to customize?

                            You just write it. For example, the base install is something like...

                            dnf -y install squid-cache 
                            

                            That's it. But you might want more, like enabling it.

                            dnf -y install squid-cache; systemctl enable squid-cache
                            

                            Like that.

                            OK. I would be looking for a more complete template. Something more "cookie-cutter" for deployment that would require the least amount of work for subsequent deployments.

                            That is getting you a working proxy. Foo you want to customise it? Then that takes more work.

                            @scottalanmiller I'd add the -now switch for systemctl.

                            dnf -y install squid-cache; systemctl enable --now  squid-cache
                            
                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @travisdh1
                              last edited by

                              @travisdh1 two hyphens.

                              travisdh1T 1 Reply Last reply Reply Quote 1
                              • JaredBuschJ
                                JaredBusch @scottalanmiller
                                last edited by

                                @scottalanmiller said in Connecting to 1 Site With Separate Logins/Several IPs:

                                @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

                                Based on other discussions, I thought that the Vultr-provided ISOs were outdated or otherwise not desirable for deployment.

                                That's correct. Using their ISOs is something you'd never do. But why talk about ISOs at all? You don't use ISOs in normal cloud, that's a really obscure thing done for VPS usage for very specific tasks like FreePBX installs where it is an appliance, not an application.

                                Slow down and think from start to finish before typing..

                                There is no "appliance" for Squid.
                                c2798420-4b61-45c5-be64-028b54089bab-image.png

                                For this use case, the Fedora choice is likely the best.
                                6f7955e2-654e-4e86-b3d9-1e7dc620e79f-image.png

                                Does it have more bits installed than he needs compared to a manual Minimal install? Probably, but not enough to matter.

                                @wrx7m I always, 100%, start from minimal when I write guides because I never know where the reader will be starting from. Don't conflate something like that with setting up an application server.

                                scottalanmillerS 3 Replies Last reply Reply Quote 1
                                • scottalanmillerS
                                  scottalanmiller @JaredBusch
                                  last edited by

                                  @JaredBusch said in Connecting to 1 Site With Separate Logins/Several IPs:

                                  @scottalanmiller said in Connecting to 1 Site With Separate Logins/Several IPs:

                                  @wrx7m said in Connecting to 1 Site With Separate Logins/Several IPs:

                                  Based on other discussions, I thought that the Vultr-provided ISOs were outdated or otherwise not desirable for deployment.

                                  That's correct. Using their ISOs is something you'd never do. But why talk about ISOs at all? You don't use ISOs in normal cloud, that's a really obscure thing done for VPS usage for very specific tasks like FreePBX installs where it is an appliance, not an application.

                                  Slow down and think from start to finish before typing..

                                  There is no "appliance" for Squid.

                                  Exactly, which is why I pointed out that the appliance approach was wrong.

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @JaredBusch
                                    last edited by

                                    @JaredBusch said in Connecting to 1 Site With Separate Logins/Several IPs:

                                    For this use case, the Fedora choice is likely the best.

                                    Yup, absolutely.

                                    1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @JaredBusch
                                      last edited by

                                      @JaredBusch said in Connecting to 1 Site With Separate Logins/Several IPs:

                                      Does it have more bits installed than he needs compared to a manual Minimal install? Probably, but not enough to matter.

                                      Also deploys way faster, and has extra hooks that can be pretty nice. Like the ability to inject keys and build scripts as part of the build process. It's very light, not the lightest, but that's not really desireable in a case like this. "Reasonably" light but with the right tools is best. You can always remove an unwanted component if you so desire.

                                      1 Reply Last reply Reply Quote 1
                                      • travisdh1T
                                        travisdh1 @JaredBusch
                                        last edited by

                                        @JaredBusch said in Connecting to 1 Site With Separate Logins/Several IPs:

                                        @travisdh1 two hyphens.

                                        Fixed, ty.

                                        1 Reply Last reply Reply Quote 0
                                        • wrx7mW
                                          wrx7m
                                          last edited by wrx7m

                                          Update-

                                          So far, I have 2 vultr instances running squid. I used a snapshot of the first, to deploy the second. I have setup postfix for notifications by fail2ban and dnf-automatic. I also setup the firewall and squid settings to only allow connections from our WAN IP range and set the proxy to only allow access to certain domains that were specific to this project. I mostly have the servers ready to go.

                                          I tried a Chrome extension called sessionbox. They have a paid version that allows you to run multiple proxy servers in different sessions with color coded tabs. Unfortunately, it is pretty complex (too complex for most of my users) and I can't find a way to push out settings or do bulk changes. That means I am circling back to what JB suggested, by launching chrome with incognito and proxy options.

                                          %pathtochrome%\chrome.exe --incognito --proxy-server="http://proxy01.domain.local:3128" --user-data-dir="%LOCALAPPDATA%\Google\ChromeProxy01\User Data
                                          

                                          I have tested this by running it in a cmd prompt. These will need to be launched separately, so users can keep track of which window they opened for which login they should be using. Otherwise, it defeats the purpose.

                                          Is the only way to run this by using a bat file? I can't seem to get it going by just using a simple shortcut to Chrome.

                                          1 Reply Last reply Reply Quote 0
                                          • wrx7mW
                                            wrx7m
                                            last edited by

                                            Update2-

                                            I got the above Chrome shortcuts working using a GPO with GPP, as shown in my other post-
                                            https://mangolassi.it/topic/19381/creating-a-shortcut-for-chrome-incognito-with-proxy-settings/35

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • First post
                                              Last post