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

    Port forward works - randomly :D

    Scheduled Pinned Locked Moved Routing and Multi WAN
    9 Posts 3 Posters 3.3k 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.
    • J
      josey
      last edited by

      i have
      WAN - DSL pppoe 3mbps/384kbps
      OPT - cable  2mbps UL/DL

      load balancing works fine, failover too, and i am very, very satisfied with PFS, it is awesome, BUT :)
      on nat, port forwarding, i put ports 83, 85, 5900, 5901, etc. and i have put same rules on on opt and wan for all ports, but, some of them works over wan - dyndns and some over OPT, how? em i stupid or what  ???
      for example, port 83 goes over OPT, but 85 goes over wan, same rules for both.

      when i use pfs as single routing machine, and cable or dsl on WAN then ewerithing works just fine.

      any ideas? thanks guys

      1 Reply Last reply Reply Quote 0
      • J
        josey
        last edited by

        27 people have read this topic and no answer  ???  :-\

        1 Reply Last reply Reply Quote 0
        • GruensFroeschliG
          GruensFroeschli
          last edited by

          I'm not sure if i understood that correctly but are you talking about NATing from the internet on two different IP's the same port to a single server?

          If you access something from the "not working" interface. do you see something blocked in the firewall-log?
          If you check the states do you see this specific connection you just established?

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

          1 Reply Last reply Reply Quote 0
          • J
            josey
            last edited by

            @GruensFroeschli:

            I'm not sure if i understood that correctly but are you talking about NATing from the internet on two different IP's the same port to a single server?

            If you access something from the "not working" interface. do you see something blocked in the firewall-log?
            If you check the states do you see this specific connection you just established?

            ok lets go again

            PFS single machine with
            p4 1700mhz and 2x256mbddr with 80 gb hdd
            3 DLINK nic
            LAN 192.168.7.254
            WAN dsl ppoe
            OPT1 optic fiber link with static ip IP xxx.xxx.229.234, gateway xxx.xxx.229.233
            load balancer and fail over works perfectly.

            port forwarding on pfs machine works randomly on WAN and OPT

            as i already said
            ports forwarded to my LAN are 83, 85, 5901 etc…
            so, if i someone try to connect to one of this ports over static IP over optic fiber, it can, but only for some ports, like 83, on 85 can not, but can over dsl.
            firewall and nat rules are the same for all ports.
            why is that happening?

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

              could we see the rules you have on OPT1 and WAN ?

              1 Reply Last reply Reply Quote 0
              • J
                josey
                last edited by

                @sai:

                could we see the rules you have on OPT1 and WAN ?

                this is firewall part of rules from OPT1 link with static IP, wan is like copy paste

                1 Reply Last reply Reply Quote 0
                • J
                  josey
                  last edited by

                  after three days of f*ckin with firewall rules problem is solved.

                  on opt i put wan as gateway and  suddenly everything works. is that your error guys or mine?
                  i mean, there is no logic at all for that, but it works now.

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

                    That does not make any sense to me either. What are your NAT rules?

                    1 Reply Last reply Reply Quote 0
                    • J
                      josey
                      last edited by

                      @sai:

                      That does not make any sense to me either. What are your NAT rules?

                      for example
                      interface OPT
                      external address ANY
                      protocol TCP/UDP
                      external port range (irrelevant)
                      nat ip some network IP (irrelevant)
                      internal port xxxx

                      on firewall rules everything same, except, gw is default, and default gw is WAN ???
                      :)

                      but it works now, no complain ;)

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