forward

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2026 License: MIT Imports: 17 Imported by: 0

README

tcp udp forward

[
    {
        "listen": "tcp6://[::1]:20000",
        "to":     "tcp://127.0.0.1:20001",
        "maxIdleDru":     "1min",
        "accept": ["::1/128"]
    },
    {
        "listen": "tcp4://127.0.0.1:20002",
        "to":     "tcp://127.0.0.1:20003",
        "accept": ["127.0.0.2/32"]
    },
    {
        "listen": "udp://127.0.0.1:20000",
        "to":     "udp://127.0.0.1:20001",
        "accept": ["127.0.0.1/32"]
    },
    {
        "listen": "udp://127.0.0.1:20004",
        "to":     "udp://127.0.0.1:20005",
        "accept": ["127.0.0.2/32"]
    }
]

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL