Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android battery drain #534

Closed
japborst opened this issue May 8, 2018 · 2 comments
Closed

Android battery drain #534

japborst opened this issue May 8, 2018 · 2 comments

Comments

@japborst
Copy link
Contributor

japborst commented May 8, 2018

PiVPN Issue Template

Issue

When connecting to the VPN using the OpenVPN app on Android, the battery drains quickly. This still happens when selecting the battery saving option. Increasing the keepalive seems to solve the issue.

Have you searched for similar issues and solutions?

yes, see StreisandEffect/streisand#465

Console Output of sudo iptables -t nat -S

-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
-A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE

Console Output of sudo iptables -S

-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT

output of sudo netstat -uanp | grep openvpn

udp        0      0 0.0.0.0:1194            0.0.0.0:*                           365/openvpn

Have you taken any steps towards solving your issue? Which?

in /etc/openvpn/server.conf:

Change to keepalive 1800 3600

@redfast00
Copy link
Contributor

Yup, I don't really see any issue with changing the keepalive. Do you want to create a PR?

@japborst
Copy link
Contributor Author

japborst commented May 9, 2018

Yeah, will do :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants