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

Error when using port aliases in NAT in Beta3

Scheduled Pinned Locked Moved NAT
6 Posts 3 Posters 3.0k 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.
  • M
    msamblanet
    last edited by Apr 19, 2006, 1:35 AM

    Just upgraded from Beta2 to Beta3 and imported my old config (clean install, import old config backup)

    If I add the following single port NAT using an alias I get the error below - if I use the port # instead of the alias it works…Not a huge deal but was slightly confusing when I brought up my old config  ???

    If I can do anything further to help you troubleshoot, just let me know...

    Rule:
    WAN to Interface Address, UDP, From Teamspeak (alias for 8767), NAT to 10.11.12.16, Localport Teamspeak

    ERROR:

    php: : There were error(s) loading the rules: no IP address found for 10.11.12.16:* /tmp/rules.debug:117: could not parse host specification pfctl: Syntax error in config file: pf rules not loaded - The line in question reads* :

    Line from rules.debug when failing:
    
    rdr on rl0 proto udp from any to 68.100.12.254 port 8767:20000 -> 10.11.12.16:*
    
    Line from working rules.debug:
    
    rdr on rl0 proto udp from any to 68.100.12.254 port { 8767 } -> 10.11.12.16 port 8767
    
    1 Reply Last reply Reply Quote 0
    • S
      sullrich
      last edited by Apr 19, 2006, 2:05 AM

      Is :20000  really the range you want or is it an error somehow?

      Also is reflection turned on in system -> advanced?  If so, please try turning it off and see if the problem persists.

      1 Reply Last reply Reply Quote 0
      • M
        msamblanet
        last edited by Apr 19, 2006, 11:58 AM

        Nope - just trying to NAT a single port.

        Will try turning off the reflection tongiht.

        1 Reply Last reply Reply Quote 0
        • M
          msamblanet
          last edited by Apr 19, 2006, 12:03 PM

          Actually had a second just now and turned off reflection (I didn't actually need/want it anyways) - same error however…

          BTW - is there anyplace in the GUI I can view on a full screen the notices and generated rules?  If not would be a nice future feature :)

          1 Reply Last reply Reply Quote 0
          • H
            hoba
            last edited by Apr 19, 2006, 12:15 PM

            diagnsotics>edit file, open "/tmp/rules.debug"

            1 Reply Last reply Reply Quote 0
            • M
              msamblanet
              last edited by Apr 19, 2006, 6:25 PM

              :-[ Well, I feel stupid now - entirely forgot about the view file feature - Thanks for pointing it out :-[

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