Documentation
¶
Index ¶
- func AppendFile(filename, text string, perms os.FileMode) error
- func Command(command string, args ...string) (string, error)
- func DarwinServerSetup(iface, gface string) error
- func DefaultIface() (string, error)
- func FlushTables() error
- func IfIP(INTERFACE string) (net.IP, error)
- func LinuxCheckIPRules() bool
- func LinuxFindNext() string
- func LinuxFindNum() string
- func LinuxFindTag() string
- func LinuxFlushIPTables() error
- func LinuxServerSetup(iface, gface string) error
- func LinuxSetupIPTables(LANIP, USER string) error
- func LinuxSetupIPTablesExemptUser(LANIP, USER, LANINTERFACE, VPNINTERFACE string) error
- func LinuxSetupIPTablesTagUser(LANIP, USER, VPNINTERFACE string) error
- func LinuxSetupRoutingTable(USER string) error
- func LinuxSetupRoutingTables(gate net.IP, USER, INTERFACE string, exempt bool, VPNINTERFACE string) error
- func ServerSetup(iface, gface string) error
- func Setup(user, iface string, exempt bool, vface string) error
- func WindowsCheckIPRules() bool
- func WindowsFindExePath(APP string) (string, error)
- func WindowsServerSetup(iface, gface string) error
- func WindowsSetupNetSH(LANIP, USER string) error
- func WindowsSetupNetSHExemptApp(LANIP, APP, LANINTERFACE, VPNINTERFACE string) error
- func WindowsSetupNetSHSecureSetup(LANIP, USER, VPNINTERFACE string) error
- func WindowsSetupRoutingTable(USER string) error
- func WindowsSetupRoutingTables(gate net.IP, USER, INTERFACE string, exempt bool, VPNINTERFACE string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DarwinServerSetup ¶
func DefaultIface ¶
func FlushTables ¶ added in v0.0.15
func FlushTables() error
func LinuxCheckIPRules ¶
func LinuxCheckIPRules() bool
func LinuxFindNext ¶ added in v0.0.11
func LinuxFindNext() string
func LinuxFindNum ¶ added in v0.0.11
func LinuxFindNum() string
func LinuxFindTag ¶ added in v0.0.20
func LinuxFindTag() string
func LinuxFlushIPTables ¶
func LinuxFlushIPTables() error
Sets up specific marking for VPN-Exempt or VPN-enabled users.
func LinuxServerSetup ¶
func LinuxSetupIPTables ¶
Sets up specific marking for VPN-Exempt or VPN-enabled users.
func LinuxSetupRoutingTable ¶
func LinuxSetupRoutingTables ¶
func ServerSetup ¶
func WindowsCheckIPRules ¶
func WindowsCheckIPRules() bool
func WindowsFindExePath ¶
func WindowsServerSetup ¶
func WindowsSetupNetSH ¶
Sets up specific marking for VPN-Exempt or VPN-enabled users.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.