1
23.7 Legacy Series / Re: Alias issues with Port(s)
« on: November 21, 2023, 11:39:09 am »
I made a clumsy mistake that I kept looking over. Apologies. This topic can be closed.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
/tmp/rules.debug
Here is a python script which creates a json file for upload.
I am perfectly on board with nesting.
Create aliases like
Port_Application
Host4_Description
Net6_Description
and use groups. I am not missing anything and I would consider this best practice. I have been managing firewalls for 30 years.
Does it work? If it does, I guess so?
Hello,
You not getting what you expected perhaps because the Nameserver you have configured for the firewall. Eg, Settings -> General: DNS Servers. Unless you manually configure Unbound upstream nameservers and switch DNS Server to 127.0.0.1, you will not get the expected result.
Note, if you leave Unbound unconfigured to contact nameservers on it's own, it will use the firewall DNS servers. So simply setting DNS Servers to 127.0.0.1 blindly will have undesired consequences.
Regards
Trying "testing.lan"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14785
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;testing.lan. IN A
;; ANSWER SECTION:
testing.lan. 3600 IN A 192.168.10.15
Received 42 bytes from 127.0.0.1#53 in 0 ms
Trying "testing.lan"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3075
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;testing.lan. IN AAAA
Received 26 bytes from 127.0.0.1#53 in 0 ms
Trying "testing.lan"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17918
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;testing.lan. IN MX
Received 26 bytes from 127.0.0.1#53 in 0 ms
host | Domain | Type | Value | Description |
testing | lan | A | 102.168.10.15 | Test server |
ping testing.lan
Pinging testing.lan [192.168.10.15] with 32 bytes of data:
ping testing.lan
ping: cannot resolve testing.lan: Unknown host
ping 192.168.10.15
PING 192.168.10.15 (192.168.10.15): 56 data bytes
64 bytes from 192.168.10.15: icmp_seq=0 ttl=64 time=0.506 ms
host -d testing.lan
Trying "testing.lan"
Trying "testing.lan.lan"
Host testing.lan not found: 3(NXDOMAIN)
Received 105 bytes from xxx.xxx.xx.xx#53 in 13 ms