forward

command module
v0.0.0-...-3ecd796 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 14 Imported by: 0

README

tcp udp forward

[
    {
        "Listen": "tcp6://[::1]:20000",
        "To":     "tcp://127.0.0.1:20001",
        "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"]
    },
    {
        "Listen": "udp://127.0.0.1:20006",
        "To":     "tcp://127.0.0.1:20007",
        "Accept": ["127.0.0.1/32"]
    },
    {
        "Listen": "tcp://127.0.0.1:20008",
        "To":     "udp://127.0.0.1:20009",
        "Accept": ["127.0.0.1/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