Movatterモバイル変換


[0]ホーム

URL:


wf

package
v1.92.3Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2025 License:BSD-3-ClauseImports:6Imported by:0

Details

Repository

github.com/tailscale/tailscale

Links

Documentation

Rendered for windows/amd64

Overview

Package wf controls the Windows Filtering Platform to change Windows firewall rules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeFirewall

type Firewall struct {// contains filtered or unexported fields}

Firewall uses the Windows Filtering Platform to implement a network firewall.

funcNew

func New(luiduint64) (*Firewall,error)

New returns a new Firewall for the provided interface ID.

func (*Firewall)UpdatePermittedRoutes

func (f *Firewall) UpdatePermittedRoutes(newRoutes []netip.Prefix)error

UpdatedPermittedRoutes adds rules to allow incoming and outgoing connectionsfrom the provided prefixes. It will also remove rules for routes that werepreviously added but have been removed.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp