OpenVPN to just one device

I want my OpenVPN (on router, sure) works just in my PlayStation, how can I do this.
Sorry for the English, its not my primary language.

Thanks

I assume you mean Openvpn client?

1 Like

No no, I want the VPN installed on router assume just the PlaysStation.

Is it possible anyone expert to write a script so I can upload on router via vpn-policy-routing?
I am a noob, i would never could do this...

Yes, you need an OpenVPN client installed on router.

Here is step-by-step instructions for NordVPN:

He has poor english, I think he is asking for this:

Have OpenVPN client run on the router (OpenWRT) but have only the traffic from a specific device (his PS4) forwarded through the OpenVPN tunnel instead of all traffic on lan.

Expected setup:
PS4 <-> Router <--VPN Tunnel--> VPN Server <-> Wan
All other clients <-> Router <-> Wan

2 Likes

It sounds like luci-app-vpn-policy-routing is what you need, i don't use it so can't offer full instructions unfortunately, but i think all that would be required is to enter the ip of the PS4 in the required field, you should be able to get a more detailed answer in the dedicated forum thread.

3 Likes

That’s right it!

1 Like

I used just this tutorial to install :wink:

Now I want what OpenSourceGuy said.

Anyone? I really need this, it’s causing problems to everybody in my home lol

To help, etc/config/firewall contains:

config include
	option path '/etc/firewall.user'

config zone
	option name 'vpnfirewall'
	option input 'REJECT'
	option output 'ACCEPT'
	option forward 'REJECT'
	option masq '1'
	option mtu_fix '1'
	list network 'protontun'

config forwarding
	option src 'lan'
	option dest 'vpnfirewall'

How can I fix an IP "here", so this IP would be the only IP whitch uses this VPN, right?

Try asking in the dedicated forum thread I linked above, the package I mentioned will do what you need and someone there should be able to give you detailed instructions.

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.