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

    Use OPT1 as a gateway for a physical computer

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 1.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.
    • Y
      Yahia
      last edited by

      Hi

      I'm Nezbie to pfsense and Network and i Need your help to setup my Network.

      I have two Box

      Box1:

      3 NICs
      WAN: (Connectd to a modem router DHCP)
            IP:192.168.1.18
                255.255.255.0
                192.168.1.1
      LAN (Static)
            IP:10.200.50.154
                255.255.255.0     
      OPT1 (DHCP Relay)
            IP:10.200.50.65
                255.255.255.0
                10.200.50.1

      LAPTOP

      1 NIC
          IP: 10.200.55.53
                255.255.255.0
                10.200.55.1

      The Pfsense is connectd on Office1 let's say 10nd Floor
      TH PC is in The First Floor

      IN BOX1

      i can ping My laptop form OPT1
      i can ping My Modem interface 192.168.1.1 from OPT1
      i can ping the WAN Interface 192.168.1.18 from OPT1
      I can ping the public DNS 8.8.8.8 from OPT1

      IN My Laptop

      i can ping OPT1 interface

      1- can i use OPT1 as a Gateway for my laptop so that i can get Internet on It (Laptop)
        i wand to avoid using proxy because of filtering and because i have some apps that don't have proxy setting on it

      2- if the answer is yes for the first question then how to do that with this config?

      Thx

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Your LAN and OPT1 are on the same network which is a no-no.  That needs to change.  Your LAN client is using 10.200.55.1 as its gateway, and this router is not defined i your given details.  If you want to use OPT1 as your gateway, you need to specify the OPT1 IP address as your client's gateway in his network settings and not the LAN IP address.

        1 Reply Last reply Reply Quote 0
        • Y
          Yahia
          last edited by

          Thx KOM

          I followed your advice

          Changed the LAN  IP Addresse of the pfsense box to 192.168.205.2,

          put the OPT1 Ip address as a gateway in my laptop  but still don't have internet

          is theire any configuration to add to the pfsense firewall or some NAT to do or Forwarding Rules?

          Thx

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            is theire any configuration to add to the pfsense firewall or some NAT to do or Forwarding Rules?

            By default, only LAN gets a firewall rule to allow access.  OPT1 does not, so you will likely need to add at least one rule.  Look at your LAN rules and find the one labelled Default allow LAN to any.  Make a rule exactly like this one but on the OPT1 interface instead of LAN.

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