Files
herolib/lib/installers/net/wireguard
2025-02-09 17:53:16 +01:00
..
2025-02-02 15:20:57 +02:00
2025-02-02 15:20:57 +02:00
...
2025-02-09 17:53:16 +01:00
...
2025-02-09 17:53:16 +01:00
...
2025-02-09 17:53:16 +01:00

wireguard

To get started



import freeflowuniverse.herolib.installers.something.wireguard as wireguard_installer

heroscript:="
!!wireguard.configure name:'test'
    password: '1234'
    port: 7701

!!wireguard.start name:'test' reset:1 
"

wireguard_installer.play(heroscript=heroscript)!

//or we can call the default and do a start with reset
//mut installer:= wireguard_installer.get()!
//installer.start(reset:true)!




example heroscript

!!wireguard.configure
    homedir: '/home/user/wireguard'
    username: 'admin'
    password: 'secretpassword'
    title: 'Some Title'
    host: 'localhost'
    port: 8888