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

    Wireless Vlan Traffic out VPN

    Scheduled Pinned Locked Moved Firewalling
    9 Posts 5 Posters 1.8k Views 1 Watching
    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.
    • X Offline
      xman111
      last edited by

      Hey guys,  i have a wired connection working perfectly with AirVPN.  I have a unifi AC pro that has my regular wifi,  and a guest wifi (Vlan).  what i want to do is create another wirelesss network (Vlan) that when connected sends all traffic out the AIRVPN wan,  not my normal ISP wan.  Any ideas?  Would that be done with NAT or firewall rules?

      1 Reply Last reply Reply Quote 0
      • M Offline
        mauroman33
        last edited by

        Go to Firewall>Aliases>IP and create an alias with all the IP addresses that must use the VPN tunnel.
        Then go to Firewall>Rules>LAN and create your own rule using the previous alias as Source and setting up the correct VPN gateway in the Advanced Options.

        1 Reply Last reply Reply Quote 0
        • X Offline
          xman111
          last edited by

          I will give that a try when i get home from work.. it would be EVERY client that connects to that VPN wireless network.

          1 Reply Last reply Reply Quote 0
          • M Offline
            mauroman33
            last edited by

            So you should include in that alias the whole range of IP addresses assigned via DHCP Server

            1 Reply Last reply Reply Quote 0
            • X Offline
              xman111
              last edited by

              thanks for responding.. will try in a couple hours..

              1 Reply Last reply Reply Quote 0
              • S Offline
                Stivlong
                last edited by

                I'm not an expert with VLANs actually, but from what you are describing this is what I'm gathering. I usually surf the net and try to find new useful info. Recently I've got wise to a VPN and it significanse. And read about VLANs in Wiki https://en.wikipedia.org/wiki/Virtual_LAN So, I have a question too. What solution would you recommend for a small business looking to utilize VLANs, a CISCO switch or another vendor? I need simple and efficient way to configure and utilize VLANs.

                1 Reply Last reply Reply Quote 0
                • X Offline
                  xman111
                  last edited by

                  I guess it depends how much you want to spend.  I have all Cisco and it is a little expensive but might be better in a business situation.

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ Offline
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    Any smart/managed switch would be able to do vlans - use your vendor of choice.  For a smb wanting to get started with vlans I would go with the cisco sg300, now sg350 line.

                    You could goes cheap as like $40 to spending 1000's all comes down to the feature set you want/need and port density..

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 25.07 | Lab VMs 2.8, 25.07

                    1 Reply Last reply Reply Quote 0
                    • V Offline
                      VPNHelpers
                      last edited by

                      @stivlong said in Wireless Vlan Traffic out VPN:

                      I

                      I know it's an old topic but I was also trying to fix the same issue and landed up here. I was checking solution on VPNhelpers but finally I am able to fix the vlan.

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