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

    Pfsense as a Gateway for Internet services

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 4 Posters 1.4k 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.
    • S Offline
      sunnysthakur
      last edited by

      Hello,

      I am very new to Pfsense and we are trying to use it for Internet services gateway to our internal network. Right now we are using Linux Servers as gateway and squid as proxy.

      Actually the requirement to replace the current linux gateway is to implement the website blocking and filtering which seems easy in Pfsense.

      All went good but i stuck on one implementation now.

      We have multiple IP series setup in our network and to provide internet to various subnets we assigned multiple IPs to Linux gateway as Virtual IP on LAN ethernet (eth1:1, eth1:2 etc…)

      But now in Pfsense, i am not able to do so. I tried with setup route, NAT and VIP but no luck.

      Actually when i add VIP, it is not pinging from other machine in network having same subnet IP. I tried to setup route, NAT but nothing work. In Linux server we don't need to worry about above issue as assigned VIP ping from same series with in the network.

      Please suggest the steps to fix this.

      1 Reply Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator
        last edited by

        "assigned multiple IPs to Linux gateway as Virtual IP on LAN ethernet (eth1:1, eth1:2 etc…)"

        So these were vlans you assigned?  Or your just running multiple layer 3 networks on the same layer 2?

        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
        • S Offline
          sunnysthakur
          last edited by

          Hello,

          We have a VLAN setup in network is we have multiple series setup in our network ans assigned to respective department.

          But if i need to add another series IP on same LAN in pfsense, how can we do it and how i can use that IP as gateway for respective series.

          For eg. i have setup 192.168.19.1 IP on LAN and now  want to add 10.10.10.1 IP on same LAN interface and wan to use 10.10.10.1 as gateway for 10.10.10.x series in LAN.

          Right now internet is working fine when using 192.168.19.1 as gateway for 192.168.19.x series.

          1 Reply Last reply Reply Quote 0
          • S Offline
            sunnysthakur
            last edited by

            Could you please help me here.

            I want to setup multiple IPs on pfsense to use those IPs as gateways for internal network.

            Like :- 192.168.17.1 gateway would be for 192.168.17.x series.
            10.10.1.1 gateway for 10.10.1.x series.
            172.16.17.1 gateway for 172.16.17.x series.

            Is this possible to setup this kind of requirement here.

            1 Reply Last reply Reply Quote 0
            • S Offline
              sebou89
              last edited by

              Hi there,

              yes I think it is possible.

              just create multiple vlan in interfaces/assign/vlan. Once your vlan created (ex: vlanA (192.168.17.0/24) vlanB (10.10.1.0/24) vlanC (172.16.17.0/24)) assign your vlan to your network card.

              with that in mind, you will need to set up your vlan in a switch to be sure the good computer get the right vlan.

              I hope that will help you

              1 Reply Last reply Reply Quote 0
              • S Offline
                sunnysthakur
                last edited by

                Hello,

                VLAn is already implemented in network using cisco. Can it achieved with Vitual IPs in pfsense.

                1 Reply Last reply Reply Quote 0
                • F Offline
                  Fabio72
                  last edited by

                  If you don't do layer3 routing on your cisco just connect a trunk of tagged vlans to pfsense, configure the vlans on the parent physical interface and create one interface for every vlan. Assign ip according to your subnets.

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