Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Securing wlan with openvpn…

    Scheduled Pinned Locked Moved Wireless
    2 Posts 2 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.
    • K
      kr0n0s
      last edited by

      Hi there,
      I would like to secure my wlan using openvpn. I have successfully set up a open vpn server (192.168.2.1) and I already configured the open vpn client on my windows laptop(192.168.2.199) using PKI. The wireless card is OPT1 of my pfesene WRAP box and it is bridged with LAN. Now I can make a connection from the client to the server, initialization finishes and I end up with a DHCP address (from the separate open vpn subnet 192.168.100.0/24) asigned to my virtual tap device. But there is no traffic going over the open vpn tunnel since the normal WLAN connection is still active.
      I assume it won't work with a bridged device, will it? Do I have to assign a static IP to OPT1 in a different subnet and add a static route?
      I would appreciate your help.

      1 Reply Last reply
      Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        @http://forum.pfsense.org/index.php/topic:

        If you want to force your clients to send their traffic over the VPN you need to set some custom options:
        Please read the following thread for more infos:
        http://forum.pfsense.org/index.php/topic,6056.0.html

        read the man pages.
        i think i remember reading somewhere you have to leave the dev1 out if the server is in the same subnet

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy