Experiences with OpenVPN-client on ALIX.2D3

From Alpine Linux
Revision as of 09:48, 30 July 2009 by Mhavela (talk | contribs) (→‎Preparing the ALIX: Preparing notes)

OpenVPN client on ALIX.2D3

We needed to connect a RemoteDesktop client (a thinclient) and a SIP-phone to a OpenVPN-network to be able to reach some services.
It was not possible to install openvpn in ether the thinclient or the SIP-phone, so we needed a OpenVPN gateway.

We bought a ALIX.2D3 which would act as gateway for the various clients. (See the ALIX board at http://www.pcengines.ch/alix2d3.htm)

[Upcoming image describing the setup]

Preparing the ALIX

The ALIX-board was shipped with a enclosure and a CF-card.

Prepare CF

Installing_Alpine_on_Compact_Flash has instructions on how to prepare a CF.
Basically we followed this doc (except that we used Alpine-1.8.3 instead of installing Alpine-1.9).

Mounting

The CF-card was mounted in the ALIX-board and the board was mounted in the enclosure.

setup-alpine

setup-webconf

sshd

openvpn

dhcpd

apk_add acf-dhcpd
vi /etc/conf.d/dhcpd
vi /etc/dhcpd/dhcpd.conf

firewall