Versions in this module Expand all Collapse all v1 v1.0.0 Nov 12, 2023 Changes in this version + const IPV6_RECVORIGDSTADDR — linux/amd64 + const IPV6_TRANSPARENT — linux/amd64 + const PROXY_FWMARK + const PROXY_ROUTE_TABLE + func CleanupTProxyIPTables() + func SetTProxyIPTables(ifname string, bypass []string, tport uint16, dport uint16) error + type Listener struct + func New(addr string, tunnel C.Tunnel, additions ...inbound.Addition) (*Listener, error) + func (l *Listener) Address() string + func (l *Listener) Close() error + func (l *Listener) RawAddress() string + type UDPListener struct + func NewUDP(addr string, tunnel C.Tunnel, additions ...inbound.Addition) (*UDPListener, error) + func (l *UDPListener) Address() string + func (l *UDPListener) Close() error + func (l *UDPListener) RawAddress() string