How to share VPN internet with OpenWrt

It's configurable.

ssh -D 0.0.0.0:1111 root@server -pPort
You can change 0.0.0.0 to other IPs for listening.