derit-azubi61
Goto Top

OpenVPN via Nginx Proxy Manager

Hallo IT-Könige,

ich weiß nicht wie ich anfangen soll, da ich neu hier auf der Plattform bin aber mich mit IT schon seit drei beschäftige und auch sämtliche Projekte in mein HomeLab gestartet hatte.

Diesmal hab ich ein kniffliges Projekt, woran ich schon seit mehreren Wochen beschäftigt bin und dran tüftle.
Und zwar geht es um eine OpenVPN-Connection via Nginx Proxy Manager, da oftmals die Ports TCP/443 und TCP/80 offen sind.

Infos zu NPM: Bisher habe ich da sämtliche Access List User erstellt und mit den jeglichen VPN Domains verbunden, jedoch wurde die Verbindung trotzdem fehlgeschlagen. Und hoffe sehr, dass ich hier meine Hilfe finde.

Hier ist meine OpenVPN-Client Konfig
client
dev tun
proto tcp
http-proxy public ip 80 stdin basic
<http-proxy-user-pass>
user
pass
</http-proxy-user-pass>
remote beispiel.domain.com 80
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
ignore-unknown-option block-outside-dns
verb 3

Hier sind die Logs aus OpenVPN:

2023-09-26 12:50:05 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.  
2023-09-26 12:50:05 OpenVPN 2.5.5 Windows-MSVC [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Dec 15 2021
2023-09-26 12:50:05 Windows version 10.0 (Windows 10 or greater) 64bit
2023-09-26 12:50:05 library versions: OpenSSL 1.1.1l  24 Aug 2021, LZO 2.10
2023-09-26 12:50:05 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25345
2023-09-26 12:50:05 Need hold release from management interface, waiting...
2023-09-26 12:50:05 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25345
2023-09-26 12:50:05 MANAGEMENT: CMD 'state on'  
2023-09-26 12:50:05 MANAGEMENT: CMD 'log all on'  
2023-09-26 12:50:05 MANAGEMENT: CMD 'echo all on'  
2023-09-26 12:50:05 MANAGEMENT: CMD 'bytecount 5'  
2023-09-26 12:50:05 MANAGEMENT: CMD 'hold off'  
2023-09-26 12:50:05 MANAGEMENT: CMD 'hold release'  
2023-09-26 12:50:05 MANAGEMENT: CMD 'proxy HTTP public ip 80'  
2023-09-26 12:50:07 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key  
2023-09-26 12:50:07 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication  
2023-09-26 12:50:07 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key  
2023-09-26 12:50:07 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication  
2023-09-26 12:50:07 TCP/UDP: Preserving recently used remote address: [AF_INET]publicip:80
2023-09-26 12:50:07 Socket Buffers: R=[65536->65536] S=[65536->65536]
2023-09-26 12:50:07 Attempting to establish TCP connection with [AF_INET]publicip:80 [nonblock]
2023-09-26 12:50:07 MANAGEMENT: >STATE:1695725407,TCP_CONNECT,,,,,,
2023-09-26 12:50:07 TCP connection established with [AF_INET]publicip:80
2023-09-26 12:50:07 Send to HTTP proxy: 'CONNECT beispiel.domain.com:80 HTTP/1.0'  
2023-09-26 12:50:07 Send to HTTP proxy: 'Host: beispiel.domain.com'  
2023-09-26 12:50:07 HTTP proxy returned: 'HTTP/1.1 403 Forbidden'  
2023-09-26 12:50:07 HTTP proxy returned bad status
2023-09-26 12:50:07 SIGUSR1[soft,init_instance] received, process restarting
2023-09-26 12:50:07 MANAGEMENT: >STATE:1695725407,RECONNECTING,init_instance,,,,,
2023-09-26 12:50:07 Restart pause, 5 second(s)
npm
2023-09-26_14h41_41

Content-Key: 52977503774

Url: https://administrator.de/contentid/52977503774

Printed on: May 2, 2024 at 08:05 o'clock