Menu

Show posts

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.

Show posts Menu

Topics - neptunus

#1
23.7 Legacy Series / Alias issues with Port(s)
November 16, 2023, 05:19:01 PM
Hello,

I think there is a seriously issue with OPNsense 23.7.8_1-amd64 and Alias and Port(s). If I would like to add a Alias Port(s) in Firewall: Aliases. The web interface is working. The alias with the name is nicely added. But in Firewall: Diagnostics: Aliases it is not shown. Also the firewall rule where I would like to use the alias is also not working.

By checking:
pfctl -t $ALIAS -T show
returns an error
pfctl: Unknown error: -1.

If a use the same cmd with a existing Network(s) alias. It works and shows the IPs.

Am I doing something wrong? Or have I indeed found a bug in this version?



 

#2
18.7 Legacy Series / [SOLVED] Unbound DNS: Overrides
January 01, 2019, 05:17:35 PM
Hello,

I have a  Unbound DNS: Override configured.




hostDomainTypeValueDescription
testinglanA102.168.10.15Test server

If I ping from a machine in the same subnet is get a DNS lookup.
ping testing.lan
Pinging testing.lan [192.168.10.15] with 32 bytes of data:


But if I ping from de opnsense shell I don't get a response on the DNS lookup.
ping testing.lan
ping: cannot resolve testing.lan: Unknown host


HoweverI can ping the IP.
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


If a do a host -d lookup for testing.lan I see that the DNS request is going to the DNS server I configured in "System: Settings: General"
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


Maybe I do not understand Unbound DNS yet?
In "Unbound DNS: General" I also selected in "Network Interfaces" "Localhost". By doing this I was expecting that from OPNsense shell I could also do a DNS lookup to a DNS name that was configured in the Overrides table.

Do I make a mistake? Someone tips / hits?