• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    VPN Subnet

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    4
    674
    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.
    • E
      eseelke
      last edited by

      This may not be possible and if so that’s ok. I just thought I would ask since everyone here seems smart and helpful.

      I have a very odd setup I know. But, it is what I am needing.

      I have a cloud based FOG server running Debian running version 1.5.9 on Debian 9. I have another cloud based VPN server using Pritunl on Ubuntu 18.04. The current setup has a local FOG storage node and the network is connected to the VPN server. The FOG server has the VPN client installed and connected to the VPN server.

      Both servers have public IP, but both are also connected together via a second interface on a private network. I have blocked all traffic on the public IP of the FOG server and am using the private IP to connect to it.

      My hope was to be able to use this setup without installing the VPN client on the FOG server. I added static routes to both servers and can login to the webui of the FOG server, but PXE booting fails. Now, bear in mind, I am not booting to the FOG server directly. The computers are booting to the local storage node.

      So, I am attempting to PXE boot from a device in a 192.168 network via the local storage server. The main FOG server is connected via VPN to VPN server and then via second network adapter on VPN server to FOG server. Is this possible or should I just keep the VPN client on the FOG server?

      Thanks, Eddie

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by george1421

        You are going to have to draw a picture with IP addresses of how this infrastructure is connected. Use fake public addresses, but real internal addresses.

        I can tell that that the way FOG with a master, storage nodes, and FOG clients are designed… they are expected (storage node and fog clients) to be able to reach the master node 100% of the time to remain operational. So If you have a fully routeable site to site VPN then everything will work as designed. If you have intermittent connection then things won’t work quite as well. The storage node needs to be able to contact the master node because the database only exists on the master node. So this link needs to be up 100% of the time. PXE booting is local then jumps to the master node to load boot.php.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 1
        • S
          Sebastian Roth Moderator
          last edited by

          @eseelke Definitely good if you can post a “network map” of the setup!

          I added static routes to both servers and can login to the webui of the FOG server, but PXE booting fails.

          Which device is serving DHCP in those networks? Just asking because DHCP broadcasts might not be forwarded between your sites. Please add this part to your network map and/or explain more in detail.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • E
            eseelke
            last edited by

            Ok, I don’t what happened, but it’s working now.

            Thanks!

            FOG.png

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post

            151

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project