refactor: New udpnat
This commit is contained in:
parent
d1af8aaf7e
commit
95bc107a1c
10 changed files with 1218 additions and 52 deletions
3
stack.go
3
stack.go
|
|
@ -23,6 +23,9 @@ type StackOptions struct {
|
|||
TunOptions Options
|
||||
UDPTimeout time.Duration
|
||||
ICMPTimeout time.Duration
|
||||
UDPMapping NATMapping
|
||||
UDPFiltering NATFiltering
|
||||
UDPNATMax uint32
|
||||
Handler Handler
|
||||
Logger logger.Logger
|
||||
ForwarderBindInterface bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue