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

    Forward /29 through gre tunnel and allocate public ips on hosts.

    Scheduled Pinned Locked Moved General pfSense Questions
    41 Posts 3 Posters 7.7k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      I meant traceroute the other way, from 185.113.143.50 out to something. Where it's failing.

      S 1 Reply Last reply Reply Quote 0
      • S
        s_serra @stephenw10
        last edited by s_serra

        @stephenw10

        root@teste:~# ip a
        1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
            link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
            inet 127.0.0.1/8 scope host lo
               valid_lft forever preferred_lft forever
            inet6 ::1/128 scope host 
               valid_lft forever preferred_lft forever
        2: eth0@if25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
            link/ether f2:b5:b6:9a:c0:aa brd ff:ff:ff:ff:ff:ff link-netnsid 0
            inet 185.113.143.50/28 brd 185.113.143.63 scope global eth0
               valid_lft forever preferred_lft forever
            inet6 fe80::f0b5:b6ff:fe9a:c0aa/64 scope link 
               valid_lft forever preferred_lft forever
        root@teste:~# traceroute google.com
        traceroute to google.com (142.250.184.174), 30 hops max, 60 byte packets
         1  10.0.2.2 (10.0.2.2)  8.151 ms  8.112 ms  8.087 ms
         2  gw-141.i4w.pt (185.113.141.1)  8.250 ms  8.252 ms  8.265 ms
         3  172.16.8.2 (172.16.8.2)  8.402 ms  8.373 ms  8.355 ms
         4  * * *
         5  * * *
         6  * * *
         7  * * *
         8  * * *
         9  * * *
        10  * * *
        11  * * *
        12  * * *
        13  * * *
        14  * * *
        15  * * *
        16  * * *
        17  * * *
        18  * * *
        19  * * *
        20  * * *
        21  * * *
        22  * * *
        23  * * *
        24  * * *
        25  * * *
        26  * * *
        27  * * *
        28  * * *
        29  * * *
        30  * * *
        root@teste:~# 
        
        root@teste:~# traceroute 185.83.212.22
        traceroute to 185.83.212.22 (185.83.212.22), 30 hops max, 60 byte packets
         1  10.0.2.2 (10.0.2.2)  8.377 ms  8.336 ms  8.310 ms
         2  gw-141.i4w.pt (185.113.141.1)  8.664 ms  8.635 ms  8.611 ms
         3  NOS.AS2860.gigapix.pt (193.136.251.4)  9.810 ms  9.785 ms  9.949 ms
         4  * * *
         5  * * *
         6  pt1.cr1.as44222.net (185.83.212.11)  13.488 ms  13.176 ms  13.130 ms
         7  * * *
         8  * * *
         9  * * *
        
        .......
        
        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Hmm, that 2nd trace looks like it's succeeding, just the target not responding.

          Can it ping 185.83.212.22? That responds for me.

          Steve

          S 1 Reply Last reply Reply Quote 0
          • S
            s_serra @stephenw10
            last edited by

            @stephenw10

            Traceroute is working strangely. Ping does not work.

            Curl to ifconfig.me to check external ip doesn't work either.

            root@teste:~# traceroute 185.83.212.22
            traceroute to 185.83.212.22 (185.83.212.22), 30 hops max, 60 byte packets
             1  10.0.2.2 (10.0.2.2)  8.143 ms  8.094 ms  8.068 ms
             2  gw-141.i4w.pt (185.113.141.1)  8.473 ms  8.448 ms  8.424 ms
             3  NOS.AS2860.gigapix.pt (193.136.251.4)  9.113 ms  9.088 ms  9.173 ms
             4  * * *
             5  * * *
             6  pt1.cr1.as44222.net (185.83.212.11)  13.342 ms  13.255 ms  13.206 ms
             7  * * *
             8  * * *
             9  * * *
            10  * * *
            11  * * *
            12  * * *
            13  * * *
            14  * * *
            15  * * *
            16  * * *
            17  * * *
            18  * * *
            19  * * *
            20  * * *
            21  * * *
            22  * * *
            23  * * *
            24  * * *
            25  * * *
            26  * * *
            27  * * *
            28  * * *
            29  * * *
            30  * * *
            root@teste:~# ping 185.83.212.22
            PING 185.83.212.22 (185.83.212.22) 56(84) bytes of data.
            ^C
            --- 185.83.212.22 ping statistics ---
            9 packets transmitted, 0 received, 100% packet loss, time 8171ms
            
            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              What about if you traceroute with ICMP?:

              traceroute -I 185.83.212.22
              

              That completes for me here.

              S 1 Reply Last reply Reply Quote 0
              • S
                s_serra @stephenw10
                last edited by

                @stephenw10

                It's very strange, sometimes my pc's ping to 185.113.143.50 works, other times it doesn't, without touching anything.

                root@teste:~# traceroute -I 185.83.212.22
                traceroute to 185.83.212.22 (185.83.212.22), 30 hops max, 60 byte packets
                 1  10.0.2.2 (10.0.2.2)  8.193 ms  8.163 ms  8.156 ms
                 2  gw-141.i4w.pt (185.113.141.1)  8.433 ms  8.427 ms  8.424 ms
                 3  NOS.AS2860.gigapix.pt (193.136.251.4)  9.332 ms  9.376 ms  9.587 ms
                 4  10.255.184.110 (10.255.184.110)  13.387 ms  13.381 ms  13.407 ms
                 5  * * *
                 6  pt1.cr1.as44222.net (185.83.212.11)  13.336 ms  13.000 ms  12.967 ms
                 7  * * *
                 8  * * *
                 9  * * *
                10  * * *
                11  * * *
                12  * * *
                13  * * *
                14  * * *
                15  * * *
                16  * * *
                17  * * *
                18  * * *
                19  * * *
                20  * * *
                21  * * *
                22  * * *
                23  * * *
                24  * * *
                25  * * *
                26  * * *
                27  * * *
                28  * * *
                29  * * *
                30  * * *
                root@teste:~# 
                
                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  And still nothing shown in the firewall logs as blocked on either pfSense install?

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    s_serra @stephenw10
                    last edited by

                    @stephenw10

                    in the local pfsense no, in the remote the firewall is disabled.

                    07f99c08-7059-45fe-b557-8e181f13006c-image.png

                    375c4151-cd1f-41a4-b6e0-1e201917f55a-image.png

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Hmm, well I see nothing in pfSense that would be causing a problem here and you say nothing changed there.

                      I can't ping 185.113.143.50 from here:

                      PING 185.113.143.50 (185.113.143.50) 56(84) bytes of data.
                      From 194.38.148.182 icmp_seq=1 Destination Host Unreachable
                      

                      But I don't know if I should be able to.

                      If you can't ping into the routed subnet either that looks more like some routing issue. But it doesn't look like it's in pfSense because it can traceroute to something at least as far as the ISP.

                      Steve

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        s_serra @stephenw10
                        last edited by

                        @stephenw10

                        The ip 185.113.143.49 is the ip of the vlan interface of the local pfsense and I think it's always working fine (the icmp is active you can ping it). The rest of the vms that have 185.113.143.49 as a gateway don't work well sometimes it works sometimes it doesn't.

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Doesn't work from here:

                          PING 185.113.143.49 (185.113.143.49) 56(84) bytes of data.
                          From 194.38.148.182 icmp_seq=1 Destination Host Unreachable
                          From 194.38.148.182 icmp_seq=2 Destination Host Unreachable
                          

                          Something filtering the source upstream?

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            tedquade @stephenw10
                            last edited by

                            @stephenw10 works from my location:

                            C:\Users\Ted>ping 185.113.143.49

                            Pinging 185.113.143.49 with 32 bytes of data:
                            Reply from 185.113.143.49: bytes=32 time=215ms TTL=48
                            Reply from 185.113.143.49: bytes=32 time=209ms TTL=48
                            Reply from 185.113.143.49: bytes=32 time=215ms TTL=48
                            Reply from 185.113.143.49: bytes=32 time=225ms TTL=48

                            Ping statistics for 185.113.143.49:
                            Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
                            Approximate round trip times in milli-seconds:
                            Minimum = 209ms, Maximum = 225ms, Average = 216ms

                            C:\Users\Ted>

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              Mmm, still failing here so it looks like something rejecting it for some sources.

                              Does your route go through 194.38.148.182?

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                tedquade @stephenw10
                                last edited by

                                @stephenw10 It does not.

                                I attempted to post the complete traceroute but it was flagged as spam.

                                Ted

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  Mmm, this appears to be something in the route. I don't believe this is anything to do with either pfSense box.

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    s_serra @stephenw10
                                    last edited by

                                    It's very strange if it's something out of the two pfsense I don't have access to their network and I can't do anything. I already sent a message to my isp and they say that on their side everything is fine. I use https://lg.as44222.net/ to test the ping as they are linked to the same ixp . It could probably be a routing conflict on their side or the ddos protection they have that is causing these problems. Thank you for your help.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      s_serra
                                      last edited by

                                      I was in contact with my ISP and we managed to solve the problem by changing the ip 185.113.141.145 to the ip 185.113.143.xx inside the /24 of my /28. Thank you for help.

                                      1 Reply Last reply Reply Quote 1
                                      • stephenw10S stephenw10 referenced this topic on
                                      • S s_serra referenced this topic on
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.