I can not reach my server

  • Good afternoon, I'm trying to build a network with the following topology:
    The addresses I use are exactly the ones shown in the diagram. I want to reach my Ubuntu file server with the address For example: I am inside the router in the interface with the address and I try to ping my server but I can not. In the router everything is configured, including the route to the network where the server is located. What is wrong or missing missing?
    Ps: In pfsense I have not set any blocking rules yet.

  • LAYER 8 Global Moderator

    So your on router and your trying to ping IE your source of this traffic is

    And you turned off nat in pfsense?

    You created a route in router that says go to

    You created a firewall rule on pfsense wan 192.168.1/X that allow ICMP or whatever it is your trying to hit on

    Your firewall will also allow this? Its default gateway is

  • My traffic is
    I turned off nat in pfsense.
    I created a route in router that says go to
    I created a firewall rule on pfsense wan 192.168.1/X that allow whatever to hit on default gateway is
    Still no signal.

  • LAYER 8 Global Moderator

    @utilizador_estagio said in I can not reach my server: go to

    Show them!!

    Users say they did X all the time when really ends up being not even Y but more like

    This is clickity clickity works.. You can not even take the time to put in what you actually put in for route because it sure an the hell not would never work.

    Even if you did do it wrong - it takes 2 seconds to troubleshoot. Sniff on pfsense wan do you see the traffic going to Since of pfsense do you see traffic going to

  • @utilizador_estagio What you posted seems correct but of course the devil is in the details. With no other activity, I'd do the pinging and notice whether the RJ45 LED on even blinks, is ANYTHING hitting the box? or not getting out from router at all.

    I don't know what router box you have but routing tables are similar to rules tables, they are evaluated top-to-bottom so if your routing table looks like:

    (entry1) WAN (any network, gateway=WAN)

    Then it never hits entry2.

    Is there a traceroute function in the router box?

  • LAYER 8 Global Moderator

    @sammywoo said in I can not reach my server:

    they are evaluated top-to-bottom

    No where would you have gotten that idea.. Routing tables are not like firewall rules. They are not looked at in "order" but which route is more specific to least specific and if routes are same in specificity then the metric would be used to determine which is used.

    A specific route for a network would be used over default.

  • You can always use the route command to check which route is selected for a specific target:

    $ route -n get default
       route to:
            fib: 0
      interface: re0
          flags: <UP,GATEWAY,DONE,STATIC>
     recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
           0         0         0         0      1500         1         0

    And yes, routing table is looked up by matching the destination address to the table entries and selecting the closest match, order of the table entries makes no difference. For example if you have two entries like: .... ....

    The /32 entry would be selected for the target because it is more specific, the netmask of the entry has more bits set in the network part of the mask.

    Afaik FreeBSD/pfSense doesn't use metrics in its routing tables.

  • yes, i have to try Reset to factory defaults and login web gui now. i dont know why happen this.

Log in to reply