# OpenVPN not routing traffic ?

**URL:** https://dietpi.com/forum/t/openvpn-not-routing-traffic/516
**Category:** Troubleshooting
**Created:** [23 August 2016 16:48 UTC](https://dietpi.com/forum/t/openvpn-not-routing-traffic/516 "2016-08-23T16:48:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dustii](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Dustii](https://dietpi.com/forum/u/Dustii)
#### Post date: [23 August 2016 16:48 UTC](https://dietpi.com/forum/t/openvpn-not-routing-traffic/516/1 "2016-08-23T16:48:03Z")

</div>

Hi there !

Today I flashed the dietpi software on my raspberry pi sd card, after the initial setup (changing eth0 to a static ip) I installed the openvpn package through the dietpi launcher.

Everything seems to go well, after the reboot the openvpn service is running and I can retrieve the .opvn thanks to FTP.

So I checked out the software page (Openvpn) and I changed the remote line to remote my WAN-IPP 1194

The 3 ports that are named on the software page are opened and pointed towards the pi’s ip address.

When I load up the .ovpn on my phone for example it connects without a problem however it doesn’t seem that the traffic is being routed through openvpn connection. My phones WAN ip stays the same and I can’t ping/access any local shares/websites.

Does someone have an idea what could be wrong ? 😃

---

<div class="post-metadata">

### Author: ![k-plan](https://dietpi.com/forum/user_avatar/dietpi.com/k-plan/32/12_2.png) [@k-plan](https://dietpi.com/forum/u/k-plan)
#### Post date: [23 August 2016 17:33 UTC](https://dietpi.com/forum/t/openvpn-not-routing-traffic/516/2 "2016-08-23T17:33:59Z")

</div>

Hello Dustii,

> OpenVPN not routing traffic ?

That’s correct. Default it is configured as a End-to-End-VPN / Host-to-Host-VPN / Remote-Desktop-VPN.  
You are able to manage your DietPi device, but nothing more.

One possible solution is using NAT: [OpenVPN general usage](https://dietpi.com/forum/t/openvpn-general-usage/463/1)

If you can read a little bit German: [Configuaration issue OpenVPN (German)](https://dietpi.com/forum/t/configuaration-issue-openvpn-german/483/1)

Our you can have a look in DietPi VPN installation code:

> <https://github.com/Fourdee/DietPi/blob/master/dietpi/dietpi-software#L6166>

and

> <https://github.com/Fourdee/DietPi/blob/master/dietpi/dietpi-software#L6240>

cu  
k-plan

---

<div class="post-metadata">

### Author: ![Dustii](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Dustii](https://dietpi.com/forum/u/Dustii)
#### Post date: [23 August 2016 17:43 UTC](https://dietpi.com/forum/t/openvpn-not-routing-traffic/516/3 "2016-08-23T17:43:32Z")

</div>

> [@k-plan](#):
>
> Hello Dustii,
> 
> > OpenVPN not routing traffic ?
> 
> That’s correct. Default it is configured as a End-to-End-VPN / Host-to-Host-VPN / Remote-Desktop-VPN.  
> You are able to manage your DietPi device, but nothing more.
> 
> One possible solution is using NAT: [OpenVPN general usage](https://dietpi.com/forum/t/openvpn-general-usage/463/1)
> 
> If you can read a little bit German: [Configuaration issue OpenVPN (German)](https://dietpi.com/forum/t/configuaration-issue-openvpn-german/483/1)
> 
> Our you can have a look in DietPi VPN installation code:
> 
> [DietPi/dietpi/dietpi-software at master · Fourdee/DietPi · GitHub](https://github.com/Fourdee/DietPi/blob/master/dietpi/dietpi-software#L6166)
> 
> and
> 
> [DietPi/dietpi/dietpi-software at master · Fourdee/DietPi · GitHub](https://github.com/Fourdee/DietPi/blob/master/dietpi/dietpi-software#L6240)
> 
> cu  
> k-plan

Thanks for the reply !

This seems kinda complicated hehe, and google translate doesn’t work that well on the german part hehe.
