I want to forward some ip addresses to a local socket5 proxy port. How to do it in vyos?
I’m not sure, that this is what you are want, but, you may try to create DNAT rule instead REDIRECT:
set nat destination rule 10 inbound-interface eth2 set nat destination rule 10 source address 192.168.55.0/24 set nat destination rule 10 translation address 192.168.1.1
eth2 - interface from which traffic must be redirected;
192.168.55.0/24 - source address, from which traffic must be redirected. You can setup also destination address, or whatever you want;
192.168.1.1 - address of this router.