標題: 【SoftEther VPN】——主贴: Site to Site using Server to Server 讨论 [打印本頁] 作者: 角色 時間: 2013-3-21 02:27 標題: 【SoftEther VPN】——主贴: Site to Site using Server to Server 讨论
As far as I understand, source code is not distributed with Sothether, and you cannot re-compile or port to other machine.
Ntop (N2N) is Open Source, and you can re-compile.作者: 角色 時間: 2013-3-22 02:34
本帖最後由 角色 於 2013-3-22 02:36 編輯
Thanks, I have to wait for a while for the formal release of the software.作者: 角色 時間: 2013-3-31 08:16
歩驟(經過反覆測試,啲步驟係有先後關係,唔好搞錯)
1) 行"apt-get install uml-utilities"
2) 行"apt-get install bridge-utils"
3) 喺server加番個boottime tun module ,喺/etc/modules 加tun喺一行度,可reboot或行"modprobe tun"去人手load住,行"lsmod"會見到個tun module
4) 用SoftEther個Server Manager 先用tap起個local bridge ,如果已有用eth0做bridge要摌走佢,詳情睇以下日文原文或者用Google Translate 翻譯,我個tap device 叫vlan,喺個server會起咗個新interface叫做tap_vlan 。(不可自行喺server人手加個tap device ) http://www.pc-links.com/blog/softether/tap/
5) 喺server改咗/etc/network/interfaces 做以下内容(#係comment)
auto lo
iface lo inet loopback
#eth0 & tap_vlan 兩個section要行先,同唔set IP#俾佢,只加啲command等佢up/down 時執行
auto eth0
iface eth0 inet manual
up ip link set eth0 up
up brctl addif br0 eh0
down brctl delif br0 eth0 || true
down ip link set eth0 down
auto tap_vlan
iface tap_vlan inet manual
#加哩行以防個tap device 無咗
pre-up /usr/sbin/tunctl -t tap_vlan
up ip link set tap_vlan up
up brctl addif br0 tap_vlan
down brctl delif br0 tap_vlan || true
down ip link set tap_vlan down