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

    WLAN as separate subnet

    Scheduled Pinned Locked Moved Wireless
    3 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.
    • T
      test123
      last edited by

      I got my pfsense firewall/AP/NAT working. At the moment WLAN is bridged with LAN subnet (192.168.0.0/24) but I want it to be separate (192.168.1.0/16) so I could make my LAN connection more secure and disable connections from WLAN to LAN. 16 bit must be used for getting connection to gateway - 192.168.0.1? Now I don't understand how is it possible to get IP address to WLAN computers with DHCP? In my setup is it required another DHCP server for WLAN subnet?

      In bridged mode everything works, but when I do following:
      Interfaces - WLAN
      General Configuration
      Type - Static  (This should mean that WLAN interface has static IP?)

      IP configuration
      Bridge with - none
      IP address - 192.168.1.1/24

      Firewall
      NAT - Outbound
      WAN    192.168.1.0/16  *  *  *  *  *  NO
      Rules - WLAN
      *  WLAN net  *  *  *  *

      … then nothing works.

      Have searched for pfsense/m0n0wall wifi tutuorials but they must be not existing...
      Any help appriciated.

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

        use as subnet /24.t
        you dont use the same gateway on both subnets.
        use as gateway: 192.168.1.1

        if you're using manual outbound NAT you need 2 rules:
        WAN        192.168.0.0/24      *      *      *      *      *    NO
        WAN        192.168.1.0/24      *      *      *      *      *    NO

        since you didnt understand why to use 2 different gateways/subnets i suggest you search wikipedia for information on how routing works.

        merry christmas :)

        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
        • T
          test123
          last edited by

          THX, it WORKS!!!

          And now LAN is also protected from WLAN.

          Going to wiki … 8)

          Happy Holydays!

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