package
3.3.10+incompatible
Repository: https://github.com/ivpn/desktop-app-daemon.git
Documentation: pkg.go.dev

# Functions

AddHostsToExceptions - allow comminication with this hosts Note!: all added hosts will be removed from exceptions after client disconnection (after call 'ClientDisconnected()').
AllowLAN - allow/forbid LAN communication.
ClientConnected - allow communication for local vpn/client IP address.
ClientDisconnected - Remove all hosts exceptions.
ClientPaused saves info about paused state of vpn.
ClientResumed saves info about resumed state of vpn.
GetEnabled - get firewall state.
Initialize is doing initialization stuff Must be called on application start.
SetEnabled - change firewall state.
SetManualDNS - configure firewall to allow DNS which is out of VPN tunnel Applicable to Windows implementation (to allow custom DNS from local network).
SetPersistant - set persistant firewall state and enable it if necessary.