How to share VPN internet with OpenWrt

It's configurable.

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

That's why my post said by default...

How is this

related to


I mean I want my router has a socks proxy as it can be done with SSH Tunneling,.

Then read the thread @lleachii linked to.

1 Like

I read that and I did it.
But still when I connect to my router, my_server's IP is not shown to me.

No idea what that means, you keep talking in riddles.

1 Like

I did that (as there was no difference with what I've been trying to do), but still my wireless has normal IP, not my server's IP.

Still don't understand what you're trying to do, so your on your own...

But your wireless' IP will never change, proxy, or not.

1 Like

Some websites like YouTube is banned in my country, and I should have VPN to open YT.
So in this case, I should have VPN client apps in my mobile, 10PCs, my laptop and each device to be able to watch YT videos.

Now I want to have a VPN client (or with SSH Tunneling) in my router (openwrt device), so that when everyone connects to my router wireless, he can open YT fine without any VPN enabled on his device individually.

I hope this clarification reached to the point.

Then set up a VPN client on the router, assuming you have something to connect it to.


Thanks, but I think I cannot clarify well, or you may not get my point because you live in a country that does not have any restrictions for accessing internet:(

I'm from Iran and when I use an ADSL or Mobile Data, some websites like YouTube or even WhatsApp and Telegram are banned by the government and I cannot access that.
So I need to purchase a VPS from another country and tunnel to that server, so that I can access those sites.

I have an office with 10 people and I should set socks proxy for each of them by PuTTy application.
Now I decided to purchase a router (alongside with ADSL modem) and set socks proxy in my router so that when my people connect to router, their valid IP changes from Iranian IP to German IP.

Now by these talks, is there a simple, or even a hard, way to do that?

Information here. You would do that with the VPS.

Iran bans almost all kinds of VPNs.
I also tried installing OpenVPN, but my router has 9MB space and OpenVPN requires more space.

Would you please help me which kind of VPN I can use to see if it works in Iran?

You configure a VPN on your VPS that works.

Check if wireguard is smaller, 9mb flash might be enough.

1 Like

Wireguard is blocked too:(
The best thing works now is SSH Tunnel.
I should find a way, there should be in my idea.
But I'm not sure how.

Then what isn't blocked?

As I know, wireguard is completely blocked.
v2ray is relatively blocked (works on some internet well and on some other works poor).
openconnect is completely blocked.
These are blocked popular VPNs.