-
-
Notifications
You must be signed in to change notification settings - Fork 28
Example: HEP Relay
Lorenzo Mangani edited this page Feb 18, 2018
·
7 revisions
Pastash can be leveraged as a HEP UDP/TCP Switch and Multi-Plexer.
# sudo npm install -g 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
}
}