> 2 марта 2024 г., в 19:17, Kapetanakis Giannis <bil...@edu.physics.uoc.gr> 
> написал(а):
> 
> On 02/03/2024 16:50, Kasak wrote:
>> 
>>>> 2 марта 2024 г., в 15:21, Kapetanakis Giannis <bil...@edu.physics.uoc.gr> 
>>>> написал(а):
>>> 
>>> On 02/03/2024 12:46, Kasak wrote:
>>>> Hello misc! There is a good manual on OpenBSD faq about redirection and 
>>>> reflection, here it is: https://www.openbsd.org/faq/pf/rdr.html#tcpproxy
>>>> 
>>>> I’m using nginx as tcp and udp proxy, but maybe there is another software, 
>>>> more suitable for this task?
>>>> I need to redirect and reflect near 15 tcp ports and couple of udp.
>>>> I know I can do this with only pf, but I switched to nginx intentionally, 
>>>> because this amount of ports made my pf config hard readable.
>>>> Thank you in advance!
>>>> 
>>>> 
>>> You probably need relayd
>>> 
>>> G
>>> 
>> That was my first idea, but unfortunately relayd does not support udp. Or 
>> I’m wrong?
> 
> I'm load balancing DNS UDP and TCP traffic quite fine with relayd redirects.
> 
> Under the hood, relayd redirects do pf rdr-to but you also have checks for 
> backend servers.
> 
> I'm not using relays which is full proxy, where the load balancer opens a new 
> connection to the backend server.
> 
> G
> 
Can I ask you last question before I ruin my setup? :) redirects do reflection? 
I mean, can local network hosts (lan hosts) use external address? 


Reply via email to