Photon OS

 View Only
  • 1.  Wireguard on Docker? Kernel headers missing

    Posted Jul 10, 2021 03:02 PM

    Has anyone successfully installed wireguard either natively or on Docker? Based on this PR, it looks like it's supposed to be included in 4.0, but I'm still unable to install, even with kernel headers mapped.

    https://github.com/vmware/photon/issues/1025

    I am running the OVA version of Photon OS 4.0. Any help or guidance would be greatly appreciated.



  • 2.  RE: Wireguard on Docker? Kernel headers missing

    Posted Jul 12, 2021 06:09 PM

    Hi,

    Wireguard kernel config is included with Photon 4.0 GA. The correlating update in linux-esx.spec ("OVA version") is 5.10.4-3.

    An installation should include something like this.

    tdnf install -y wget

    wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/w/wireguard-tools-1.0.20210424-1.el7.x86_64.rpm

    rpm -Uvh wireguard-tools-1.0.20210424-1.el7.x86_64.rpm

    ip link add dev wg0 type wireguard

    wg show
    interface: wg0

    The vpn solution wireguard server and client has a quickstart tutorial https://www.wireguard.com/quickstart/#command-line-interface