Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. VPN
  3. Can the OpenVPN package be used for remote LAN parties?

Can the OpenVPN package be used for remote LAN parties?

Scheduled Pinned Locked Moved VPN
dhcplanopenvpn
6 Posts 5 Posters 1.2k Views 5 Watching
  • 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.
    • M Offline
      M Offline
      msbt
      App Dev
      wrote on last edited by msbt
      #1

      Ok I know this is probably a bit out of scope, but I have to try 😄

      I did search the web before and it seems to be possible, but I wanted to ask here to make sure that nothing is in the way:

      My guys are planning a good oldfashioned LAN party over the holidays which will be virtual due to the lockdown in my country. Steam games are no problem of course, but there are some older games on the list that are only playable in LAN mode and we're curious if it's possible to use the OpenVPN app to create a VLAN so we can play those together.

      I've tried with two laptops just now, installed the OpenVPN app, gave my user admin rights and checked the config, DHCP and Client-to-Client connections enabled, created a device for each laptop and loaded the configs via the app.

      One laptop got 10.8.0.6 (where DHCP server was 10.8.0.5) and the other laptop got 10.8.0.10 (where the DHCP server was something like 10.8.0.9, I already shut it down so the numbers might be a bit different). Isn't there supposed to be only one DHCP server? I didn't try anything except pinging each other which didn't work, am I missing something or was I just not trying hard enough? 😉

      murgeroM 1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        Don't know about the DHCP server but in your case you have to at least enable client-to-client communication in the openvpn app settings: https://docs.cloudron.io/apps/openvpn/#admin-settings

        1 Reply Last reply
        1
        • M msbt

          Ok I know this is probably a bit out of scope, but I have to try 😄

          I did search the web before and it seems to be possible, but I wanted to ask here to make sure that nothing is in the way:

          My guys are planning a good oldfashioned LAN party over the holidays which will be virtual due to the lockdown in my country. Steam games are no problem of course, but there are some older games on the list that are only playable in LAN mode and we're curious if it's possible to use the OpenVPN app to create a VLAN so we can play those together.

          I've tried with two laptops just now, installed the OpenVPN app, gave my user admin rights and checked the config, DHCP and Client-to-Client connections enabled, created a device for each laptop and loaded the configs via the app.

          One laptop got 10.8.0.6 (where DHCP server was 10.8.0.5) and the other laptop got 10.8.0.10 (where the DHCP server was something like 10.8.0.9, I already shut it down so the numbers might be a bit different). Isn't there supposed to be only one DHCP server? I didn't try anything except pinging each other which didn't work, am I missing something or was I just not trying hard enough? 😉

          murgeroM Offline
          murgeroM Offline
          murgero
          App Dev
          wrote on last edited by
          #3

          @msbt As @nebulon explained - it theory it should be possible if you enable client-to-client communication. HOWEVER the xbox, playstation, or other multiplayer device (including PC) need to be made aware of the remote network. This can be done with special software on the PC (I forget the name tbh but it was a logmein app I think?).

          If it's PC-to-PC LAN play as you seem to suggest in the OP, you simply need to put the IP of the remote party in the server portion of the game (like with Unreal torn for ex) This is also the same for RetroArch and netplay emulators.

          --
          https://urgero.org
          ~ Professional Nerd. Freelance Programmer. ~

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            OpenVPN networks works in IP pairs. Each laptop gets 2 IPs of sorts. One on this side of the tunnel and another on other side of the tunnel. There is only the DHCP server (the VPN server itself), but it's probably just a reporting quirk.

            1 Reply Last reply
            0
            • robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #5

              There's also Hamachi (vpn.net) and Tailscale.com

              Conscious tech

              M 1 Reply Last reply
              1
              • robiR robi

                There's also Hamachi (vpn.net) and Tailscale.com

                M Offline
                M Offline
                msbt
                App Dev
                wrote on last edited by msbt
                #6

                Thanks to everyone, I managed to get a few games going, some did not work, but they probably wouldn't run in an actual LAN either. Didn't have to adjust anything, The game I was trying was just not working properly.

                Cheers!

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Bookmarks
                  • Search