Traffic going out to internet, cannot access control panel on access point on different network



  • networklayout.jpg

    When I try to connect to the access point from the windows desktop the connection is routed via WAN and the first hop is my ISP servers resulting in host not found.

    This is a small home network I've setup to learn pfSense. I read that routing between networks on the same device is automatic. Not sure if this is correct. Can anyone spot the problem?

    I have no static routes setup and the default gateway is WAN.

    Output of trace route from 192.168.1.100 > 192.168.10.2

    Tracing route to 192.168.10.2 over a maximum of 30 hops
    
      1    24 ms    21 ms    21 ms  *.teliacarrier-cust.com [*]
      2    23 ms    30 ms    27 ms  *.cust.norisab.net [*]
      3     *        *        *     Request timed out.
      4     *        *        *     Request timed out.
    

    LAN RULES:

    lanrules.jpg

    AP RULES:

    aprules.jpg

    GUESTWIFI RULES:

    guestwifirules.jpg

    Default Gateways:

    gateways.jpg

    Static Routes:

    staticroutes.jpg



  • My guess is that your AP is probably configured wrong somehow.. Do you have it set for DHCP?

    Can you access it from a device connected to it?

    pfSense by default routes between its LAN interfaces. And your firewall rules would allow it.

    edit- how is your AP LAN setup?


  • LAYER 8 Global Moderator

    Or he is running some vpn on his client... The first hit on a traceroute on that windows machine would be pfsense IP on igb1.

    example

    $ tracert -d 192.168.2.4
    
    Tracing route to 192.168.2.4 over a maximum of 30 hops
    
      1    <1 ms    <1 ms    <1 ms  192.168.9.253
      2    <1 ms    <1 ms    <1 ms  192.168.2.4
    
    Trace complete.
    

    That is from my windows box on 192.168.9.100, to an AP I have running on my 192.168.2 vlan.. Sim to the OP setup.



  • Yes I believe the AP is given an IP via DHCP. Which works fine for what I need it for. If I connect to the access point control panel from my phone on its own network it works as it should.


  • LAYER 8 Global Moderator

    Show us the route table from your windows machine... What your showing it pretty impossible to be honest..

    $ route print
    ===========================================================================
    Interface List
     13...00 13 3b 2f 67 62 ......Realtek PCIe GbE Family Controller
     22...00 13 3b 2f 67 63 ......Realtek PCIe GbE Family Controller #2
     21...00 ff e4 1e b8 0a ......TAP-Windows Adapter V9
      1...........................Software Loopback Interface 1
    ===========================================================================
    
    IPv4 Route Table
    ===========================================================================
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0    192.168.9.253    192.168.9.100    281
            127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
            127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
      127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
          192.168.9.0    255.255.255.0         On-link     192.168.9.100    281
          192.168.9.0    255.255.255.0         On-link     192.168.9.101    281
        192.168.9.100  255.255.255.255         On-link     192.168.9.100    281
        192.168.9.101  255.255.255.255         On-link     192.168.9.101    281
        192.168.9.255  255.255.255.255         On-link     192.168.9.100    281
        192.168.9.255  255.255.255.255         On-link     192.168.9.101    281
            224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
            224.0.0.0        240.0.0.0         On-link     192.168.9.101    281
            224.0.0.0        240.0.0.0         On-link     192.168.9.100    281
      255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
      255.255.255.255  255.255.255.255         On-link     192.168.9.101    281
      255.255.255.255  255.255.255.255         On-link     192.168.9.100    281
    ===========================================================================
    Persistent Routes:
      Network Address          Netmask  Gateway Address  Metric
              0.0.0.0          0.0.0.0    192.168.9.253  Default
    ===========================================================================
    


  • @johnpoz Man I feel stupid now! This was the problem. Forgot I had OpenVPN active šŸ¤¦


  • LAYER 8 Global Moderator

    Why not just run the vpn client on pfsense and then just policy route what you want to go out the vpn ;)



  • @johnpoz Yes that makes sense. I will give it a go. Thank you for your time on this.


Log in to reply