亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? slackcs.txt

?? a collection of mega hacking tools
?? TXT
字號:
Dial-Up Modem Connection Sharing by
Boris Kurktchiev aka MANOWAR^ <webmaster@bgdefenders.zzn.com>
for BlackSun Research Facility http://blacksun.box.sk

July 31, 2001

A mini HOWTO on a simple way to securely share your dial-up modem connection between
Slackware and Windows 9x and Win2k using IPtables and IP Masquerading.

1. Introduction

This is a mini HOWTO that describes an easy and secure way of setting up your Home
Connection Sharing using Slackware Linux 7.0, 7.1, and 8.0.
What you need in order for this to work:

     - A Network Card
     - A Ethernet Hub / or a Cross Over Cable
     - The 2.4.* kernel version
     - And most important Slackware Linux installed.

If you do not have anything from the above list, then you might have to work your own way of
doing this.

1.1 Copyright

Copyright (c) 2001, Boris Kurktchiev

You can distribute this document under the terms of the GNU General Public License, which you
can get at http://www.gnu.org/copyleft/gpl.html.
Information and other contents in this document are the best of my knowledge. However, this
may have made errors. 
So you should determine if you want to follow the instructions given in this document.
Nobody is responsible for any damage to your computer and any other loss derived from the use
of the information contained herein.

THE AUTHOR AND MAINTAINERS ARE NOT RESPONSIBLE FOR ANY DAMAGE 
INCURRED DUE TO ACTIONS TAKEN BASED ON INFORMATION CONTAINED IN
THIS DOCUMENT.

Of course, I am open to all type of suggestions and corrections on the content of this document.

2. Configuring Networking

I am assuming that you have not tried hooking up the two or more PC so I am going to start from
scratch. So you have your network card plugged in, you have your modem up and running, but now your
mom needs to get on the internet and she is definitely not a Linux lover.
Well lets start setting up the network so we can keep your mom happy:

2.1 Configuring Slackware

     1. Log in as root 
     2. In your console run netconfig
     3. Go through first few windows where you specify the name of your machine and the
	host name you want to have
     4. The third window you should see is SETUP IP FOR "your host name" 
     5. Click on Static IP
     6. You are going to be prompted a window and you are going to put 192.168.0.1 in it.
	That is going to be your IP on your home network.
     7. Leave the default net mask as 255.255.255.0
     8. When you are asked for a gateway just hit enter, when you are asked if you are going
	to run name server click no, and after that you should be good to go.
     9. You are going to be prompted for your network card to be detected just let the
	program find the module for your card (if the system has that module compiled)
     10.If netconfig tells you that you don't have the module for your network card than you
	better find out what your card name is and compile it in the kernel
	(if you don't know how to do that go and read the Kernel-HOWTO at www.linuxdocs.org).

2.2 Configuring Windows

     1. Log in (the use of admin privileges are necessary)
     2. Right click on network neighborhood
     3. Right click on local connections
     4. Then click on TCP/IP protocol and go to properties (if you don't have the protocol
	installed just hit install go to Protocols and select TCP/IP and click install.
     5. There click use static IP: in the IP box put 192.168.0.2 then go to netmask and enter
	255.255.255.0 and for the default gateway enter 192.168.0.1
     6. Now for DNS services you are going to add the IP your ISP (Internet Service Provider)
	had provided you with if you don't know it then
	Connect to the Internet in windows and then go to Start/Run and type winipcfg and a window
	with at least 2 IP's will be shown.
 	Those two are the two DNS servers provided by your ISP. Put them both in the
	DNS service at the TCP/IP configuration.
     7. Click ok and go back to your Slackware machine.

3. Setting up the connection sharing
     
Well her goes the most exciting part of the exercise. Setting up the sharing script. Right now I can
only tell you how to start the script we are going
Create using KPPP.
So start up your favorite text editor (I usually use Pico for simple editing) and copy this script
     
     echo "1" > /proc/sys/net/ipv4/ip_dynaddr
     iptables -F
     iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
     iptables -A INPUT -i ppp0 --source 192.168.1.0/24 -j DROP
     iptables -A INPUT -i ppp0 --source 10.0.0.0/8 -j DROP
     iptables -A INPUT -i ppp0 --source 172.16.0.0/12 -j DROP
     iptables -A FORWARD -i eth0 -j ACCEPT
     iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
     iptables -A FORWARD -m limit --limit 5/minute --limit-burst 5

The first iptables line is flushing the iptables rules. The second is setting your ppp0
( your modem ) interface to masquerading, the third linedenies any connection to your ppp0 interface from the three "C" class IP's used for home
networking, the forwarding lines are the ones that are doing the
magic they are allowing your Network Card to be used as an ISP that serves the 192.168.0.2 PC.
That's it you are done. Now exit and save do chmod a+x filename then do cp filename /usr/bin and
now you are good to go. You are all set.

Now in order to run this script upon connection using KPPP go to setup and then select the name
of the account and then go to execute
in the upon connect space put the name of the file you just put the iptables rules and then connect
to the Internet using KPPP. IF you are using PPP the only
way I can figure out right now for you to execute the rules is to do it manually. wait for
ppp-on/go do its job and then execute the file.

Now go to the Windows computer and try connecting to a site. If you did everything right you
should be able to surf the net without any problem.
If you want to be able to do dial on demand go to www.sourceforge.net and do a search for daild
there is a good HOWTO on configuring diald on
www.linuxdocs.org.

4. Some Security Additions

Well everything is cool now and you have your network connection sharing up and running. Here
are a few tips on how to make you computer and network
a little more secure.
     1. log in as root and go to /etc
     2. pico(or whatever your favorite text editor is) hosts.deny. Now put this line in there
	ALL:  ALL
	This deny's any access to any service on your PC.
        The bad thing is that you blocked yourself and your network too that way.
     3. now do pico hosts.allow and put this in there on separate lines
     	ALL: 127.0.0.1
	ALL: 192.168.0.
        now you have granted access to the services to your localhost and your network.

That's it now you can go and edit the inetd.conf file and comment in all the services you don't
need.

5. Credits

I would like to thank:

Ghost_Rider for adding the 3 INPUT rules in order to make more secure script.
Paul Ramsey <pramsey@refractions.net> for his Home Networking mini Howto that inspired me to write
mine mini Howto.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美性生活大片视频| 自拍偷拍欧美精品| 中文在线免费一区三区高中清不卡| 国产精品久久福利| 久久国产欧美日韩精品| 日本高清不卡视频| 久久伊99综合婷婷久久伊| 亚洲国产aⅴ天堂久久| 成人亚洲一区二区一| 日韩一区二区三| 亚洲国产三级在线| 成人av在线播放网址| 久久蜜桃av一区二区天堂| 亚洲电影一级片| 色婷婷久久久久swag精品| 国产精品欧美精品| 寂寞少妇一区二区三区| 91精品中文字幕一区二区三区| 中文字幕色av一区二区三区| 国产精品香蕉一区二区三区| 日韩视频在线永久播放| 亚洲一区二区三区在线播放| 91在线porny国产在线看| 亚洲国产精品精华液2区45| 激情六月婷婷综合| 日韩精品一区国产麻豆| 日本不卡123| 91麻豆精品国产无毒不卡在线观看| 日韩一区欧美二区| 欧美性大战久久久| 亚洲国产日韩综合久久精品| 色老汉一区二区三区| 一区二区免费看| 欧美在线观看一区二区| 亚洲综合区在线| 欧美性受xxxx黑人xyx性爽| 亚洲福利视频一区二区| 欧美日韩综合在线免费观看| 午夜激情一区二区三区| 欧美精品视频www在线观看| 日韩综合小视频| 欧美福利电影网| 久久99久久久久久久久久久| 精品国产乱码久久久久久闺蜜| 久久aⅴ国产欧美74aaa| 精品国产一区二区精华| 国产大陆精品国产| 亚洲天堂成人网| 欧美日韩国产综合久久| 久久国产精品99久久久久久老狼| 久久新电视剧免费观看| 国产精品12区| 亚洲三级小视频| 在线观看91精品国产麻豆| 麻豆精品一区二区三区| 国产免费成人在线视频| 91碰在线视频| 午夜精品福利一区二区三区av| 日韩视频一区二区三区| 丁香另类激情小说| 尤物av一区二区| 日韩一区二区三区三四区视频在线观看 | 中文字幕制服丝袜一区二区三区| 99精品久久99久久久久| 亚洲电影一区二区三区| 欧美成人乱码一区二区三区| 成人av在线一区二区三区| 亚洲精品视频在线看| 日韩欧美国产一区二区在线播放 | 亚洲靠逼com| 日韩亚洲欧美成人一区| 成人精品小蝌蚪| 成av人片一区二区| 亚洲小说欧美激情另类| 粉嫩av亚洲一区二区图片| 欧美精品一区二区三区蜜桃| 成人av电影在线播放| 香蕉加勒比综合久久| 国产精品视频在线看| 国产精品婷婷午夜在线观看| av一区二区三区四区| 欧美va亚洲va香蕉在线| 久久99国产精品免费网站| 99久久精品国产导航| 偷拍日韩校园综合在线| 亚洲第一福利视频在线| 狠狠色丁香婷婷综合| 成人一级视频在线观看| 日本亚洲电影天堂| 最新热久久免费视频| 99久久精品免费看国产免费软件| 久久99精品国产.久久久久久| 日韩精品电影一区亚洲| 亚洲一区二区av在线| 亚洲成a人v欧美综合天堂下载| 亚洲欧美色图小说| 亚洲国产精品一区二区久久| 丝袜诱惑制服诱惑色一区在线观看| 成人美女视频在线观看18| 久久综合国产精品| 亚洲永久精品大片| 亚洲精品你懂的| 欧美大片免费久久精品三p | 色婷婷亚洲精品| 91网站最新网址| 亚洲日本在线a| 国产精品视频观看| 欧美三级韩国三级日本一级| 一区二区三区在线看| 一区二区三区小说| 一区二区在线电影| 久久精品久久99精品久久| 日韩一区二区在线看| 婷婷久久综合九色综合伊人色| 国产成人在线视频网站| 亚洲国产激情av| 中文字幕在线一区二区三区| 国产成人精品一区二区三区四区| 国产毛片精品一区| 国产三级一区二区| 99免费精品在线观看| 性感美女极品91精品| 另类小说一区二区三区| 91女人视频在线观看| 91网站最新网址| 日本成人在线网站| 国产日产亚洲精品系列| 亚洲自拍偷拍麻豆| 久久久久一区二区三区四区| 一区二区免费在线播放| 亚洲大片精品永久免费| 日韩极品在线观看| 国产精品理伦片| 亚洲欧美一区二区久久 | 久久99国产乱子伦精品免费| 在线电影欧美成精品| 欧美不卡视频一区| 免费在线看一区| 国产成人午夜电影网| 欧美剧在线免费观看网站| 亚洲人精品午夜| 麻豆91免费看| 日韩成人免费电影| 国产成人精品免费在线| 国产一区三区三区| 国产福利一区在线观看| 亚洲一区二区视频| 8x福利精品第一导航| 亚洲激情图片小说视频| 久久嫩草精品久久久久| 亚洲国产高清不卡| 亚洲午夜一二三区视频| 日本va欧美va精品| 亚洲国产cao| 亚洲第一激情av| 国产毛片一区二区| 成人免费精品视频| 国产精品私人自拍| 国产午夜精品一区二区三区视频| 99精品视频一区二区三区| 亚洲精品视频观看| 性做久久久久久免费观看| 韩国av一区二区| 青青草精品视频| 成熟亚洲日本毛茸茸凸凹| av成人免费在线观看| 免费观看成人av| 亚洲成精国产精品女| 亚洲一区精品在线| 一本久久a久久精品亚洲| 国产精品另类一区| 在线观看亚洲精品视频| 欧美日韩精品免费| 宅男在线国产精品| 国产一区福利在线| 国产大陆a不卡| 91在线丨porny丨国产| 亚洲成人久久影院| 国产日产精品一区| 亚洲精品videosex极品| 制服丝袜成人动漫| 精品精品国产高清a毛片牛牛| 日韩美女一区二区三区四区| 色综合色狠狠综合色| 91日韩在线专区| 日本在线不卡视频| 精品国产制服丝袜高跟| 久久综合色8888| 99精品黄色片免费大全| 婷婷一区二区三区| 国产亚洲污的网站| 国产成人av影院| 视频一区国产视频| 国产成人日日夜夜| 在线一区二区三区做爰视频网站| 性欧美大战久久久久久久久| 亚洲精品一区二区三区福利 | 国产成人精品亚洲777人妖| 亚洲视频一区在线观看| 欧美猛男gaygay网站|