Welcome! Log In Create A New Profile

Advanced

Nginx as DTLS termination proxy?

Posted by motomyslen 
Nginx as DTLS termination proxy?
March 07, 2019 03:02AM
Does Nginx or Nginx Plus can be used as DTLS termination proxy? I tried to do simple proxy something like this

stream {
server {
listen 20001 udp;
proxy_pass 172.17.0.1:20000;
}

server {
listen 1884;
proxy_pass 172.17.0.1:1883;
}
}

It works for TCP but it breaks connection/packets for UDP. I tried on a very simple python proxy and forwarding UDP packets works but with Nginx not. I want to achive something like this: MQTT-SN client -> (DTLS encryption) -> (DTLS termination proxy) -> MQTT-SN Gateway is it possible with Nginx?
Re: Nginx as DTLS termination proxy?
May 30, 2019 10:45AM
There is experimental patch for DTLS protocol. Give it a shot.

http://nginx.org/patches/dtls/README.txt
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 168
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready