How to route all traffic of LAN from shadowsocks client(Centos 7) to SS Server?
Use Case :
LAN Users->Switch->Cisco Router->SS Client-> SS Server
LAN Users means nodes of Office
Cisco Router is forwarding all traffic to SS client
SS Client is accepting all traffic but it's not forwarding traffic to SS server
(In this case traffic is going through client but not forwarding to Server but directly from client to Internet)
It is sured that client is connected with server because when i run the following command it gives me IP of Serve in results as below :
curl --socks5 127.0.0.1:1080 http://wtfismyip.com/json
"YourFuckingLocation": "Mountain View, CA, United States",
"YourFuckingISP": "Google Cloud",
curl --socks5 127.0.0.1:1080 http://httpbin.org/ip
"origin": "18.104.22.168, 22.214.171.124"
126.96.36.199 means LIVE IP of ShadowSocks SERVER
All i want to route all traffic of my nodes to go through SSClient to Server and then Internet.
It appears from my research that Shadowsocks won't automatically route your traffic from the client to the sever and then to the internet. The reason for this is because Shadowsocks works a little differently than a VPN.
Here's a good description of the differences:
That being said, I wanted to point you to a post on Stack Exchange that addresses the routing of traffic through a Shadowsocks server, and how it's done:
I hope this points you in the right direction. We'd added some tags to this post to get it a little more visibility to other users who may be more fluent in Shadowsocks.