-
Notifications
You must be signed in to change notification settings - Fork 355
玖亖伍 edited this page Apr 20, 2019
·
3 revisions
# windows
supernode.exe -l <port>
# linux
supernode -l <port>
# example:
# listen UDP port on 5566, you should config firewall to allow other pc to connect your upd port `5566`
supernode -l 5566# view edge help info
edge --help
# connect to a supernode example
edge -d edge0 -a 10.0.0.10 -c p2pnet -k p2ppwd -l 101.123.234.123:5566 -m ae:a0:af:a7:47:5b -f
# view network devices info
# linux
ifconfig
# windows
ipconfignotice:
- if your os is windows, you should download openvpn and install it, it will install
TAP-Windowswhich can createvirtual network interface card(n2n edge need it). but, you can only install TAP-Windows. -
openvpnorTAP-Windowsdownload page: https://build.openvpn.net/downloads/releases/
edge parameters' explain:
-d <tun device> # name of virtual network interface card
-a <mode:address> # your local ip address assigned
-c <community> # private network name
-k <encrypt key> # password of private network
-l <supernode host:port> # supernode address
-m <MAC address> # your local mac address
-f # Do not fork and run as a daemon; rather run in foreground.
- same
-lparameter, connect to same a supernode - same
-cand-kparameters, you can understand as "open same a lock with the same key" - difference
-aparameter, also difference-mparameter if you specified - difference
-dparameter with your local existed network interface card