-
-
Notifications
You must be signed in to change notification settings - Fork 28
Example: HEP Relay
Lorenzo Mangani edited this page Mar 12, 2020
·
7 revisions
Pastash can be leveraged as a simple stateless HEP UDP/TCP Switch and Multi-Plexer.
# sudo npm install -g pastash/@pastash
input {
udp {
host => 127.0.0.1
port => 9060
}
}
output {
udp {
host => 10.0.0.1
port => 9060
}
udp {
host => 10.0.0.2
port => 9061
}
}
input {
tcp {
host => 127.0.0.1
port => 9060
}
}
output {
tcp {
host => 10.0.0.1
port => 9060
}
tcp {
host => 10.0.0.2
port => 9061
}
}
input {
udp {
host => 127.0.0.1
port => 9060
}
}
output {
udp {
host => 10.0.0.1
port => 9060
}
tcp {
host => 10.0.0.2
port => 9061
}
}