RouterOS installation Configuration

Source: Internet
Author: User
Tags routeros winbox
RouterOS installation configuration-Linux Enterprise Application-Linux server application information. For more information, see the following section. 1. RouterOS installation:

In the RouterOS installation configuration menu, use the arrow key to control the cursor, use the space key to select or discard the option, and press I to confirm the installation.

We generally only need the basic system for fiber-optic access. If it is adsl or modem dialing, We need to select ppp. I don't need to say dhcp. hotspot is the kind of community Internet access, when connecting to the Internet, you need to enter the account and password on the webpage to access the Internet. isdn is another dialing method. LCD is a small LCD display, and ntp is the time server and client, routing is an orthodox routing protocol. telephony is H232, which is related to audio and video. If you find a video connection problem, you can install this option, web-proxy web proxy, note that this is not recommended unless necessary. Many Web pages are not suitable for caching (for example, those password pages), and others have no value for Internet cafes (arlan, gps and so on are related to wireless devices. Do you need to explain ups ?)

We recommend that you install system and advanced-tools (advanced menu). You can choose dhcp or telphony as needed.

I usually choose these items: system. ppp advanced-tools security web-proxy

To facilitate learning, you can install them all.

Start by I
Press y twice

After selecting and installing the component, press "I" to enter the installation interface. Here, the system will ask you two (Y/N) about whether to clean up the hard disk or not, all "Y" is enough. After the installation is complete, you will be asked to REBOOT. Press enter.

Default Account: admin, no password

Attack 2.96
Press y at restart
He cracked the attack.
Let's take a look.

Input
System "Press ENTER"
License "Press ENTER"
Print "enter"

You can see the above registration information, oh, level 6, ISP level, very good.

The FileSystem of RouterOS is not public. You can only use several restricted commands. You can enter "?" whenever you don't know what to do. "/" Is similar to the dos "cd ". The preceding command is similar to "enter the system directory, then enter the license directory, and then execute the print command ".

Now let's configure the NIC

Enter "setup". In fact, you can abbreviated RouterOS commands as the first three letters. For example, you only need to enter "set.

The setup menu is simple.
R-reset

L-load driver

A-configure the NIC

D-configure the DHCP Client

S-configure the DHCP server

P-configure pppoe

T-configure pptp

X-exit menu

If you find that your configuration is wrong, the simplest way to flatten is set-r, or directly "reset.

Check it out.

Well, now we select "a" to configure the NIC

Here is another menu

A-add an address

G-configure the Default Gateway

X-exit menu

After "a" is selected, he will ask you to configure the NIC. By default, he will load etner2 first. You need to change 2 to 1. Note that, if he does not display et22. instead, he directly enters the next interface, that is, he recognizes only one network card. enter the Intranet ip address and mask,


2017100000000255 = 11111111.11111111.111111.11111111 (here there are 32 1, that is, 32)

255.255.255.0 = 11111111.11111111.111111.00000000 (this is 24)

So enter 192.168.0.X/24

Set it to 192.168.0.1/24.

Okay.
Press x
X
The above steps have completed linux ros installation.

Ii. Configure Internet sharing for RouterOS

Now you can use
Internet Explorer
Enter the address you just set
I set 192.168.0.1.
Download winbox
Open
Connect To: Enter the IP address you just set. My name is 192.168.0.1.
Login: Enter the user. My admin account has not been changed.
Password: the Password is empty. It was not set just now.

Click Connect

Open winbox

1. Click Interfaces.
Enable the second Nic.

2. Click IP-Address.
Set the IP address of the second Nic, that is, the Internet IP address.
For example
Assume that the Internet IP address is 218.56.165.188.
Assume that the Internet mask is: too many others
This is how I set
Address: 218.56.165.188/32


Network: 218.56.165.0
Broadcast: 218.56.165.255
I don't need to talk about it later.


It should all be in window mode.
Very simple.
Video tutorial operations

3. Add static routes
Click Ip-Route again
Set the route table.
Simple
Click +
Destination. If 0.0.0.0/0 is used
It indicates all ip segments of the route.
If you do not understand anything else, do not set up. Gateway: Here is the Gateway.
Enter your Internet gateway
For example, my Internet gateway is 218.66.78.190.

4. Set NAT shared Internet access
Click IP-Firewall
Set Internet sharing

Select Nat
Point +

Select the first General item

Chain: srcnat

Select the fourth Action

Set Action: masquerade


Select Mangle

Point +
Select the first General item
Settings:
Chain: prostrouting
Protocol: 6 (tcp)

Select the second Advanced item
Set: TCP Flags: syn

Select the fourth Action
Action: change MSS
New tcp mss: 1400

In this way, you can share the internet.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.