Skip to content

Instantly share code, notes, and snippets.

@CodeZombieCH
Last active July 1, 2020 16:07
Show Gist options
  • Save CodeZombieCH/415b080acdb69da3f1c9cbe4d1dad905 to your computer and use it in GitHub Desktop.
Save CodeZombieCH/415b080acdb69da3f1c9cbe4d1dad905 to your computer and use it in GitHub Desktop.
Router7 configuration examples
{
"interfaces": [
{
"hardware_addr": "12:34:56:78:9a:b0",
"name": "lan0",
"addr": "192.168.0.1/24"
},
{
"hardware_addr": "12:34:56:78:9a:b2",
"name": "uplink0"
}
]
}
{
"forwardings": [
{
"proto": "tcp",
"port": "39454",
"dest_addr": "192.168.0.10",
"dest_port": "22"
},
{
"proto": "tcp",
"port": "80",
"dest_addr": "192.168.0.10",
"dest_port": "80"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment