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

    Clientlan not able to reach WAN Gateway

    Scheduled Pinned Locked Moved General pfSense Questions
    16 Posts 4 Posters 2.5k 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.
    • T
      toddehb
      last edited by

      Hi,

      I have a strange issue and need some haelp to narrow down what the cause could be.

      My Pfsense has a client Lan 192.168.178.0/24 and WAN 192.168.99.0/24 . Upstream gateway is my Router from cable provider ( Fritzbox cable). Today my provider told me to reset the Fritz Box. So I did. Afterwards I set up everything as before, like IP address of the Fritz ( 192.168.99.1) Pfsense also got the same WAN ip ( 192.168.99.100). From Pfsense I can ping into the internet. Even my Wireguard connection to datacenter is working, but from Clientlan I do not get any connection to the Internet, I cannot even ping 192.168.99.1. Ping to WAN IP (192.168.99.100) works.

      Actually I have no clue what is going wrong and I am not able to debug that issue. Any hints are appriciated. Thanks.

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @toddehb
        last edited by

        @toddehb
        Is your Outbound NAT running in automatic mode?

        T 1 Reply Last reply Reply Quote 0
        • T
          toddehb @viragomann
          last edited by

          @viragomann said in Clientlan not able to reach WAN Gateway:

          @toddehb
          Is your Outbound NAT running in automatic mode?

          You are my hero ;-) Created NAT rule and everything ist fine again. Thanks.

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

            @toddehb said in Clientlan not able to reach WAN Gateway:

            Created NAT rule and everything ist fine again

            There should of been no reason to have create outbound nat rules.. Even if you had manual rules, you said the IP of pfsense wan was the same.. Did it change to a different interface than before?

            Are you using automatic, manual, hybrid for your nat rules - there is rarely any reason to change them from automatic. If you do have a specific need to do something different than just natting to your wan address, like vpn connection or vip or something on your wan - that can be accomplished with hybrid mode.

            Manual mode would only be required on very specific use cases, etc.

            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

            T 1 Reply Last reply Reply Quote 0
            • T
              toddehb @johnpoz
              last edited by toddehb

              @johnpoz

              It is set to manual mode. Don't ask me why ๐Ÿค” IP did not change. WAN is on DHCP. After Reset of Fritz Box the Wan interface could have gotten a different IP, cause the default Net of the Fritz Box is not what I am using. Could that make pfsense to forget about NAT entries?

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

                @toddehb if it didn't get the same IP as before that could of been issue sure. So did you switch back to automatic?

                The most common reason people are manual is they followed some vpn guide that said to do that - when its not needed at all, all that is needed for a vpn is hybrid and set a outbound nat for your vpn.

                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

                T 1 Reply Last reply Reply Quote 0
                • T
                  toddehb @johnpoz
                  last edited by

                  @johnpoz

                  you are right, I read a Wireguard guide suggesting to switch to manual. Is it save to go back to auto or maybe hybrid without loosing current settings?

                  johnpozJ V 2 Replies Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator @toddehb
                    last edited by johnpoz

                    @toddehb switch to auto, make sure normal works. Then switch to hybrid create whatever nat you want/need for wireguard in the hybrid

                    Delete all your settings, switch back to auto normally leaves them

                    https://docs.netgate.com/pfsense/en/latest/recipes/wireguard-client.html#outbound-nat

                    That looks to be instructions for wireguard..

                    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

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      toddehb @johnpoz
                      last edited by

                      @johnpoz

                      thanks. I will do so.

                      1 Reply Last reply Reply Quote 0
                      • V
                        viragomann @toddehb
                        last edited by

                        @toddehb said in Clientlan not able to reach WAN Gateway:

                        you are right, I read a Wireguard guide suggesting to switch to manual

                        I'm wondering, why this stupid tuts are suggesting to set the outbound NAT to manual again and again over the years.
                        I bet, the writer even cannot answer this question.

                        johnpozJ stephenw10S 2 Replies Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator @viragomann
                          last edited by johnpoz

                          @viragomann most of those of guides are clearly written by someone that doesn't actually understand what they are doing..

                          from the nord 2.5 pfsense guide

                          nord25.jpg

                          That is the default web cert that pfsense creates for self signed for you to access the web gui... It sure and F is not a client cert you should use to connect to a vpn.. So clearly they are not using client certs - so the guide should say set that to none

                          clientcert.jpg

                          This is from my client connection to a vps of mine I run for demo purposes in helping people here with client vpn setups, etc. I use the ns1 cert that is the actual client cert. But if your not going to actually use a cert to auth, which clearly your web gui self signed cert is not going to auth to some vpn service on the internet - then it should be set to none.

                          Every single guide I have read over by these vpn services are pretty lame to be honest..

                          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

                          V 1 Reply Last reply Reply Quote 0
                          • V
                            viragomann @johnpoz
                            last edited by

                            @johnpoz
                            Omg. That's really bad!

                            So clearly they are not using client certs - so the guide should say set that to none

                            Agree. If they would check the certs you would never get a connection. ^^

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

                              @viragomann Eveyone I have ever looked horrible.. I would never in a million years send traffic to any of these services - they can't even write a doc that makes any sense.. They hand it off to the intern most likely who copies it from somewhere else not understanding what any of it does..

                              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 1
                              • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
                              • stephenw10S
                                stephenw10 Netgate Administrator @viragomann
                                last edited by

                                @viragomann said in Clientlan not able to reach WAN Gateway:

                                I'm wondering, why this stupid tuts are suggesting to set the outbound NAT to manual again and again over the years.

                                They do that specifically to prevent LAN traffic leaving the WAN outside the VPN. Because persuading users that unencrypted traffic there is somehow unsafe and must all be sent via them is their business model. It also gets me that they use the term 'kill switch' for that. ๐Ÿ™„

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

                                  @stephenw10 but it doesn't look at the stupid nord guide, it has you switch to manual and create nord output nat, but it doesn't have you delete the normal wan nats.. So it wouldn't stop normal traffic from leaving out your normal wan..

                                  If they had you delete all the outbound other than the nord, ok that could be their business model or goal. But from the guides I havve seen they just don't have a clue what hybrid does, etc.

                                  And they say to delete all the IPv6 outbound nat rules - WTF???

                                  wtf.jpg

                                  Why anyone would actually trust moving data through these people is beyond me..

                                  maybe typo with ipv6 and they meant all rules? But then they show you what your outbound nat should look like

                                  typomaybe.jpg

                                  They are all bad - have looked at all the so called major players in this vpn space - they are just horrible without a clue to what the F they are trying to even accomplish..

                                  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
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    I mean.... I'm pretty sure that's what they are trying to do. But that doesn't rule out ineptitude!
                                    Hanlon's razor may apply. ๐Ÿ˜‰

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