Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How do i make vpn clients be on the same subnet?

    Scheduled Pinned Locked Moved OpenVPN
    13 Posts 4 Posters 2.3k Views
    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.
    • L
      lordkitsuna
      last edited by

      If it's really hard (or ultimately not possible)  to have openvpn just spit people at the lans dhcp is there a way to "echo"  brodcast messages? So that device's broadcasting themselves on the 192.168.1.x will also be seen from the ovpn side of things? The app stupidly limits live tv streaming to local lan so they expect you to be at home. If i can just get the app to see my box it will think i am at home and I'll be golden.

      1 Reply Last reply Reply Quote 0
      • K
        kejianshi
        last edited by

        Does that mean you have no interest in seeing if avahi can do that for you?

        1 Reply Last reply Reply Quote 0
        • L
          lordkitsuna
          last edited by

          Well once i know what that is I'll know. Ill Google it but by all means let me know how you think it would help if it can work then I'd probably be up for it

          1 Reply Last reply Reply Quote 0
          • K
            kejianshi
            last edited by

            Fortunately, getting Avahi to work under pfSense is very simple. To install Avahi in pfSense, navigate to System -> Packages, and scroll down to “Avahi”. Press the “plus” button next to the listing, and on the next page, press “Confirm” to confirm the installation. The installation will take a few minutes to complete.

            Once installation is complete, there will be a new item on the “Services” menu named “Avahi“. If you navigate to Services -> Avahi, you can configure the settings for Avahi discovery. The “Enable” check box enables the Avahi Bonjour/Zeroconfig proxy. The “Browse domains” edit box allows you to enter domains you would like to have proxied. The “Deny interfaces” list box allows you to specify interfaces that you do not want Avahi to listen on (WAN is disabled by default). Finally, the “Disable IPv6” and “Disable IPv4” disables IPv6 and IPv4 support in Avahi respectively.

            Once you have Avahi enabled, systems on interfaces on which Avahi is listening should be able to publish and/or discover Bonjour/Zeroconfig services.

            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by

              I'm not sure if that will work for your needs or not.  But I think its worth a try.  Maybe.

              1 Reply Last reply Reply Quote 0
              • W
                wcrowder
                last edited by

                Does not currently work on 2.2 Beta. Just adding this. :(

                1 Reply Last reply Reply Quote 0
                • K
                  kejianshi
                  last edited by

                  If security is not your primary concern and this will be used primarily on networks you trust, you could try PPTP vpn.

                  PPTP does easily allow you to put vpn vlients on same subnet as LAN

                  PPTP isn't actually a bad way to extend your "LAN" to pretty much anywhere, but the encryption is cracked.

                  So its not first choice for airports and coffee shops and random hotspots.

                  1 Reply Last reply Reply Quote 0
                  • L
                    lordkitsuna
                    last edited by

                    so I mean I can see it, I can ping it and it will reply to me. but the app still wont "see" it. strange., it must see its not on the same subnet and get all pissy i guess.

                    1 Reply Last reply Reply Quote 0
                    • L
                      lordkitsuna
                      last edited by

                      The issues seems to be that even tho the app sees that hey this is its address its using broadcast and other things that simply are not transmitted over tun. I tried to setup the openvpn to be tap and just bridge to my lan but i could not figure out how to get it working for the life of me.

                      1 Reply Last reply Reply Quote 0
                      • M
                        marvosa
                        last edited by

                        Just configure a bridged tunnel instead of routed.

                        There's gotta be a wiki or something somewhere.  A quick google search gave me this guide:

                        https://forum.pfsense.org/index.php?topic=46984.0

                        It's a two year old post, but worth a shot.

                        1 Reply Last reply Reply Quote 0
                        • K
                          kejianshi
                          last edited by

                          Good idea.  Abit trickier to configure though.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.