Connection between Rutc50 and an Iphone / ipad via Wireguard

Hi,

i want to connect my iphone / ipad with the ruutc50 router via wireguard.

I have an Dnydns adress for the router.

My problem is to get an public key for the iphone / ipad

Does anybody has an installation guide for me ?

Sp33dy

Hi,

Check Teltonika Wiki: RUTC50 VPN - Teltonika Networks Wiki

Good afternoon,

The WireGuard app on iOS can generate keys for you:

Open the WireGuard app.
Tap the + button to add a new tunnel.
Select Create from scratch.
In the Interface tab, you’ll see fields for Name, Private key, Public key, and Addresses.
Tap Generate keypair this instantly creates a private and public key pair within the app.

  • Copy the Public key (tap on it to copy to clipboard)—you will need to paste this into your Teltonika router’s WireGuard peer settings.

You can find more information in the link @lemondude advised of above.

Another helpful link which will help configure the settings on the router itself : WireGuard Configuration Example - Teltonika Networks Wiki

Please follow the above guides and provided information, and advise if you are struggling to configure Wireguard.

Regards,
Arturas

Hi,

I know this wiki. I have the problem to get the public key for the peer.
How can i create the public key where do i get thsi public key.

hi, i think this answer my question.
" * Copy the Public key (tap on it to copy to clipboard)—you will need to paste this into your Teltonika router’s WireGuard peer settings."

i will try

hi, doesnt work. is it possible to create a connection without a wireguard vpn server between?

Hi, here is my config file from rutc50 and ipad.

Rutc50:
General settinges:
Wireguard enabled
Private key and public key generated.
Ipadresse: Ip range from the network of rutc50 (192.168.1.0/24)

Advanced Settings:
ListenPort 51820
DNS Server 192.168.1.1

Peer on rutc50:
General settings:
Public key : Key from ipad generated from wireguard app
Endpoit is my dnydns address
Allows IPS is the ip that my ippad would get (192.168.1.101/32)
Route allowed IPS : enable

Advanced Settings:
Tunnelsource any
Pre-sharead Key: generate Key ( used Same key on rutc50 and Wireguard app)

Also test it without pre-shared Key

Endpoint 51820
Persistent Keep alive: 25

QR Settings:
Server ip 192.168.1.1
Tunnel address: 192.168.1.2/32
Peer allowed IPS: all ipv4 and ipv6

Wireguard app:

Private Key and Public key generated (Public key useed for Perr Rutc50)
Ips Addresss: 192.168.1.101/24

Port:51820
Dns Server 192.168.1.1

Activaed for wlan and mobile
so thats it. perhaps i didd something wrong in my config.

HI,
no one there woh has an idea?

See example setup below …



It should be noted that your iphone / ipad may well not have a public IP. If this is the case, then your Apple devices will have to be the device(s) that initiate the tunnel connection and the RUTC will act as the responder.

Hi,
i will test it.
If i understand it right i only need one peer on each side (rutc50 and wirguard Cleint on Ipad) Correct?
Yes my Ipad shoud be the initiator for the tunnel. Only the rutc50 has an dyndns name.

Hi,
i am too stupid. it doesnt work.

Hi, if i look into the log file of the wireguard client log, i see this:
APP] Tunnel ‘VPNRossi’ connection status changed to ‘connected’
2025-07-29 12:23:58.102
[NET] peer(EXwp…Xx0Y) - Handshake did not complete after 5 seconds, retrying (try 2)
2025-07-29 12:23:58.102
[NET] peer(EXwp…Xx0Y) - Sending handshake initiation
2025-07-29 12:24:03.181
[NET] peer(EXwp…Xx0Y) - Handshake did not complete after 5 seconds, retrying (try 2)

Double check that you have set up your Public and Private keys correctly for both ends of the tunnel.

If you are new to Wireguard, then it may be beneficial to checkout the various resources on the net.

Let us know how you get on.

P.S. You are correct in saying that you will require only 1 peer on the RUTC and 1 peer on the iOS device.

Hi,
on the rutc50 interface i have generate Privat and Public key.
The public key on the rutcc50 peer ist the public key from the wireguard App.
on the wireguard app the public key and the privite key is also generated. The peer from the wireguard app is the public key from the rutc50 interface.
I also test it with e pre-shared key ( on both side s the same key)

hi,
i think a have a problem with the public key. where should i take which public key?
The public key from the rutc50 interface should be set to the public key of the wireguard app peer?
is this correct?
which public key of the wireguard app should be set to the peer of the rutc50?

hi Tunnel now is ok, but i cant get on the website 192.168.1.1. i (my ipad) get an address 192.168.1.240

any ideas?

Hi,

I try to explain what i have done right now.

The rutc50 will be installed in a camper.

I will be able to enter the router fronm everywhere in the world ( especialy from home). So the router should have an dyndns name. It still have.

My setup looks like this:

Setup rutc50 interface

Public and provate key generated (public key will be set to wireguard client peer public key)

IP under interface should be the dnydns address Correct?

Wireguard app setup interface

Public and private key generated. Public key should be used for the rutc50 peer. Correct?

I think in the wiki of teltronika is not realy clear for me in case of the public keys and in case of the ips in my setup.

It would be nice if we found a solution for it.

Are you absolutely sure that your SIM in the RUT device has a Public IP. Normally, a domestic retail SIM for carriers such as Vodafone, O2, Tefonica, etc. do NOT have a Public IP - you usually have to purchase a specialist SIM. Without a Public IP SIM in your RUT device, you will not be able to use Wireguard to access the RUT device from “anywhere in the world”.

If you don’t have a Public IP SIM, then you would need to look at something like Tailscale or Zerotier as your VPN solution.

This topic was automatically closed after 60 days. New replies are no longer allowed.