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

    Dsl and two wifi lans

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 3 Posters 4.6k 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.
    • M
      mpapec
      last edited by

      internet
                                                        ||
      city wifi == [ral0 pfsense rl0] == [dsl router] == [win32]

      ral0 is 192.168.20.61
      rl0 is 192.168.1.3
      dsl router is on 192.168.1.1
      win32 is 192.168.1.2

      I hope this chart make sense. :)

      I want to share dsl connection with folks from wifi (I'm on win32 machine).
      Is such setup possible, and how should I route packets so I can access wifi/net and give city wifi net access?

      tnx!

      1 Reply Last reply Reply Quote 0
      • Z
        ZGamer
        last edited by

        You would use the wireless just as anyone from the City wifi would. Assuming I'm understanding what your trying to do.

        –------------------------------------------------------------------------------------
        pfSense Documentation Wiki
        Need Commercial Support?
        Personal Blog

        1 Reply Last reply Reply Quote 0
        • M
          mpapec
          last edited by

          Yes, that is my intetntion but doesn't know how to setup routes?

          rl0 isn't actually on WAN as it is on my home network.

          (DSL router has WAN access)

          1 Reply Last reply Reply Quote 0
          • H
            hoba
            last edited by

            Here is how I would do it:

            • settings at your pfsense:

            • make rl0 WAN with static config using the LAN IP of your DSL router as gateway

            • make ral0 LAN

            • enable DHCP Server at LAN and configure it correctly

            • enable "advanced outbound nat" at firewall>nat>outbound and delete all rules after you enabled and saved (this way you are routing and don'T NAT any more)

            • create a rule at WAN to allow access from your dslrouters LAN-subnet

            • if you want to shut down access for the wifi hosts of your pfsense to your dsl-routers LAN subnet add a rule to block access from source any to destination dsl-routers lansubnet at the lan tab of the pfsense. place this rule above the "default lan to any" rule.

            settings at the dsl-router:

            • add a static route for the wifi subnet of the pfsense with gateway wan ip of your pfsense
            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.