Shadowsocks local on OPNsense 18.1.6

Started by mickemannen, April 14, 2018, 02:33:00 AM

Previous topic - Next topic
Hi!

first time for me to try out OpnSense so sorry for maybe a basic question....

1. I have downloaded the plug-in shadowsocks and configured the local service (same settings as on my laptop)
2. It looks like it is up and running fine
3. I do need rules to direct the traffic to shadowsocks locals port 1080 but... how to do that?

My guess is that (based on reading how to set up a proxy) I should add a NAT rule for port forwarding to the port 1080 on 127.0.0.1. Tried this but didn't work...

How to solve this?

I have done this before for OpenVPN but since i live in a place where openvpn doesn't work i have to use Shadowsocks

//Micke

Welcome Micke!

The best way to achieve your goal would be to set up a local instance (like you said) and use the OpenVPN Client from OPN itself. Set it up like you would normally do it but within Advanced tab add:

socks-proxy localhost 1080

Since it acts like a socks proxy I'm not sure if plain NAT would do the trick. Look out for applications supports socks