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

Messages - dMopp

#31
24.1, 24.4 Legacy Series / Re: Kea and MACs
May 21, 2024, 01:05:39 PM
Did it help?
#32
Quote from: h3krn on April 12, 2024, 09:50:13 AM
Thnks for the feedback pkejval. I already found several more issues with my version.
- when kea cleans the memfile, the inode nr does not change. So the tailing stops.
- sending a break, stops csv.dictreader from tailing the file.
- need to add parsing of the kea config to assign the correct dns domain to a range.

I'll try to improve over time, but for now its a WiP. Once I have something that's actually running, we can try to get it upstream.


Quote from: pkejval on April 12, 2024, 07:34:37 AM
Quote from: h3krn on March 26, 2024, 01:03:59 PMIt's far from perfect, but I hope someone finds this useful?

https://gist.github.com/h3krn/17c6610281e585d6b4efb43d1395802d

Grtz, Harm

Thank you very much! This is most missing feature of KEA DHCP for me. You should try to upstream this into OPNsense.
I adjusted it little bit because it gave me double domain for some hosts: https://gist.github.com/pkejval/49ff234bb81da59fde6ca1b03f4d4240/revisions

Sadly this script breaks v6 leases (still dhcpd)
#33
Quote from: dMopp on May 07, 2024, 12:39:37 PM
Thanks for the great tutorial.

Is there a way to exclude the HTTPS force for specific Backends? (Based on the tutorial here). Background: For HomeAssistant and stupid IOT devices, i need to have my HA instance reachable over http, too (with a different domain at least so i can firewall it a lot :D)
Ping
#34
24.1, 24.4 Legacy Series / Re: Kea and MACs
May 07, 2024, 08:40:26 PM
Try to raise lease time. Use the ISC DHCP value. AFAIK apple devices are kinda strict
#35
Thanks for the great tutorial.

Is there a way to exclude the HTTPS force for specific Backends? (Based on the tutorial here). Background: For HomeAssistant and stupid IOT devices, i need to have my HA instance reachable over http, too (with a different domain at least so i can firewall it a lot :D)
#36
24.1, 24.4 Legacy Series / Re: Firewall Rule Issue
April 15, 2024, 08:32:31 PM
Anyone ?
#37
24.1, 24.4 Legacy Series / Firewall Rule Issue
April 10, 2024, 12:00:52 AM
Hi,

i have a (at least for me) strange issue:

I have a Setup with 2 Physical Interfaces and multiple VLANs.

The issue i have:
One host in the untagged (native) network is trying to reach the IPv6 fd11:192:168:10::10 (SERVERS VLAN) and gets no response, UNTIL i add a firewall rule INSIDE the SERVERS VLAN to allow traffic TO the native network. Even more strange: this only counts for IPv6. IPv4 does not have that kind of issues here (picmp, etc are fine). Any idea why only IPV6 is affected? All the rules i have are IPv4 AND ipv6 (triple checked) and adding the rule to the TARGET network does not seems to make any sense.


To rebuild this:

Have one Physical Interface with Multiple VLANs

Have a Host in the untagged network
Have a Host in the VLAN 10

Have a rule in untagged VLAN allow ALL traffic IP4/6 to VLAN10
IPv4 Ping works fine
IPv6 Ping not

The same works from another VLAN to the VLAN10 but not von UNTAGGED network to VLAn and ONLY for IPv6
#38
Hi, iam playing around with the traffic shaper and normalization but i dont get the stuff to work right.

What do i want?

- Tag ALL HTTPS Traffic to CS1
- Put CS1 Tagged traffic into the CS1 Queue.

What did i have done?

- Created a normalization rule to add CS1 to all packages on my interfaces (WAN/LAN) matching TCP/UDP 443
- Created a shaper rule matching all outgoing (and ingoin, two separated rules) and put them to the correct queue


Problem: My CS1 queue is still empty i dont get why
#39
Your LAN Interface needs a static IPV6 address. Tracking is only ,,required" (not really) with native ipv6 wan.

After setting up a IPv6, the submenu of the dhcpv6 will change.
#40
Enable DHCPv6 + Router Advertisement under services. Done ;) (they don't need IPv6 to WAN)
#41
Use /32 and not /24. /24 is a whole net where /32 is a single IP (where /128 is a single ipv6)
#42
23.7 Legacy Series / Re: High CPU usage when downloading
November 24, 2023, 10:14:07 PM
Hardware offload active ?
#43
Do it port based. Create a rule for that port and change the gateway to the preferred WAN
#44
Uh, i observe a load spike at 3:30 every night as well...

In addition every now and then the whole firewall goes crazy. Swapping, high load packet loss... and I can't check anything at that moment anymore, it's kinda dead. Logs are fine.
#45
Approach seems to work, too. Applied, rebootet and all gateways are there as it should :)