Use debian4.0 for soft routing.

Source: Internet
Author: User
Use debian4.0 for soft routing and try out-Debian information of the Linux release technology. For details, see the following. Before also useful IPCOP, also used 2003r2 to do the soft routing, the effect is not good, and later changed to hard routing D-LINK, debian4.0 out, I installed my own PC, I feel pretty good, after that, I tried to use debian as a soft route. After a day's exploration, I found a lot of information and finally successfully configured it. However, only the NAT Function is available. Haha, the firewall will continue later.

The sub-device is mainly configured as follows: (the Sub-device purchased by the company in is now decommissioned)
Motherboard: intel 815
Cpu: c3 800
Hard Disk: Seagate 20 GB
NIC: D-LINK DRE-530TX (two, just bought)

Basic System installation:
Download the first ISO 4.0 etch from debian.org and burn it to a CD.

1. Only the basic system is installed during installation. The installation process is omitted.

2. Install VIM and use it later :)
Apt-get install vim

3. Configure the NIC
# Vi/etc/network/interfaces
Change the configuration to: (the company uses Telecom fixed IP fiber optic)
Auto lo
Iface lo inet loopback

Auto eth0
Iface eth0 inet static
Address *.*.*.*
Netmask 255.255.255.0
Gateway *. 1

Auto eth1
Iface eth1 inet static
Address 192.168.0.1
Network 192.168.0.0
Netmask 255.255.255.0
Broadcast 192.168.0.255

4. Configure DNS
# Vi/etc/resolv. conf
Add the following content:
Nameserver 202.120.2.101

5. Install the IP camouflage Toolkit
# Apt-get install ipmasq

6. reboot
OK. The NAT installation is complete. Now the vro is lost.
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.