I may be wrong at all.
Do you please help me how can I share internet with VPN?
Now when I search my ip, it shows my dynamic IP for the internet.
But I want to show my public IP of my_server.
Yes, but I create socks using ssh and do my stuffs in my laptop.
I want to run that in my router and openwrt, so there would be no need to run ssh command for each device separately..
Does you server have a public IP?
Yes.
since you're not answering the questions
Sorry, I did not get you mean completely. Could you please rephrase them?
But I think you need openssh-client on your router, but it's only a guess
I installed this now and it's working with ssh -D, but my problem is not solved unfortunately.
OK, this is what I do in my laptop to have SSH Tunnels to use socks proxy in my laptop:
I run ssh -D1111 root@my_server -pPort and then use localhost as hostname in Firefox, and Port 1111 for it. So when I search my ip in google in Firefox, it shows my server's public IP.
There are around 10 PCs which should separately do this to have my_server's IP to access some websites.
Now I want to run a VPN on my router, so that all those 10 PCs only connect to router with no further configurations in the OS.