Line 17: |
Line 17: |
| '''Configuration scheme:''' | | '''Configuration scheme:''' |
| | | |
− | [[File:WAN TO LANSchem3.jpg|border|class=tlt-border]] | + | [[File:Schem31.jpg|border|class=tlt-border]] |
| | | |
| ==WebUI Router configuration== | | ==WebUI Router configuration== |
Line 23: |
Line 23: |
| [[File:LAN_TO_WAN02.jpg|border|class=tlt-border]]<br> | | [[File:LAN_TO_WAN02.jpg|border|class=tlt-border]]<br> |
| After you clicked '''“Add New”''' new configuration window will pop-up, there you leave as default and press '''“Save”.''' | | After you clicked '''“Add New”''' new configuration window will pop-up, there you leave as default and press '''“Save”.''' |
− | [[File:LANASWAN02.jpg|border|class=tlt-border|800px]] | + | [[File:LANASWAN02.jpg|border|class=tlt-border|600px]] |
| | | |
| After saving settings, you will be redirected back to '''Network -> VLAN -> VLAN Networks''', now you need to open VLAN Network tab in the same window and you will need to: | | After saving settings, you will be redirected back to '''Network -> VLAN -> VLAN Networks''', now you need to open VLAN Network tab in the same window and you will need to: |
Line 38: |
Line 38: |
| - Turn off LAN ports 1-2 and leave only LAN port 3 on.<br> | | - Turn off LAN ports 1-2 and leave only LAN port 3 on.<br> |
| - Select “lan_wan” in the LAN section and press '''“Save”'''.</li><br> | | - Select “lan_wan” in the LAN section and press '''“Save”'''.</li><br> |
− | [[File:LANASWAN003.jpg|border|class=tlt-border]] | + | [[File:LANASWAN003.jpg|border|class=tlt-border|600px]] |
| </ul> | | </ul> |
| | | |
− | ===Using DHCP=== | + | ===Using DCHP=== |
− | Leave the setting as default<br> | + | Leave the settings as default and click '''save'''<br> |
− | ==Using a Static IP== | + | [[File:LANASWAN009.jpg|border|class=tlt-border|600px]] |
| + | ===Using a Static IP=== |
| <li style="color: red;">'''Note: Just if you want to use a Static IP, see the instructions below.'''</li> | | <li style="color: red;">'''Note: Just if you want to use a Static IP, see the instructions below.'''</li> |
| | | |
Line 50: |
Line 51: |
| For example: if gateway’s LAN subnet is 192.168.10.1, then router’s WAN IP could be for example '''192.168.10.125'''</div> | | For example: if gateway’s LAN subnet is 192.168.10.1, then router’s WAN IP could be for example '''192.168.10.125'''</div> |
| [[File:LANASWAN04.jpg|border|class=tlt-border]] | | [[File:LANASWAN04.jpg|border|class=tlt-border]] |
− | [[File:LANASWAN009.jpg|border|class=tlt-border]]
| + | |
| | | |
| ==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:LANASWAN005.jpg|border|class=tlt-border]] | + | [[File:LANASWAN005.jpg|border|class=tlt-border|400px]] |
| | | |
| 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:LANASWAN06.jpg|border|class=tlt-border]] | + | [[File:LANASWAN06.jpg|border|class=tlt-border|400px]] |
| <br> | | <br> |
| | | |
Line 66: |
Line 67: |
| command in SSH: | | command in SSH: |
| | | |
− | <li>vi /etc/config/network press latter '''i''' to be able to edit.</li> | + | <li>'''vi /etc/config/network''' press latter '''i''' to be able to edit.</li> |
| ===Using DHCP=== | | ===Using DHCP=== |
| Using arrows navigate and find '''config interface 'lan_wan'''' and add two options: | | Using arrows navigate and find '''config interface 'lan_wan'''' and add two options: |
Line 94: |
Line 95: |
| | | |
| 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:LANASWAN08.jpg|border|class=tlt-border|800px]] | + | [[File:008-2.jpg|border|class=tlt-border|800px]] |
| <br> | | <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> |
| + | Go to '''Network --> WAN''' and check if the new LAN_WAN is enable and if it has an assigned IP<br> |
| + | [[File:WAN.jpg|border|class=tlt-border|800px]] |
| + | |
| [[Category:{{{name}}} Configuration Examples]] | | [[Category:{{{name}}} Configuration Examples]] |