|
|
%!s(int64=10) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| README.md | %!s(int64=10) %!d(string=hai) anos | |
| main.go | %!s(int64=10) %!d(string=hai) anos | |
The Server program and the github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/server package contain an experimental Psiphon server stack.
Functionality is based on the (production server stack)[https://bitbucket.org/psiphon/psiphon-circumvention-system/src/tip/Server/] but only a small subset is implemented. Currently, this stack supports the SSH protocol and has a minimal web server to support the API calls the tunnel-core client requires.
Server generate to generate a server configuration, including new key material and credentials. This will emit a config file and a server entry file.
generate does not yet take input parameters, so for now you must edit code if you must change the server IP address or ports.Server run to run the server stack using the generated configuration.TargetServerEntry config field in the tunnel-core client) to connect to the server.