中文字幕 另类精品,亚洲欧美一区二区蜜桃,日本在线精品视频免费,孩交精品乱子片免费

<sup id="3hn2b"></sup>

    1. <sub id="3hn2b"><ol id="3hn2b"></ol></sub><legend id="3hn2b"></legend>

      1. <xmp id="3hn2b"></xmp>

      2. 新聞中心

        EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > Linux下用pptp連接VPN服務(wù)器

        Linux下用pptp連接VPN服務(wù)器

        作者: 時(shí)間:2016-09-12 來源:網(wǎng)絡(luò) 收藏

        說明:加密選項(xiàng)卡比較復(fù)雜。有許多選擇:

        本文引用地址:http://www.antipu.com.cn/article/201609/304243.htm

        Require Microsoft Point-to-Point Encryption (MPPE):需要微軟點(diǎn)對(duì)點(diǎn)加密。

        Refuse 40-bit Encryption :拒絕40位加密。

        Refuse 128-bit Encryption:拒絕128位加密。

        Refuse Stateless Encryption:拒絕無狀態(tài)加密。

        這里我們選擇需要微軟點(diǎn)對(duì)點(diǎn)加密。

        Miscellaneous(雜項(xiàng))選項(xiàng)

        選項(xiàng)卡是我們的最后一個(gè)選項(xiàng)卡。如圖7。

        ?/P>

        ?/P>

        Linux下用pptp連接VPN服務(wù)器
        圖7 Miscellaneous(雜項(xiàng))選項(xiàng)

        說明:

        Start tunnel when this program starts :自動(dòng)啟動(dòng)VPN隧道。

        Enable connection debugging facilities :顯示連接信息。

        Reconnect if disconnected :自動(dòng)重復(fù)連接。

        7. 啟動(dòng)VPN連接

        所有選項(xiàng)完成后點(diǎn)擊“Add”按鈕,系統(tǒng)會(huì)自動(dòng)連接PPTP 。此時(shí)屏幕會(huì)出現(xiàn)一個(gè)

        連接狀態(tài)界面如圖8 。

        ?/P>

        Linux下用pptp連接VPN服務(wù)器
        圖8連接狀態(tài)界面

        從圖8 可以看到的IP地址是192.168.0.3 。MPPE加密功能已經(jīng)啟用。VPN接口是PPP1。

        此時(shí)在PPTP 使用ifconfig -a命令查看:

        # ifconfig -a

        eth0 Link encap:Ethernet HWaddr 00:0C:29:51:8A:2E

        inet addr:192.168.1.18 Bcast:192.168.1.255 Mask:255.255.255.0

        inet6 addr: fe80::20c:29ff:fe51:8a2e/64 Scope:Link

        UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

        RX packets:98 errors:0 dropped:0 overruns:0 frame:0

        TX packets:89 errors:0 dropped:0 overruns:0 carrier:0

        collisions:0 txqueuelen:1000

        RX bytes:11572 (11.3 KiB) TX bytes:8310 (8.1 KiB)

        Interrupt:10 Base address:0x1400

        lo Link encap:Local Loopback

        inet addr:127.0.0.1 Mask:255.0.0.0

        inet6 addr: ::1/128 Scope:Host

        UP LOOPBACK RUNNING MTU:16436 Metric:1

        RX packets:3967 errors:0 dropped:0 overruns:0 frame:0

        TX packets:3967 errors:0 dropped:0 overruns:0 carrier:0

        collisions:0 txqueuelen:0

        RX bytes:4158080 (3.9 MiB) TX bytes:4158080 (3.9 MiB)

        ppp0 Link encap:Point-to-Point Protocol

        inet addr:192.168.0.3 P-t-P:192.168.1.128 Mask:255.255.255.255

        UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1496 Metric:1

        RX packets:30 errors:0 dropped:0 overruns:0 frame:0

        TX packets:8 errors:0 dropped:0 overruns:0 carrier:0

        collisions:0 txqueuelen:3

        RX bytes:3132 (3.0 KiB) TX bytes:92 (92.0 b)

        ppp1 Link encap:Point-to-Point Protocol

        inet addr:192.168.1.129 P-t-P:192.168.0.3 Mask:255.255.255.255

        UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1496 Metric:1

        RX packets:7 errors:0 dropped:0 overruns:0 frame:0

        TX packets:7 errors:0 dropped:0 overruns:0 carrier:0

        collisions:0 txqueuelen:3

        RX bytes:70 (70.0 b) TX bytes:76 (76.0 b)

        sit0 Link encap:IPv6-in-IPv4

        NOARP MTU:1480 Metric:1

        RX packets:0 errors:0 dropped:0 overruns:0 frame:0

        TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

        collisions:0 txqueuelen:0

        RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

        其中ppp0是Windows 客戶端連接PPTP VPN的接口。Ppp1是客戶端連接PPTP VPN的接口。



        關(guān)鍵詞: Linux pptp VPN服務(wù)器

        評(píng)論


        相關(guān)推薦

        技術(shù)專區(qū)

        關(guān)閉