Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A dead simple Go (golang) package to forward UDP packets like a reverse NAT (i.e. it supports multiple users).

License

NotificationsYou must be signed in to change notification settings

1lann/udp-forward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

A dead simple Go (golang) package to forward UDP packets like a reverse NAT (i.e. it supports multiple users).

Usage

package mainimport"github.com/1lann/udp-forward"funcmain() {// Forward(src, dst). It's asynchronous.forwarder,err:=forward.Forward("0.0.0.0:1000","1.2.3.4:1023",forward.DefaultTimeout)iferr!=nil {panic(err)}// Do something...// Stop the forwarderforwarder.Close()}

See theGoDoc for documentation.

License

There isno license.

About

A dead simple Go (golang) package to forward UDP packets like a reverse NAT (i.e. it supports multiple users).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp