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

NAT-Firewall rule bug?

NAT
4
8
3.6k
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.
  • A
    aciu
    last edited by Feb 19, 2007, 8:45 PM

    I created a nat from WAN to an ip in my LAN, forwarding one port . First, I setup only UDP proto. After a while, a realized  that I need TCP too, so I modified the nat from UDP to TCP/UDP. I was surprised seeing that this is not working, until I verified the firewall rules and I saw that the rule was accepting only UDP connections. Should'nt have the firewall rule changed automagically after I change the nat? Of course, I pressed "Apply The Changes" button.

    1 Reply Last reply Reply Quote 0
    • H
      hoba
      last edited by Feb 19, 2007, 9:37 PM

      No. Firewallrules/NAT rules are not linked together. You have to maintain them seperately if needed.

      1 Reply Last reply Reply Quote 0
      • A
        aciu
        last edited by Feb 20, 2007, 7:27 AM

        OK, thanks, but couldn't this action(modify the firewall rules according the nat) be introduced into the future release? I belive some others ran into this thing..

        1 Reply Last reply Reply Quote 0
        • J
          JeGr LAYER 8 Moderator
          last edited by Feb 20, 2007, 7:41 AM

          That would mean, there has to be some link between the NAT rule and the corresponding filtering rule, that at the moment isn't there yet (besides the auto-commenting of the fw rule). But personally I'm not sure I'd want that as now I'm able to e.g. disable it or modify the filtering rule if I want to temporarily disable this mapping. But as always either way has it's pros and cons :)

          Greets
          Grey

          Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

          If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

          1 Reply Last reply Reply Quote 0
          • H
            hoba
            last edited by Feb 20, 2007, 6:21 PM Feb 20, 2007, 11:15 AM

            I don't like the idea to link them together. How would you handle editet firewallrules like only allow access to this portforward from special IPs? I think it's good the way it is now. You just have to know how it works.

            1 Reply Last reply Reply Quote 0
            • A
              aciu
              last edited by Feb 20, 2007, 5:46 PM Feb 20, 2007, 5:44 PM

              You are right, I understand what your are trying to say and I belive now that this is the right way. Thanks again and I hope to I'll be more useful next time :D. Keep up the good work!!!

              1 Reply Last reply Reply Quote 0
              • Y
                yoda715
                last edited by Feb 22, 2007, 12:37 AM Feb 22, 2007, 12:31 AM

                This functionality already exist, somewhat. Use an alias in both the NAT and Firewall rule. Then when you modify the Alias and it will alter the rule and the Nat. :)

                1 Reply Last reply Reply Quote 0
                • H
                  hoba
                  last edited by Feb 22, 2007, 1:08 PM

                  That's right but it wouldn't help in this example as he changed protocols ;)

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