I.ADSL dialing
ADSL generally uses PPPoE protocol, Debian software is rp-pppoe, use:
< BR> apt-get install pppoe pppoeconf
This software is installed.
Then run pppoeconf, automatically detect the network card connected to ADSL, and then enter the corresponding parameters, such as user name, password, etc., you can use pon to connect to the Internet.
The generated configuration file is:
/etc/ppp/peers/dsl-provider
II. Dynamic Domain Name
First go to http://www.3322.org/to apply for a dynamic domain name. After applying, download his client at http://www.3322.org/dyndnspage/client.html. Then unzip, I extracted it to
/usr/local/bin/ez-ipupdate.
In the directory /etc/ppp/ip-up.d, the shell below will be automatically executed when ppp is up. This will automatically update the dynamic domain name here. updated. In addition, you can also put firewall rules and NAT rules in this file, such as I generate a 02nat under this directory (note that the attribute should be chmod 755 02nat changed to executable:
#!/bin/bash #IPTABLES=\\"/sbin/iptables\\"# Load the appropriate module modprobe iptable_nat# Clear all rules ${IPTABLES} -t filter -F INPUT${IPTABLES} -t filter -F OUTPUT${IPTABLES} -t filter -F FORWARD${IPTABLES} -t filter -X${IPTABLES} -t nat -F PREROUTING${IPTABLES} -t nat -F OUTPUT${IPTABLES} -t nat -F POSTROUTING${IPTABLES} -t nat - X${IPTABLES} -t mangle -F PREROUTING${IPTABLES} -t mangle -F OUTPUT${IPTABLES} -t mangle -X# NAT rule ${IPTABLES} -t nat -A POSTROUTING -o ppp0 -j MASQUERADE# Open the packet forwarding function echo 1 > /proc/sys/net/ipv4/ip_forward# dynamic domain name update /usr/local/bin/ez-ipupdate -h xxx.3322.org -i ppp0 -S qdns -u username:password
where xxx.3322.org is the domain name you applied for, username is the username, and password is the password.
vmstat is a tool for viewing virtual memory usage. General format: vmstat [-V] [-n] [delay [count]]C
Preparation before erection: To set up a DNS server, you must install a software program that provi
Windows, Linux systems support interface themes, you can easily change your face, and it is not dif
We all know how to query the installation time of win7 system? In fact, it is very simple, you can f
Modify the X-Cache in Squid's Header to Powered-By-LinuxTone
How to build a Linux firewall using netfilter/iptables
How to find recently modified files in Linux
CentOS installation GD library support
How to remove the old kernel of Ubuntu Linux operating system
How to install varish as a cache and proxy
Vsftpd 500 OOPS: cannot change directory
Linux learning tool Cygwin under windows
How to add/remove FTP users and set permissions in Linux?
How to use the table for range screening
Windows10 official version how to reinstall the system
Windows XP auto-restart problem detailed analysis
WiFi sharing wizard mobile version is about to go online six highlights to see the
How WinXP sets FLASH as a dynamic desktop background
How to configure nVIDIA graphics card under the Linux system
Detailed IE10 browser features in Win 8 Consumer Preview (2)
Learn about 6 different system installation methods
What is the difference between Win10 Enterprise Edition, Professional Edition and Home Edition?