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

    Securing wlan with openvpn…

    Scheduled Pinned Locked Moved Wireless
    2 Posts 2 Posters 2.1k 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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.