diff options
author | Jeff Sharkey <jsharkey@android.com> | 2013-02-21 18:33:16 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-02-21 18:33:29 +0000 |
commit | 2b3a47b9ce0f422323395286937944a2afa51ed6 (patch) | |
tree | bb84a66ab85fb072f9d6d33a68c7c34c513ba7b2 /services | |
parent | c0997b0e6291d7c97963623eed2a41994a7855cf (diff) | |
parent | 42c0c9f35a8efa71703f810ce2bff6d86bb5b30e (diff) | |
download | frameworks_base-2b3a47b9ce0f422323395286937944a2afa51ed6.zip frameworks_base-2b3a47b9ce0f422323395286937944a2afa51ed6.tar.gz frameworks_base-2b3a47b9ce0f422323395286937944a2afa51ed6.tar.bz2 |
Merge "Allow L2TP traffic to lockdown VPN servers."
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/net/LockdownVpnTracker.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/java/com/android/server/net/LockdownVpnTracker.java b/services/java/com/android/server/net/LockdownVpnTracker.java index 8a54601..5b6e485 100644 --- a/services/java/com/android/server/net/LockdownVpnTracker.java +++ b/services/java/com/android/server/net/LockdownVpnTracker.java @@ -200,6 +200,7 @@ public class LockdownVpnTracker { // TODO: support non-standard port numbers mNetService.setFirewallEgressDestRule(mProfile.server, 500, true); mNetService.setFirewallEgressDestRule(mProfile.server, 4500, true); + mNetService.setFirewallEgressDestRule(mProfile.server, 1701, true); } catch (RemoteException e) { throw new RuntimeException("Problem setting firewall rules", e); } @@ -225,6 +226,7 @@ public class LockdownVpnTracker { try { mNetService.setFirewallEgressDestRule(mProfile.server, 500, false); mNetService.setFirewallEgressDestRule(mProfile.server, 4500, false); + mNetService.setFirewallEgressDestRule(mProfile.server, 1701, false); } catch (RemoteException e) { throw new RuntimeException("Problem setting firewall rules", e); } |