跳至內容
MasterDragon
使用者工具
登入
網站工具
搜尋
工具
顯示頁面
舊版
反向連結
最近更新
多媒體管理器
網站地圖
登入
>
最近更新
多媒體管理器
網站地圖
足跡:
service:n2n:n2n_used_windows_command
本頁是唯讀的,您可以看到原始碼,但不能更動它。您如果覺得它不應被鎖上,請詢問管理員。
====== 建立 N2N 連線使用 Windows 命令列 ====== 至http://www.ntop.org/n2n/下載已 compile 完成的 Win32 binaries code,[[http://luca.ntop.org/n2nWin32/|download url]] 目前下載最新版為 n2n-1.3.3-win32-installer.exe , 下載後安裝,會安裝在 c:\Program Files\n2n-Win32 ===== 建立 TAP Device (虛擬網卡) ===== * 開啟 command line * 至安裝目錄 <code>cd c:\Program Files\n2n-Win32</code> * 進入Driver目錄 <code>cd driver</code> * 建立虛擬網卡 <code>..\bin\tapinstall.exe install OemWin2k.inf TAP0801</code> * 完成後在網路會出現一張新的連線,你可自已更名{{:service:n2n:tap_device.jpg?500|}} \\ * <html><font color="red">此方式建立的網卡為 TAP v8 版,經測試無法與 n2n gui 版(V9)相通</font></html> ===== 建立 Super Node (Server) ===== * 切換至執行檔目錄 <code>cd \Program Files\n2n-Win32\bin</code> * 啟動 Super Node 伺服器 supernode -l [listen port]<code>supernode -l 9999</code> * supernode 相關說明 <code> -l <lport> Set UDP main listen port to <lport> -f Run in foreground.(windows default is foreground) -v Increase verbosity. Can be used multiple times. -h This help message. </code> ===== 建立 Edge (Peer) ===== * 切換至執行檔目錄 <code>cd \Program Files\n2n-Win32\bin</code> * 建立連線 edge.exe -c <my community> -a <my IP address> -k <encryption key> -l <supernode IP:port> <code> edge -a 10.1.2.1 -c mynetwork -k 000000 -l 172.16.0.1:9999 </code>
service/n2n/n2n_used_windows_command.txt
· 上一次變更: 2019/11/16 08:12 由
127.0.0.1
頁面工具
顯示頁面
舊版
反向連結
回到頁頂