Date: Fri, 29 Mar 2024 01:37:35 +0100 (CET) Message-ID: <2127533267.99.1711672655734@confluence> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_98_1240395617.1711672655731" ------=_Part_98_1240395617.1711672655731 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Let us first take a look at the CLI. You'll find that it looks just like= a Debian based server.
Let's cover some basic commands first. First it is important to know how= to get help in de CLI. You can type ? and a list of all possible commands = will show up. It is also possible to write that in command you are currentl= y typing which will show all possible completions. (Please note that the ? = is not shown in the console).
Now lets list some basic commands:
Tip!
Obviously you don't want to type everything in the VNC. To enable SSH si= mply enter
set ser= vice ssh port PORT # For example: set service ssh port 22
Warning!
Please be aware that this will open the SSH server on all interfaces! If= you want this edit the SSH port and only allow logins via an SSH Key. Othe= rwise the router could get compromised rather quickly!
You have two methods for configuring the WA= N side. Either via DHCP or manually, however since we do not have DHCP on o= ur subnet you will need to configure it manually.
The first thing you will need to do for bot= h is to identify your WAN-interface. You can see al interfaces by typing "s= how interfaces"
set int= erface ethernet ethX address '?.?.?.?/CIDR' # For example: set interface ethernet eth0 address '193.191.187.104/28'
And to make it clear that it is WAN we will= give it a description:
set int= erfaces ethernet eth0 description 'WAN'
If you now type "show interfaces", you shou= ld get something like this:
+ethern= et eth0 { + address 10.0.0.239/24 + description WAN +} loopback lo { }
That is done, however we are missing one bi= g important thing. If our router receives a request from outside our networ= k, it will have no idea where to send the response. Obviously we need to se= t our default route to our gateway.
set pro= tocols static route 0.0.0.0/0 next-hop 193.191.187.110
Double check everything and then write "com= mit-confirm". If anything went wrong wait 10 minutes. The system will resta= rt to it's previous configuration.