8/25/2020 6:29 PM | |
Posts: 3 Rating: (0) |
Hi, I've compiled a Yocto build that extends the meta-iot2000-example with the openVPN recipe and seems to work fine. I've generated all the needed config files (everything that concerns certificates and config file) on my host machine, tested on a Raspberry and copied to "/etc/openvpn/" inside the iot2040. The IoT2040 is connected to a router through Ethernet (the right port, X2P1LAN) with dhcp active and able to ping the internet (tried with google.com). I've found that the openvpn service was already enabled, so I haven't changed anything inside /etc/init.d/ When I try to open a client connection with the iot, it seems to start fine, but the connection does not route through the iot and the result is that I cannot ping or dig anything: they just do not produce any output. I've got this option in my client configuration file (which I know it should means that any connection on my host machine should be routed to the IoT):
and this in the server configuration file:
I've uncommented this line in /etc/sysctl.conf on the IoT:
The exact same configuration files and procedure works flawlessly on my Raspberry. Thanks to anyone that could give me an help! ------------------------------------------------------------------------------------------ |
Last edited by: AutoGen_8292530 at: 08/25/2020 19:22:45Last edited by: Jen_Moderator at: 08/26/2020 08:02:14New subject after splitting |
|
8/26/2020 8:12 AM | |
Joined: 4/28/2015 Last visit: 11/12/2024 Posts: 3345 Rating: (379)
|
Hi, maybe it is required to add two iptables rules. Check this post, maybe the second last post solves that. Best regards! |
Not working for IOT2050 support anymore from March 1st, 2024. |
|
This contribution was helpful to1 thankful Users |
Follow us on