OPNsense Forum

English Forums => Virtual private networks => Topic started by: Sierra-tippers on November 24, 2023, 05:11:47 PM

Title: Multiple Openvpn clients via Shadowsocks
Post by: Sierra-tippers on November 24, 2023, 05:11:47 PM
In a setup I am testing I have 4 openvpn clients connected with a vpn provider and using selective routing that are working fine.  I would like however to tunnel these 4 openvpn clients via shadowsocks (ss-local)

I have configured one instance of ss-local and it connects to the remote ss server fine.  it is listening on 127.0.0.0 1080

I configure my openvpn clients to use the shadowsocks proxy by adding 'socks-proxy 127.0.0.1 1080' to my openvpn advanced configuration.

The issue is that only one openvpn client will connect via ss-local and the others will fail.

Is this configuration supported?
Should I run 4 ss-local instances listening on different ports?  (I did try this from cli but did not work)

I am running 23.7.9

Any ideas would be appreciated

Thanks in advance :)