Turris Omnia acting as L2TP VPN server

Hello there,

I’m having trouble installing the packages I need to make the Turris Omnia into a L2TP VPN Server.

Have anyone successfully done this?

I found this tutorial:


However, the needed packages don’t seem to be available:

root@turris:~# opkg install openswan
Unknown package ‘openswan’.
Collected errors:

  • opkg_install_cmd: Cannot install package openswan.

Any help would be greatly appreciated.

Easiest solution, set up a LXC container and install softether on it. It supports being a L2TP VPN server just fine.


See: https://www.turris.cz/doc/en/public/softethervpn

Ok, I’ve setup the VPN server using softetherVPN and I’ve connected successfully to the VPN. Thank you very much for your assistance.

My next question, when I connect, I’m on a different subnet.

Do I need to have a new static rule to allow traffic back to my LAN?

Yup, or anywhere else you want it to go.

You also need to check and possibly adapt the file vpn_server.config, especially the part dealing with securenat. See the softether documentation on securenat.