Versions in this module Expand all Collapse all v1 v1.0.2 Apr 25, 2024 v1.0.1 Apr 24, 2024 Changes in this version + const IPV6_RECVORIGDSTADDR — linux/amd64 + const IPV6_TRANSPARENT — linux/amd64 + const PROXY_FWMARK + const PROXY_ROUTE_TABLE + var DnsRedirect bool + func CleanupTProxyIPTables() + func SetTProxyIPTables(ifname string, bypass []string, tport uint16, dnsredir bool, 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