OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Firewall rules error
« previous next »
  • Print
Pages: [1]

Author Topic: Firewall rules error  (Read 3391 times)

diegonix

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Firewall rules error
« on: July 13, 2016, 09:20:37 pm »
Hello,

Invalid configuration when creating Firewall rule. The intention was to redirect all IPv6 DNS queries to internal DNS forwarders, since some device came with DNS fixed.

Firewall Logs:
Code: [Select]
There were error(s) loading the rules: /tmp/rules.debug:66: rule expands to no
valid combination - The line in question reads [66]: nat on em0 proto tcp from 192.168.0.1/24 to
 2001:xxx:x:8xx::1 port 53 -> (em0)
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Firewall rules error
« Reply #1 on: July 13, 2016, 10:07:21 pm »
this looks like a nat rule where the source is IPv4 and the destination is IPv6
Logged

diegonix

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: Firewall rules error
« Reply #2 on: July 13, 2016, 11:00:12 pm »
Yes, this was a feedback to prevent user from doing this and maybe add validation logic in GUI.

Code: [Select]
/tmp/rules.debug:
nat on em0 proto tcp from 192.168.1.0/24 to 2001:4xxx:x:xxx::1 port 53 -> (em0)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Firewall rules error
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2