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

    Unable to access internet from remote site

    Scheduled Pinned Locked Moved Routing and Multi WAN
    27 Posts 3 Posters 10.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.
    • P
      Perry
      last edited by

      to check for a dns problem you could do something like this.

      from shell tcpdump -i if2 dst port 21

      from a client ftp://204.152.184.73/

      By that your can see what happens on IF2 when you logon to a ftpserver

      –--------------------------------------

      http://your-pfsense-ip/status.php

      you might find something under pfctl
      –------ !! Warning this is written by someone sitting in the sun  !! ------------

      /Perry
      doc.pfsense.org

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

        Tried some 1:1 NATing.
        Worked like a charm for all our subnets except the remote subnet which we have the trouble with.
        Starting to think that there must be something fishy with the router thats handling that subnet.

        More info later.

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

          Hi Perry,

          Here's the result after dumping it to a file and then importing it into Etherreal.

          dump.gif
          dump.gif_thumb

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

            did you try searching in http://your-pfsense-ip/status.php for 10.58.202.21 or 204.152.184.73 after the test, there must be some info there telling us what happens  ::)

            your can also use
            Diagnostics -> Packet Capture
            to trace ip's

            /Perry
            doc.pfsense.org

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

              Here is what I see in status.php during a attempt to connect to an external ftp site.
              I've replaced real IP with "externa_ftp"

              pass in log quick on bge0 inet from 10.58.202.21 to any keep state label "USER_RULE: Log all from 10.58.202.21"
              self tcp 127.0.0.1:8021 <- external_ftp:21 <- 10.58.202.21:3530       SYN_SENT:ESTABLISHED
              USER_RULE: Log all from 10.58.202.21 65739 49 2352
              142 pass in log quick on bge0 inet from 10.58.202.21 to any keep state label "USER_RULE: Log all from 10.58.202.21"
              tcp   I 10.58.202.21:3530     127.0.0.1:8021        2:4      4    29     4   192
              tcp    In  10.58.202.21:3530      127.0.0.1:8021         external_ftp:21           SYN_SENT:ESTABLISHED  00:00:04  00:00:29       4     192     48 142
              tcp       In  10.58.202.21:3530                     127.0.0.1:8021                          SYN_SENT:ESTABLISHED  00:00:05  00:00:28        4      192
              142                  Pass     In  Log Q bge0             K       49     2352        1       inet from 10.58.202.21/32 to anycp    In  10.58.202.21:3530      127.0.0.1:8021               4     192    SYN_SENT:ESTABLISHED  00:00:05  00:00:28      38 142 external_ftp:21
              tcp    In  10.58.202.21:3530      127.0.0.1:8021               4     192    SYN_SENT:ESTABLISHED  00:00:05  00:00:28      38 142 external_ftp:21
              tcp    In  10.58.202.21:3530      127.0.0.1:8021              38     192    SYN_SENT:ESTABLISHED       4  00:00:05  00:00:28 142 external_ftp:21
              May 31 14:57:12 gatekeeper1 pf: 88\. 107669 rule 142/0(match): pass in on bge0: 10.58.202.21.3444 > 127.0.0.1.8021: S 2654838692:2654838692(0) win 65535 <mss 1460,nop,nop,sackok="">
              May 31 14:59:35 gatekeeper1 pf: 2\. 114729 rule 142/0(match): pass in on bge0: 10.58.202.21.3530 > 127.0.0.1.8021: S 3010410930:3010410930(0) win 65535 <mss 1460,nop,nop,sackok="">
              pass in log quick on $lan from {  10.58.202.21 } to any keep state  label "USER_RULE: Log all from 10.58.202.21"</mss></mss>
              
              1 Reply Last reply Reply Quote 0
              • P
                Perry
                last edited by

                For me it looks like it nat's to the wan instead of going out

                tcp    In  10.58.202.21:3530      127.0.0.1:8021        external_ftp:21
                should be
                tcp    In  10.58.202.21:3530      127.0.0.1:8021        204.152.184.73:21

                but since your running nat1:1 i could be completely wrong on how it should look

                I'll Better let the dev's step in now  ;)

                /Perry
                doc.pfsense.org

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

                  1:1 NAT was only temporarily while testing.
                  Those rules were removed before getting this status. So it shouldn't do anything.

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