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

    Problems witn filter rule (created by inbound nat)

    Scheduled Pinned Locked Moved Firewalling
    1 Posts 1 Posters 1.1k 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
      duTch
      last edited by

      hello

      i have pfsense 1.2.3-RELEASE installed (have some expirience with older releases and m0n0 also)

      i must let dns from internet to comunicate with dns on my lan. to do so, before, i have make inbound nat and
      setup firewall rule to allow this activity like this

      port forward

      WAN  TCP/UDP  53 (DNS)  192.168.200.10
      (ext.: 192.168.0.3) 53 (DNS)

      rule in firewall

      TCP/UDP  *  *  192.168.200.10  53 (DNS)  *      NAT

      and error i see in filter reload status is

      There were error(s) loading the rules: /tmp/rules.debug:139: syntax error pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [139]: pass in quick on $wan reply-to (xl0 192.168.0.1 255.255.255.0) proto { tcp udp } from any to { 192.168.200.10 } port = 53 keep state label "USER_RULE: NAT "

      problem is maybe in point that i didnt work before with my wan (in private range (192.168.0.3) like this is here

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