Experiences with OpenVPN-client on ALIX.2D3: Difference between revisions

From Alpine Linux
(→‎Preparing the ALIX: Preparing notes)
(Updates on dhcpd names)
Line 27: Line 27:
== dhcpd ==
== dhcpd ==


  apk_add acf-dhcpd
  apk_add acf-dhcp
  vi /etc/conf.d/dhcpd
  vi /etc/conf.d/dhcpd
  vi /etc/dhcpd/dhcpd.conf
cp /etc/dhcp/dhcpd.conf.sample /etc/dhcp/dhcpd.conf
  vi /etc/dhcp/dhcpd.conf


== firewall ==
== firewall ==

Revision as of 09:50, 30 July 2009

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-dhcp
vi /etc/conf.d/dhcpd
cp /etc/dhcp/dhcpd.conf.sample /etc/dhcp/dhcpd.conf
vi /etc/dhcp/dhcpd.conf

firewall