Nginx multiple paths with proxy pass and proxy redirect

So I’m trying to proxy a subdomain to a subdirectory on my root domain. I need to redirect multiple paths so it works correctly. But I’d like to make it shorter and possible maybe more efficient and easier to maintain? location /blog { proxy_set_header Host forum.ultraluz.com.br; proxy_pass https://forum.ultraluz.com.br/; proxy_redirect https://forum.ultraluz.com.br/ http://test.ultraluz.com.br/blog; proxy_set_header X-Real-IP $remote_addr; proxy_set_header…

How OpenVPN3 and/or /dev/net/tun routes packets?

I’m writing an OpenVPN client that does not use tun device. I send the packets directly through the library. For testing, I’m using libtins to craft the IP packets by hand. I did like this: Tins::IP pkt = Tins::IP(“10.139.1.1”) / Tins::TCP(80) / Tins::RawPDU(“I’m a payload!”); pkt.src_addr(“0.0.0.0”); If I send this through the OpenVPN every second,…