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

How best to access WifI Access Point on OPT1 From LAN

Scheduled Pinned Locked Moved Firewalling
6 Posts 4 Posters 3.8k 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.
  • A
    Amuzed2pieces
    last edited by Jan 4, 2016, 8:46 PM Jan 4, 2016, 8:41 PM

    I am a Pfsense noob, and my new install of 2.2.6 is up and running fine.

    I have OPT1 configured for wireless access on 192.168.1.1 and a wireless router (converted to AP)on that subnet at 192.168.1.2.    The Wireless internet access is working well.  However, I am trying to access the web configuration GUI of that router/AP from my computer on the LAN network which is 17.22.22.22/24

    So far the rules I have created haven't worked.  I am sure its an easy thing to enable, but I am missing something.  What are the settings to allow access to the http/s ports on the Wireless AP on OPT1 subnet from my PC on the LAN subnet?

    (I tried the search function, but I may have not used the right terms because it came back empty)

    1 Reply Last reply Reply Quote 0
    • D
      Derelict LAYER 8 Netgate
      last edited by Jan 4, 2016, 11:10 PM

      The Router/AP probably doesn't understand the concept of a default gateway on the LAN interface.

      You might be able to NAT connections to the AP so the connection appears to be coming from something on the same subnet (192.168.1.1) so routing is not necessary. This would be done with an outbound NAT entry for OPT1 matching the traffic with destination 192.168.1.2 on the correct ports and a NAT address of OPT1 address.

      Chattanooga, Tennessee, USA
      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
      Do Not Chat For Help! NO_WAN_EGRESS(TM)

      1 Reply Last reply Reply Quote 0
      • A
        Amuzed2pieces
        last edited by Jan 5, 2016, 1:29 AM

        I solved it,  the abbr. subnet mask was wrong showing /31

        In case anyone follows I just created a Rule  Firewall>Rules>LAN    Protocol: TCP  Source:  Specific address (to my Desktop Fixed IP)  Ports:  Any or 80/443  Destination: Specific Address of Wireless Access Point IP (I think the abbr. subnet mask defaulted to /31?  I had to change it to /24.

        1 Reply Last reply Reply Quote 0
        • T
          trombone
          last edited by Apr 27, 2016, 7:32 PM

          Derelict. Thanks. I tried what you suggested and it worked. I misunderstood you slightly and entered the outbound NAT rule as Interface: OPT1. Source: 192.168.1.0/24 (that is my LAN network). Source Port: any. Destination: 192.168.100.0/24 (my OPT1 network). Dest Port: Any. NAT address: OPT1 address.
          This rule works and I can access the access point from my Lan. I haven't narrowed the rule down yet- just wanted to get it working first.  Now I need to be able to access the access point through my OPEN-VPN client. I tried a rule based on the one above but haven't succeeded yet. Can anyone tell me how to access the access point through OpenVpn?

          1 Reply Last reply Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator
            last edited by Apr 27, 2016, 8:45 PM

            "on the LAN network which is 17.22.22.22/24 "

            Is this an attempt at obfuscation of public IP space on your lan, or it a rfc1918 space that though you needed to obfuscate?  that can not be your lan network??  Its not even a network addess, its a host address.

            What are you using for your AP??  Does it support 3rd party firmware?  If so firmware like dd-wrt or openwrt allow for gateway to be setup on your lan interface of the router so you don't have do any odd ball natting to get to the device from other networks.

            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 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • T
              trombone
              last edited by Apr 28, 2016, 3:37 PM

              Further info. Quoting Derelect "You might be able to NAT connections to the AP so the connection appears to be coming from something on the same subnet (192.168.1.1) so routing is not necessary"
              I did this and Lan addresses can connect to Access point on OPT1. I have used the button labeled create a rule based on this one and then modified it several ways.

              Interface: OPT1. Source: 10.10.10.0/24 (that is my OpenVpn network). Source Port: any. Destination: 192.168.100.0/24 (my OPT1 network). Dest Port: Any. NAT address: OPT1 address.

              I also tried using the VPN network as the interface. I am thinking that it is just a matter of coming up with the right rule. By the way the VPN connection is setup to connect to Lan not OPT1 but I need that to work to manage the PFsense itself remotely.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received