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

    Router only, no internet on OPT1

    Scheduled Pinned Locked Moved General pfSense Questions
    40 Posts 6 Posters 7.0k 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.
    • L
      luna_s
      last edited by

      I'm running a pfsense box as router only with no firewall (disabled all packet filtering), but I don't seem to be able to access the WAN using OPT1, how do I do this ?
      I can ping hosts from all interfaces except for OPT1 (and vlans attached to it)

      1 Reply Last reply Reply Quote 0
      • W
        Wolf666
        last edited by

        Please post your outgoing rules…normally this happens because you did not set outgoing NAT.

        Modem Draytek Vigor 130
        pfSense 2.4 Supermicro A1SRi-2558 - 8GB ECC RAM - Intel S3500 SSD 80GB - M350 Case
        Switch Cisco SG350-10
        AP Netgear R7000 (Stock FW)
        HTPC Intel NUC5i3RYH
        NAS Synology DS1515+
        NAS Synology DS213+

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

          When he says he turned off filtering I would assume there is no nat either?  Can you nat still if you turn off filtering?

          My guess would be that the network on opt1 is not known by the wan network.. Devices on the wan network would need to know how to get to the opt1 network.

          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
          • L
            luna_s
            last edited by

            No NAT, just using this one as a routing box from the LAN\VLANS to a smoothwall box then to the internet.

            Disabling the firewall seemed to fix the problems I had connecting to microsoft active directory from the smoothwall box for authentication but then it broke the routing on the VLANS on OPT1

            Id enable the firewall if I could work out how to get the Smoothwall talking to AD (I couldn't ping the AD servers from the WAN interface no matter what I did)

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

              I am not sure, but I would assume if you turn off filtering then you loose nat.  So you would have to setup routing on your devices on the wan how to get to your lan and opt1 networks.  OR setup a transit network between your router in front of pfsense to pfsense with routing to those 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
              • L
                luna_s
                last edited by

                Then I think I'll be better off turning the firewall off, but then I'm back to square one not being able to access the Active Directory from the wan unless there's a WAN rule that can fix that ?

                1 Reply Last reply Reply Quote 0
                • D
                  doktornotor Banned
                  last edited by

                  You can have no WAN (or any other interface) rules when you turn the packet filter off. If you do not want NAT, then disable NAT and not the packet filter. It is even written in the GUI notes next to the checkbox where you can disable the pf.

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

                    ^ exactly the way to use pfsense as router is disable nat and create any any rules.

                    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
                    • L
                      luna_s
                      last edited by

                      Thanks, I'll test it out - feel like I've been going round in circles these past few days!

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

                        You can have no WAN (or any other interface) rules when you turn the packet filter off.

                        ^ exactly the way to use pfsense as router is disable nat and create any any rules.

                        Well, which is it?  No rules or Any:Any rules?  Or did you mean there must be no rules when the filter is disabled but then after you need to add Any:Any rules???

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

                          Those are 2 different people saying things that you put into 1 quote.

                          How I would use pfsense as router would be turn off nat and then any any.  You could then log traffic if you wanted in your any any rules, etc.  Or create rules just for logging even better.  You could still use the limiters, etc.

                          If you just going to turn off filtering and route - might as well just put in a L3 switch.

                          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
                          • KOMK
                            KOM
                            last edited by

                            Those are 2 different people saying things that you put into 1 quote.

                            Yes, I know, was done for brevity.  But you agreed with dok after saying something completely opposite.  He says no rules, you say any:any.

                            1 Reply Last reply Reply Quote 0
                            • L
                              luna_s
                              last edited by

                              Wish I could just put a L3 switch in would save me the problems, as it is it's cheaper for me to use a pfsense as a router instead

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

                                No he clearly stated

                                "If you do not want NAT, then disable NAT and not the packet filter."

                                Which I agreed with.. If you don't turn off the packet filter than you need rules.. I just said it in slightly different way with emphasis that you would need any any rules if the filter is on if you want it to act like a router.

                                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
                                • KOMK
                                  KOM
                                  last edited by

                                  You can have no WAN (or any other interface) rules when you turn the packet filter off.

                                  This threw me off.  I know there are a lot of non-native English speakers here and sometimes the Euro flair can be read differently.  I read it to mean that you MUST remove the WAN rules if you are to disable the packet filter.

                                  1 Reply Last reply Reply Quote 0
                                  • L
                                    luna_s
                                    last edited by

                                    So from what I've learned

                                    Enable Firewall

                                    Disable Outbound NAT

                                    Add Any Any Rules to each interface on the firewall e.g.

                                    IPv4*  *      *      *      *      *    none

                                    This should do all my routing to and from the smoothwall box

                                    1 Reply Last reply Reply Quote 0
                                    • DerelictD
                                      Derelict LAYER 8 Netgate
                                      last edited by

                                      This should do all my routing to and from the smoothwall box

                                      Whatever a "smoothwall box" is it will have to have routes for all the networks behind pfSense with the pfSense IP address as the routes' next hop.

                                      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
                                      • L
                                        luna_s
                                        last edited by

                                        The Smoothwall box is a transparent proxy / UTM, I work in a school and we need filtering enabled for students. Currently we rely on the Smoothwall box for routing between subnets (for wifi over vlans) for MDns, problem is we rely too much on it e.g

                                        LAN  –-> SMOOTHWALL ---> WAN

                                        We don't have any layer 3 switching as the budget is restrictive, only layer 2 that serves the VLANS so swapping out the SMOOTHWALL utm for another vendor is difficult as most other vendors don't have routing / radius / dhcp etc. built in

                                        So I'm trying to utilise old hardware so the topology looks like this :-

                                        PFSense Router -----> PROXY -----> PFSense firewall, so I can slot any vendors filtering hardware in place of the proxy

                                        The only problem I've faced is getting Smoothwall talking back to active directory for authentication purposes, if I know the PFSense configuration is correct then I know any problems lies within Smoothwall.

                                        1 Reply Last reply Reply Quote 0
                                        • L
                                          luna_s
                                          last edited by

                                          I made a new box and kept it as simple as possible

                                          Enable Firewall

                                          Disable Outbound NAT

                                          Add Any Any Rules to each interface on the firewall e.g.

                                          IPv4*  *      *      *      *      *    none

                                          But it's still not working, the traceroute from the wan to the LAN seems to bounce around the WAN ip and the gateway

                                          Here's an album of images
                                          http://imgur.com/a/1X55p

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

                                            dude smoothwall needs to know how to get to the networks behind pfsense - it has to have a route that talks to pfsense want to get to segments behind pfsense.

                                            This is normally done with a transit network so you don't run into asymmetrical routing.

                                            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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.