I have OpenVPN server on an Asus router and several clients (a few PCs and an Android phone) connected to it without a problem.
All clients connect and work fine, the issue is that I want my Android phone to route ALL traffic through the VPN server, while the PCs only LAN traffic.
From the server option I can easily select all clients to redirect traffic or none, but is there an option on the client side (my Android phone) to route only all of its traffic through the VPN tunnel?
Help with routing all traffic from my phone, but not any other clients
-
- OpenVpn Newbie
- Posts: 4
- Joined: Fri Jul 16, 2021 1:08 pm
-
- OpenVPN Protagonist
- Posts: 11136
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Help with routing all traffic from my phone, but not any other clients
Add this to your client config file:
Code: Select all
redirect-gateway def1
-
- OpenVpn Newbie
- Posts: 4
- Joined: Fri Jul 16, 2021 1:08 pm
Re: Help with routing all traffic from my phone, but not any other clients
Where is that file? I'm unable to find it using any file browsers. I have a pixel 3A, do I need to do anything special to get to it?
-
- OpenVPN Protagonist
- Posts: 11136
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 4
- Joined: Fri Jul 16, 2021 1:08 pm
Re: Help with routing all traffic from my phone, but not any other clients
Are you going to tell me or you don't know?
-
- OpenVPN Expert
- Posts: 685
- Joined: Tue May 01, 2012 9:30 pm
Re: Help with routing all traffic from my phone, but not any other clients
He told do that and you didnot . What do you want to do now? If you dont know what to find and change so dont do it . Not easy to do
-
- OpenVpn Newbie
- Posts: 4
- Joined: Fri Jul 16, 2021 1:08 pm
Re: Help with routing all traffic from my phone, but not any other clients
Do you need to root the phone? Where is that file?