• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

VPN clinent for iPhone-iPad to keep remote host default gateway

Hi, i need a vpn client for my iphone - ipad to get connect via pptp to my router but i need to configure the routers default gateway as the iphone gateway.
1 Solution
Hamidreza VakilianSenior iOS DeveloperCommented:
For accomplishing this; once the connection is established, iOS should talk to the VPN server and announce it's gateway; then the server should set it's gateway properly.

Unfortunately this feature is not a regular thing and iOS does not have a feature to send it's default gateway IP to the VPN server; hence you cannot accomplish such a story.
Also as far as I know the VPN servers (such as pptpd on linux) does not have this feature to change it's gateway based on client's request.

Optimistically you will customize a VPN server by your own (e.g. you may choose an opensource VPN server like poptop) and make the feature available on server side; but you cannot bring the client side feature into iOS. Thats why I say it's not possible.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now