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 - DerMozart

#1
The widget is now fully compatible with the new dashboard system.
#2
German - Deutsch / Re: openvpn Hide.me
September 20, 2021, 09:08:51 PM
ok, nach längerem rumprobieren habe ich den Fehler gefunden. Das Problem ist, dass opnsense bei der Verbindung nur tls-auth in der Konfiguration anlegt. Daher muss hier der Haken entfernt werden, dafür wird dann bei den erweiterten Einstellungen tls-crypt und der Pfad zum TLS-Key hinzugefügt. Das hat bei mir funktioniert:
tls-crypt /var/etc/openvpn/client1.tls-auth (die client1.tls-auth Datei hat er beim ersten Mal mit Haken bei auth angelegt)
#3
German - Deutsch / Re: openvpn Hide.me
September 20, 2021, 08:43:08 PM

Ich schließe mich an, kriege das VPN von hide.me auch nicht zum laufen.
Hier mal meine Log-Ausgabe:
Quote
2021-09-20T20:36:07   openvpn[56664]   UDPv4 WRITE [54] to [AF_INET]185.232.23.181:3000: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 pid=[ #3 ] [ ] pid=0 DATA len=0   
2021-09-20T20:36:02   openvpn[56664]   UDPv4 WRITE [54] to [AF_INET]185.232.23.181:3000: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 pid=[ #2 ] [ ] pid=0 DATA len=0   
2021-09-20T20:36:00   openvpn[56664]   UDPv4 WRITE [54] to [AF_INET]185.232.23.181:3000: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 pid=[ #1 ] [ ] pid=0 DATA len=0   
2021-09-20T20:36:00   openvpn[56664]   UDPv4 link remote: [AF_INET]185.232.23.181:3000   
2021-09-20T20:36:00   openvpn[56664]   UDPv4 link local (bound): [AF_INET]<adresse entfernt>:0   
2021-09-20T20:36:00   openvpn[56664]   Socket Buffers: R=[42080->42080] S=[57344->57344]   
2021-09-20T20:36:00   openvpn[56664]   TCP/UDP: Preserving recently used remote address: [AF_INET]185.232.23.181:3000   
2021-09-20T20:36:00   openvpn[56664]   Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1569,tun-mtu 1500,proto UDPv4,keydir 0,cipher AES-256-CBC,auth SHA256,keysize 256,tls-auth,key-method 2,tls-server'   
2021-09-20T20:36:00   openvpn[56664]   Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1569,tun-mtu 1500,proto UDPv4,keydir 1,cipher AES-256-CBC,auth SHA256,keysize 256,tls-auth,key-method 2,tls-client'   
2021-09-20T20:36:00   openvpn[56664]   Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]   
2021-09-20T20:36:00   openvpn[56664]   Control Channel MTU parms [ L:1621 D:1172 EF:78 EB:0 ET:0 EL:3 ]   
2021-09-20T20:36:00   openvpn[56664]   Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication   
2021-09-20T20:36:00   openvpn[56664]   Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication   
2021-09-20T20:36:00   openvpn[56664]   Re-using SSL/TLS context   
2021-09-20T20:36:00   openvpn[56664]   NOTE: the current --script-security setting may allow this configuration to call user-defined scripts   
2021-09-20T20:35:55   openvpn[56664]   Restart pause, 5 second(s)   


Eigentlich sollte nach dem "UDPv4 link remote" folgendes kommen:
Quote
TLS: Initial packet from [AF_INET
kommt aber leider nicht.


Ich hab auch mal testweise die Konfiguration mal via ssh direkt unter /var/etc/openvpn angelegt, aber auch das hatte keinen Erfolg.
Die selbe Config mit Tunnelblick auf dem Mac hat aber funktioniert. Jemand ne Idee?
#4
Hi my name is Johannes and I am new to the forum (just registered, this is my first post).
I found this archived post:
https://forum.opnsense.org/index.php?topic=7815.0
but no solution to the problem of having a list of the current dhcp clients in the network.

So I copied some stuff from some scripts and created a widget for the dashboard, you can find it here:
https://github.com/jbaconsult/opnsense_stuff/blob/main/dhcp_leases.widget.php

Looking forward to your comments and suggestions. Maybe there is already a widget for this and I just didn't know, then please ignore this.

Cheers
Johannes