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

    Can't access from WAN to LAN

    General pfSense Questions
    2
    16
    3.1k
    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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      Again there is a HUGE difference between an ISP giving you a netblock to use - and routing that netblock to you.

      As to your hosts working from behind pfsense..  Outbound - ok, if you give a host an IP on 62.116.200.128/27 and then set his gateway to 62.116.223.133 – that is not really a valid configuration.  Your gateway needs to be on your actual network!!

      Thought you said you turned off NAT?  Not from the creds you sent me, I just logged in an your nat is still there..

      These details your ISP gave you about that /27 -- did they give you a gateway for that network?

      natsetup.png
      natsetup.png_thumb

      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.7.2, 24.11

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

        Sorry, i did delete the outbound rules, but tried to set it on (another interface). no difference.

        Now deleted again.

        PM on the way….

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

          If that network is suppose to be routed to you - then you would turn off nat.  If that netblock is just addresses you can use on your wan interface.  Then you would create them as VIPs and nat to the local addresses behind pfsense to access them from the pubic.

          If they were giving you that /27 to use on the wan, you should have a gateway address in that /27 which is there device.  If they are going to route it to you.  Then that should show up in the traceroute - which it does not.

          So I would suggest you contact your ISP for details of what you can or can not do with that /27..  But in a normal setup you would not setup a gateway address on a different network segment like you suggested with this.

          "I can ex. give my host all static ip on 62.116.200.128/27 network with gateway 62.116.223.133"

          That is not a standard sort of setup, and many OSes will not even allow you to do that - windows for example would tell you to get bent if you tried to do that..

          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.7.2, 24.11

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

            Thanks i will make some further test with .134 as gateway and other scenarios.

            I will return  :)

            Thanks so far!  ;)

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

              Okay SOLVED!

              I just had to bridge WAN and LAN….

              Now everything works....  :)

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

                NO!!!  That is NOT how you would do it!!

                That is NOT a routed solution.

                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.7.2, 24.11

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

                  Damn….  :-\

                  Why is this not a "proper" solution?  :)

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

                    Because its NOT Routed like you stated from your isp..  Tell them to FIX their problem!

                    You stated in PM, that ISP gave you this info

                    "IP adresser: 62.116.200.128/27 will be routed to 62.116.223.134"

                    That is NOT what is happening, as I stated before - from a trace it looks like that router thinks your IP range should be directly connected.  Which is not a route to your 223.134 address.

                    You do understand a bridge from public INTERNET to your LAN is going to just be Filled with NOISE!!

                    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.7.2, 24.11

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

                      SO TRUE!!!

                      My ISP have looked into it, there was some routings issues… now fixed!

                      Bridge mode is OFF now - Seems like it is working correctly now. Traffic is being routed correctly. :)

                      Thanks a lot!!!!!

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

                        You sure??  I don't see your 223.134 in the trace??

                        17  212.73.252.6  131.313 ms  127.157 ms  131.363 ms
                        18  93.176.93.105  132.265 ms  132.466 ms  130.824 ms
                        19  62.116.200.129  140.069 ms  139.443 ms  139.987 ms

                        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.7.2, 24.11

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