# How to setup Openvpn client

**URL:** <https://forum.remote.it/t/how-to-setup-openvpn-client/419>\
**Category:** Features\
**Created:** [September 2, 2021, 2:43am UTC](https://forum.remote.it/t/how-to-setup-openvpn-client/419 "2021-09-02T02:43:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mic](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@mic](https://forum.remote.it/u/mic)\
**Post date:** [September 2, 2021, 2:43am UTC](https://forum.remote.it/t/how-to-setup-openvpn-client/419/1 "2021-09-02T02:43:16Z")

</div>

I tried to add the following in ovpn profile, but it shown invalid hostname and IP. also second option but cant connect.

- home1-openvpn-server.at.remote.it:30000
- home1-openvpn-server.at.remote.it 30000

---

<div class="post-metadata">

**Author:** ![gary](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gary](https://forum.remote.it/u/gary)\
**Post date:** [September 2, 2021, 8:30pm UTC](https://forum.remote.it/t/how-to-setup-openvpn-client/419/2 "2021-09-02T20:30:12Z")

</div>

Please give me more to go on, such as proof that your OpenVPN server is running.

e.g. what is the result of:

```auto
sudo netstat -lpn | grep ?dp

```

And show how your remoteit Service is configured.

**Here are some other instructions**  
Install remoteit on the Pi which has OpenVPN installed. You’ll have to consult a tutorial about how to install and configure OpenVPN. I’ve tried it and it’s fairly complicated so I don’t have any specific suggestions.

OpenVPN is configured for UDP port 1174 by default.

In the remoteit web admin panel, add a service:

![](https://canada1.discourse-cdn.com/flex030/uploads/remote/original/1X/9da904da296fc2482255451973c724b3280a77de.png)​

From your Windows machine, make a peer to peer connection to this Service. This will give you a repeatable connection point of the form 127.0.0.1:port.

Put this into your client side OpenVPN profile.

![](https://canada1.discourse-cdn.com/flex030/uploads/remote/original/1X/646477859f4bd2ca4785c4c9d24e13f88fc7ad50.png)​  
Note, this example just shows where those values would go. They are not examples of remote.it connection server/port.

Let me know if you have any difficulty with this.
