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

    SOLVED : accessing internal network from wan side

    NAT
    3
    28
    9.4k
    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.
    • H
      hchady
      last edited by

      may be, i cannot also ping the server wan adress from outside

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        By default the pfSense doesn't answer to anything at WAN. You have to add rules for everything that should be allowed. Not answering to pings is default behaviour.

        1 Reply Last reply Reply Quote 0
        • H
          hchady
          last edited by

          hi,
          i have add a rule on wan interface : any to any but pfsense still not pingeable

          1 Reply Last reply Reply Quote 0
          • P
            Perry
            last edited by

            My way (default pfSense install ) echo from wan

            ping.JPG
            ping.JPG_thumb

            /Perry
            doc.pfsense.org

            1 Reply Last reply Reply Quote 0
            • H
              hchady
              last edited by

              still not working here

              1 Reply Last reply Reply Quote 0
              • H
                hoba
                last edited by

                Do you see the blocked traffic at status>systemlogs, firewall? If yes your rules are not correct. If no something in front of you allready is filtering the traffic.

                1 Reply Last reply Reply Quote 0
                • H
                  hchady
                  last edited by

                  i see a lot of blocked rules /IP

                  the actual rule i have now on WAN interface is
                  Intergace : WAN
                  Source : Any
                  Destination : LAN subnet

                  What should i change ?


                  pfsense WAN IP : 134.214.116.244
                  VIP : 134.214.116.30
                  NAT 1:1 : 134.214.116.30 to internal IP : 192.168.10.200

                  1 Reply Last reply Reply Quote 0
                  • H
                    hchady
                    last edited by

                    now and after a reboot, only the WAN IP adress is pingeable from outside but not Virtual IPs.

                    system log show that ping requests are blocked at wan side

                    rules
                    Interface : WAN
                    Source : Any
                    Destination : 134.214.116.30

                    and

                    Interface : WAN
                    Source : Any
                    Destination : WAN adress

                    protocol : Any in both cases

                    1 Reply Last reply Reply Quote 0
                    • H
                      hoba
                      last edited by

                      What version are you running? Sounds like 1.0 which had a rule apply bug under some circumstances. I recommend upgrading.

                      1 Reply Last reply Reply Quote 0
                      • H
                        hchady
                        last edited by

                        I am running the 27-02- Snapshot.
                        I am sure that it is a firewall problem because I see in syslogs that ping to my VIP are blocked…

                        1 Reply Last reply Reply Quote 0
                        • H
                          hoba
                          last edited by

                          Btw, we do not redirect protocol ICMP, so this won't be natted. In case you want to make the VIP pingable you have to use type CARP (currently the only virtual IP that allows for ICMP) and add an firewall rule at WAN for protocol ICMP, source any, destination virtual WAN IP.

                          1 Reply Last reply Reply Quote 0
                          • H
                            hchady
                            last edited by

                            that is exactely what i have done but with Proxy ARP.

                            if i move to crap, I get this error message :
                            Sorry, we could not locate an interface with a matching subnet for 134.214.116.30/32. Please add an ip in this subnet on a real interface

                            1 Reply Last reply Reply Quote 0
                            • H
                              hoba
                              last edited by

                              CARP IPs have to use the real interfaces subnet, not /32.

                              1 Reply Last reply Reply Quote 0
                              • H
                                hchady
                                last edited by

                                the same message :
                                Sorry, we could not locate an interface with a matching subnet for 134.214.116.30/22. Please add an ip in this subnet on a real interface

                                note that on wan i use 134.214.116.x/22 subnet and on lan side : 192.168.10.x/24

                                1 Reply Last reply Reply Quote 0
                                • H
                                  hoba
                                  last edited by

                                  Is your WAN VIP part of the original WAN subnet? If not CARP won't be an option here.

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    hchady
                                    last edited by

                                    yes
                                    my main internet IP adress is 134.214.116.244 /22 … in the same range

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      hchady
                                      last edited by

                                      so ? it is a bugg ?

                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        hoba
                                        last edited by

                                        I don't have the possibility to test atm. It used to work.

                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          hchady
                                          last edited by

                                          i moved my LAN network from 192.168.10.0/24 to 134.214.0.0/22

                                          now i can use CRAP for virtual IP but i still cannot ping VIP from outside.

                                          but now i can ping them from pfsense LAN side …. strange !!

                                          looks like NAT 1:1 working in 1 way

                                          1 Reply Last reply Reply Quote 0
                                          • H
                                            hoba
                                            last edited by

                                            ICMP is not natted You have to allow icmp to your wan vip. Btw, it's CARP and not CRAP  ;)

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