Line 51: |
Line 51: |
| ==CLI/SSH Router configuration== | | ==CLI/SSH Router configuration== |
| For the next part you will be configuring router via SSH. For this you need to use the command line interface (CLI) or a SSH software if you’re using Windows or iOS. In this example software '''“putty”''' will be used. Open “putty” enter routers LAN IP address and press '''“Open”'''.<br> | | For the next part you will be configuring router via SSH. For this you need to use the command line interface (CLI) or a SSH software if you’re using Windows or iOS. In this example software '''“putty”''' will be used. Open “putty” enter routers LAN IP address and press '''“Open”'''.<br> |
− | [[File:LAN TO WAN06.jpg|border|class=tlt-border|400px]] | + | [[File:LANASWAN005.jpg|border|class=tlt-border]] |
| | | |
| After clicking '''“Open”''' you will need to enter router credentials. | | After clicking '''“Open”''' you will need to enter router credentials. |
| <li>Login as: '''root'''</li> | | <li>Login as: '''root'''</li> |
| <li>Password: routers admin password (by default admin01)</li> | | <li>Password: routers admin password (by default admin01)</li> |
− | [[File:LAN TO WAN07.jpg|border|class=tlt-border|400px]]<br> | + | [[File:LANASWAN06.jpg|border|class=tlt-border]] |
| + | <br> |
| | | |
| Now when you are connected you will need to make changes to network settings, this will be | | Now when you are connected you will need to make changes to network settings, this will be |
Line 69: |
Line 70: |
| <li>option backup '1'</li> | | <li>option backup '1'</li> |
| <li>option metric '10'</li> | | <li>option metric '10'</li> |
− | [[File:LAN TO WAN08.jpg|border|class=tlt-border|400px]]<br> | + | [[File:LANASWAN006.jpg|border|class=tlt-border]] |
| + | <br> |
| | | |
| Press '''Esc''' and write ''':wq'''. | | Press '''Esc''' and write ''':wq'''. |
| After that you will need to restart network service on the router, for this use command: | | After that you will need to restart network service on the router, for this use command: |
| <li>'''/etc/init.d/network restart'''</li><br> | | <li>'''/etc/init.d/network restart'''</li><br> |
− | [[File:LAN TO WAN09.jpg|border|class=tlt-border|400px]]<br> | + | [[File:LANASWAN007.jpg|border|class=tlt-border]] |
| + | <br> |
| | | |
| After restart is completed go back to routers WebUI and navigate to '''Network -> Firewall -> General Settings'''. | | After restart is completed go back to routers WebUI and navigate to '''Network -> Firewall -> General Settings'''. |
| | | |
| Scroll down, in '''Zone Forwarding''' find source zone '''lan_wan''' and change “Default forwarding action” from '''reject''' to '''accept''' and also check '''Masquerading''' and save settings.<br> | | Scroll down, in '''Zone Forwarding''' find source zone '''lan_wan''' and change “Default forwarding action” from '''reject''' to '''accept''' and also check '''Masquerading''' and save settings.<br> |
− | [[File:LAN TO WAN10.jpg|border|class=tlt-border|400px]]<br> | + | [[File:LANASWAN08.jpg|border|class=tlt-border]] |
| + | <br> |
| | | |
| ==Testing the configuration== | | ==Testing the configuration== |
| If you did the steps in the right way, your end device should have internet connection according the scheme.<br> | | If you did the steps in the right way, your end device should have internet connection according the scheme.<br> |
− | [[File:LAN TO WAN00.jpg|border|class=tlt-border]]
| |
| [[Category:{{{name}}} Configuration Examples]] | | [[Category:{{{name}}} Configuration Examples]] |