Connect to a private network Learn how to connect a Kobiton device to your private network so you can access services behind your firewall during a test session. Before you start You’ll need to contact your Internet Service Provider (ISP) and request a public static IP address. We’ll use this IP address to configure your private network to allow Kobiton devices. If you’re unable to request a public static IP address, you can try tunneling into your local machine using third-party software like ngrok or Localtunnel. Tunnel into your local machine at your own risk. Connection options Option 1: Create a firewall rerouting rule You can a connect Kobiton device to your private network by creating a firewall rule that reroutes your device IP address to your public static IP address. For example, if you’re using iptables to manage your firewall rules, open /etc/iptables/rules.v4 in a text editor and create the following rule: -A PREROUTING -i eth0 -o eth1 -j DNAT --to-destination <public-static-ip-address>/<device-ip-address> Option 2: Create a new subdomain You can connect a Kobiton device to your private network by creating a new subdomain with an Address (A) record connected to your public static IP address. For example, you would sign in to your domain provider, open your DNS settings, and create the following record: Subdomain: Any subdomain name of your choice Record type: Choose Address (A) record IP Address: Enter your public static IP address Now any Kobiton device can connect to your private network through your new subdomain.