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

Problems with Port Forward

Scheduled Pinned Locked Moved NAT
2 Posts 1 Posters 611 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.
  • D
    Duckmuck
    last edited by Jan 1, 2018, 10:02 PM

    Hi!

    Been reading the port forwarding trouble shooting but cannot seems to figure out what is wrong.

    I have the following setup:

    ISP->WAN(Pfsense, xxx.xxx.xxx.x)
    LAN (Pfsense 10.0.1.1) -> Swtich (clients. 10.0.1.10)

    I have  setup a port forward on 22290 to 10.0.1.1:22 (Works both from internal 10.0.1.0 network as well as when connecting from outside) (this is the pfsense box)
    I have setup up the same rules but 22280 to 10.0.1.10:22 (Only working when connecting from internal network)

    What could be wrong?

    Using Pure Nat
    TFTP proxy on WAN and LAN

    Using These Port Forwards
    WAN TCP * * WAN address 22290 10.0.1.1 22 (SSH)
    WAN TCP * * WAN address 22280 10.0.1.11 22 (SSH)

    And these firewall rules at the top for WAN

    IPv4 TCP * * * 22280 * none  
    IPv4 TCP * * 10.0.1.1 22 (SSH) * none  
        IPv4 TCP * * 10.0.1.10 22 (SSH) * none

    And these for LAN
    IPv4 TCP * * * 22 (SSH) * none

    Done snooping as well but can't see any obvious errors. Anyone have any idea what could be wrong?
    Don't get any specific things in the logs as well.

    Regards, D

    1 Reply Last reply Reply Quote 0
    • D
      Duckmuck
      last edited by Jan 2, 2018, 12:52 PM

      Hi!

      Found the solution finally. Reset my firewall just to be sure.
      Found out the issue was due to default gatway was not set correctly on my client machine.

      Basically did this:
      route add default gw 10.0.1.1 eth1

      Now it seems to work!

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received