A peer-to-peer network is built from every node connected to it (yes, that means you as well!). The more nodes, the stronger and more versatile the network becomes. If you are running CENO Browser from a country that does not censor the Internet (or not as heavily as some), consider helping other CENO users by becoming a bridge node. You will then begin to route traffic between clients living in heavily censored countries and CENO injectors. You will not be able to see their traffic (it will be sent through an encrypted tunnel), nor will any of this traffic remain on your device.
Note: The configuration described in this section may also help your device to effectively seed content to others on the distributed cache, so please consider applying it as well when using CENO in a censoring country (but keep in mind the risks of serving such content to others).
This functionality is already built into CENO Browser. Your device will need to be connected to a Wi-Fi network that has either UPnP enabled or explicit port forwarding configured for CENO. See the next sections for further details.
However, please note that Android will only allow a mobile device to act as a proper bridge while you are actively using it, as power-saving features will throttle the operation of CENO otherwise.
Technical note: This is mainly due to Android's Doze mode slowing down the operation of the native Ouinet library. Unfortunately, disabling battery optimization for CENO does not seem to exclude Ouinet from it. Your particular device may also include its own power-saving features which may interfere with CENO; please check Don't kill my app! for your device's brand.
Thus if you intend to have CENO acting as a permanent, always-reachable bridge, besides a properly configured Wi-Fi network you will need to:
Have your device plugged in to power at all times.
Have the device's screen on at all times.
One convenient way of doing this without much power consumption and obnoxious, permanent lighting is using Android's screen saver: enable it under Settings / Display / Screen saver (or Daydream in some versions), pick the Clock widget, choose When to start screen saver in the menu and select While charging or Either. A very dimmed down clock will appear on a black background while the device is not active.
Please note that you should not use the power button to lock the device as this will turn the screen off. Instead, just wait for the device to lock itself with the screen on.
If that setup is not an option for you, do not desist yet! If you have a computer with good connectivity that stays on most of the time, please continue reading.
If your computer supports Docker containers, you can run a pre-configured CENO client on it to act as a bridge. If Docker is not yet installed, please follow the instructions to install the Docker Engine in your platform. For Debian derivatives like Ubuntu or Linux Mint, you can just run:
sudo apt install docker.io
To deploy a CENO client container you only need to run the following command on a terminal (it looks scary but you can just copy and paste it as is on the command line):
sudo docker run --name ceno-client \ -dv ceno:/var/opt/ouinet --network host \ --restart unless-stopped equalitie/ceno-client
If your computer is not based on GNU/Linux, the command needs to be slightly different:
sudo docker run --name ceno-client \ -dv ceno:/var/opt/ouinet \ -p 127.0.0.1:8077-8078:8077-8078 -p 28729:28729/udp \ --restart unless-stopped equalitie/ceno-client
The command will start a container named
ceno-client that will run on every boot unless you explicitly tell it to stop. Please check the CENO Docker client documentation for more information on how to manipulate the container.
Note: This client has no CENO Settings: when instructed below to access that page, open instead the client front-end, which contains mostly equivalent information.
Note: Enabling UPnP on the Wi-Fi router may expose devices on your network to external interference. Please make yourself aware of the risks and also consider using alternative methods as explained below.
A status like the one below indicates that UPnP is not available or not working on your WiFi router:
disabled / inactive
The status below indicates that UPnP is likely working and CENO is currently verifying connectivity:
The status below indicates that UPnP is working and you can bridge connections for other CENO users:
likely reachable / reachable
Note: Even if UPnP is working, your router may still not be reachable from the outside. This can be the case when CENO Settings reports External UDP endpoints which look like CGNAT addresses
100.X.Y.Z:Nwith X between 64 and 127 (increasingly common among home ISPs), or like private addresses
172.X.Y.Z:Nwith X between 16 and 31, and
192.168.X.Y:N. If so, please contact your ISP or network administrator to get a public address on your router or to establish port forwardings to the external endpoint.
There are many Wi-Fi routers on the market and each has their own particular features. Herein a list of some manufacturers' instructions for enabling UPnP:
Instead of enabling UPnP on your router, you can create a port forwarding rule to make sure that connections from the CENO network are forwarded to your device. You will need to login to the router's administrative interface and locate the port forwarding option. To see which IP address you need to forward the connections to and the relevant port, open the CENO Settings page and look under the Local UDP endpoints.
Local UDP endpoints
The port forwarding must be for the UDP protocol (not TCP). CENO chooses a random port on first run and keeps it for subsequent runs, but your device's local network IP address may change from time to time. Thus you should periodically review the CENO Settings page to see that your device is reachable to the CENO network.
Technical note: Alternatively, you can make sure that the router always assigns the same IP address to your device (e.g. via a static DHCP lease for the device's MAC address).