Skip to content

Instantly share code, notes, and snippets.

@asepawal
Last active November 30, 2021 00:31
Show Gist options
  • Select an option

  • Save asepawal/00b8bdc87423ebd14390e25c325be205 to your computer and use it in GitHub Desktop.

Select an option

Save asepawal/00b8bdc87423ebd14390e25c325be205 to your computer and use it in GitHub Desktop.
openvpn with mbedtls setup (fpga accelerated)

TBD

CCTV Demo (setup from scratch) On raspi [mbedtls] - Install wiringpi - Git clone mbedtls - Modify device_config.h - make - sudo make install - Connect the fpga (using spi pin) - Try run_client.sh (assume server is running on another device) [OpenVPN] - sudo apt-get install liblzo2-dev libpam0g-dev - Git clone openvpn - autoreconfig -I - ./configure --with-crypto-library=mbedtls - make - sudo make install [VPN Client Config] - TODO: tulis - Check di raspi lama [IP CAMERA] - Just connect via ethernet

On server: - git clone https://github.com/openssl/openssl.git - cd openssl - git checkout OpenSSL_1_1_1b - vi ssl/s3_lib.c (-> remove SSL_NOT_DEFAULT) - ./config enable-aria - make - sudo apt autoremove openssl - sudo make install - sudo ldconfig - wget https://swupdate.openvpn.org/community/releases/openvpn-2.4.7.tar.gz - tar xvzf openvpn-2.4.7.tar.gz - cd openvpn-2.4.7 - ./configure - sudo apt-get install -y liblzo2-dev libpam0g-dev - make - sudo make install - git clone https://gitlab.islab.re.kr/asep/etri-vpn-server.git etri-server - cd etri-server

  • sudo openvpn --config server.ovpn --verb 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment