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

    Linux Domain Controller

    IT Discussion
    linux debian
    11
    113
    39.3k
    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 @Sparkum
      last edited by

      @Sparkum said:

      Just doing a quick google search found this how to

      https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on-centos-7

      I assume for the most part this should be fine minus not using google'd DNS records

      I would expect that to be fine. I run an ELK stack on Digital Ocean and our FreeBSD lab system.

      1 Reply Last reply Reply Quote 0
      • S
        Sparkum @scottalanmiller
        last edited by

        @scottalanmiller

        Haha thanks thats alot better and brings me confidence in my box back.

        Especially after everyone said a Samba server was one of the lowest resource wise.

        free.JPG

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

          @Sparkum said:

          @scottalanmiller

          Haha thanks thats alot better and brings me confidence in my box back.

          Especially after everyone said a Samba server was one of the lowest resource wise.

          free.JPG

          Argh, I hate that modified view. The simple "free" number is gone now.

          BUT, the used number is correct. You are USING 65MB. Seriously, just 65MB. So you are in pretty good share. Out of 489MB total, 65MB is used. Leaving you with 424MB free!

          Linux is awesome on resources 😉

          1 Reply Last reply Reply Quote 0
          • S
            Sparkum
            last edited by

            Gah!

            Not sure what I did yesterday but now I cant contact any mirrors or ping anything!

            Come on Linux be my friend!

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

              @Sparkum said:

              Gah!

              Not sure what I did yesterday but now I cant contact any mirrors or ping anything!

              Come on Linux be my friend!

              nslookup or dig is going to be your friend here. Check your DNS settings. Something is not resolving.

              1 Reply Last reply Reply Quote 0
              • S
                Sparkum
                last edited by Sparkum

                Is there any chance this isnt on me?

                When I first booted initially I got this as well.

                And I dont beleve I've changed networks settings to date?

                Just changed DNS (temporarily) to google's DNS and same results.

                Also keep loosing connection to the console this morning.

                1 Reply Last reply Reply Quote 1
                • S
                  Sparkum
                  last edited by

                  Yep was definitely on their end, I wasnt able to get into the console for about 20 minutes. Was about to submit a ticket and there was a related article, which seemed exactly like my problem. Waiting a little more and everything works now (as origional settings)

                  1 Reply Last reply Reply Quote 1
                  • ?
                    A Former User
                    last edited by

                    I've never been able to full saturate gigabit links with OpenVPN. But I have with IPSEC and Tinc and that was using Core 2 duo era cpu's. Cisco stuff in $3k range couldn't do it.

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @A Former User
                      last edited by

                      @thecreativeone91 said:

                      Cisco stuff in $3k range couldn't do it.

                      That's like the lowest bar in the industry.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sparkum @Sparkum
                        last edited by

                        @Sparkum

                        So how should I have my DNS settings,

                        If I leave them as CloudatCost default I cant ping anything, if I change them to what they would be once I get them added to the domain, nothing, if I change them to google's DNS I can see the outside world.

                        I assume this is not a good idea though? Or is there no real downside?

                        Would I have it set as google's DNS until I can get OpenVPN up and going?

                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @Sparkum
                          last edited by

                          @Sparkum said:

                          @Sparkum

                          So how should I have my DNS settings,

                          If I leave them as CloudatCost default I cant ping anything, if I change them to what they would be once I get them added to the domain, nothing, if I change them to google's DNS I can see the outside world.

                          I assume this is not a good idea though? Or is there no real downside?

                          Would I have it set as google's DNS until I can get OpenVPN up and going?

                          I would use the DHCP set ones until you get the VPN setup. Then you will want DNS lookups on the Domain over the VPN. Not sure why C@C's DNS isn't working for you. I haven't had issues with it.

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            Sparkum @A Former User
                            last edited by

                            @thecreativeone91

                            I didnt at first, and then all of a sudden nothing worked. (Hadnt touched any network settings yet until that point)

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sparkum
                              last edited by

                              Wondering if anyone had any advice on this as well (for OpenVPN)

                              I thought I had the setup go so smooth last night, worked through a few errors but cant seem to get around this one.

                              thanks

                              openvpn.JPG

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

                                You have a hostname conflict. What is the hostname of the system officially uname -n and what are the entries in /etc/hosts?

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  Sparkum @scottalanmiller
                                  last edited by

                                  @scottalanmiller

                                  uname -n is dc.pricehouse.ca

                                  hosts is hosts.JPG

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

                                    Well you are missing the host entry for your server as a starting point. Let's at least get that fixed. The entry should be...

                                    [ip address]     dc.pricehouse.ca  dc
                                    
                                    1 Reply Last reply Reply Quote 1
                                    • S
                                      Sparkum
                                      last edited by

                                      If anything this experience has taught me I know nothing about Linux haha.

                                      Havent looked into this one yet (going to start right now) but my kid is ""Maybe"" asleep so incase I get taken away wanted it up here

                                      Authentication.JPG

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Sparkum
                                        last edited by

                                        Strange when I went to sit back down I ended up getting a different error message..

                                        error.JPG

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Sparkum
                                          last edited by

                                          Went through the how to again and found 2 mistakes that I rectified.

                                          New error message

                                          -- Unit [email protected] has begun starting up.
                                          Apr 07 14:57:00 dc.pricehouse.ca openvpn[10639]: Options error: Unrecognized option or missing parameter(s) in server.conf:85: dh2048.pem (2.3.6)
                                          Apr 07 14:57:00 dc.pricehouse.ca openvpn[10639]: Use --help for more information.
                                          Apr 07 14:57:00 dc.pricehouse.ca systemd[1]: [email protected]: control process exited, code=exited status=1
                                          Apr 07 14:57:00 dc.pricehouse.ca systemd[1]: Failed to start OpenVPN Robust And Highly Flexible Tunneling Application On server.
                                          -- Subject: Unit [email protected] has failed
                                          -- Defined-By: systemd
                                          -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

                                          -- Unit [email protected] has failed.

                                          -- The result is failed.
                                          Apr 07 14:57:00 dc.pricehouse.ca systemd[1]: Unit [email protected] entered failed state.
                                          Apr 07 14:57:06 dc.pricehouse.ca smbd[10645]: [2015/04/07 14:57:06.576726, 0] ../source3/printing/print_cups.c:151(cups_connect)
                                          Apr 07 14:57:06 dc.pricehouse.ca smbd[10645]: Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
                                          Apr 07 14:57:06 dc.pricehouse.ca smbd[1416]: [2015/04/07 14:57:06.580788, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
                                          Apr 07 14:57:06 dc.pricehouse.ca smbd[1416]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL

                                          coliverC 1 Reply Last reply Reply Quote 0
                                          • coliverC
                                            coliver @Sparkum
                                            last edited by coliver

                                            Apr 07 14:57:00 dc.pricehouse.ca openvpn[10639]: Options error: Unrecognized option or missing parameter(s) in server.conf:85: dh2048.pem (2.3.6)

                                            You have an error with in the server.conf file on line 85.

                                            Edit: Tried to put this in a code block but it won't let me odd...

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