Maybe it was not as easy as I thought but I did a local test using iptables on the machine itself to redirect all traffic to a gost tunnel which would then do the connection to the shadowsocks server.
That being said, it should work if I use OPNsense to redirect TCP and UDP traffic to a machine and port where a gost tunnel is listening.
That being said, it should work if I use OPNsense to redirect TCP and UDP traffic to a machine and port where a gost tunnel is listening.