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

    Port Foward Works randomly

    Scheduled Pinned Locked Moved NAT
    4 Posts 2 Posters 520 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.
    • S
      shetu
      last edited by shetu

      Hello
      I open port in pfsense and last few hours it was not working. But now It is working. I do not understand why it is working now. Because I try same setting last 2/3 hours.
      port fow.jpg

      On my centos 6.9 vps i use this...
      iptables -t nat -A PREROUTING -p tcp -d ************ --dport 1196:65535 -j DNAT --to-destination 10.8.0.2:1196-65535
      iptables -t nat -A POSTROUTING -p tcp -s 10.8.0.2 --sport 1196:65535 -j SNAT --to-source ************:1196-65535

      1 Reply Last reply Reply Quote 0
      • RicoR
        Rico LAYER 8 Rebel Alliance
        last edited by

        Still valid, nothing changed the last 3 months in RFC1918 😂
        https://forum.netgate.com/topic/141360/help-need-for-ssh-port-forward-for-asterisk-server

        -Rico

        S 1 Reply Last reply Reply Quote 0
        • S
          shetu @Rico
          last edited by

          @Rico opps..sorry. that number was one of my fav song.

          1 Reply Last reply Reply Quote 0
          • RicoR
            Rico LAYER 8 Rebel Alliance
            last edited by

            You can't just use any public IP in private networks without getting into trouble.
            There are 17.89 million addresses reserved as private, so why the F you use public space?

            -Rico

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