mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-25 21:37:31 +02:00
13 lines
223 B
Go
13 lines
223 B
Go
package restrictednet
|
|
|
|
import (
|
|
"context"
|
|
"net/netip"
|
|
)
|
|
|
|
type Firewall interface {
|
|
AcceptOutputFromIPPortToIPPort(ctx context.Context,
|
|
protocol, intf string, source, destination netip.AddrPort, remove bool,
|
|
) error
|
|
}
|