net.inet.ip.forwarding iOS

My question is can I set the value of net.inet.ip.forwarding through sysctl() in the iOS operating system
What is your use-case and what are you trying to achieve here?

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com

What is your use-case and what are you trying to achieve here?

Quite.

However, the answer your direct question:

My question is can I set the value of net.inet.ip.forwarding through
sysctl in the iOS operating system

is “No.”

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"

What is your use-case and what are you trying to achieve here?

@meaton We also need this. We are VPN app developer. If net.inet.ip.forwarding can be set to true, the users may use the iOS device as a gateway to allow other devices' traffic going through the VPN network.

We are VPN app developer. If net.inet.ip.forwarding can be set to
true, the users may use the iOS device as a gateway to allow other
devices' traffic going through the VPN network.

How are these devices connected to your iOS device?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"

How are these devices connected to your iOS device?

By changing the router IP address to use iOS device as a gateway.
So you want to turn the iOS device into a router? Interesting. But also not feasible. While the user can do this using Personal Hotspot, there is no API-level support for it.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
net.inet.ip.forwarding iOS
 
 
Q