Last active
July 1, 2020 16:07
-
-
Save CodeZombieCH/415b080acdb69da3f1c9cbe4d1dad905 to your computer and use it in GitHub Desktop.
Router7 configuration examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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