Repository navigation
Ports and Firewall
List the listeners configured for all instances, including protocol, purpose, and access category:
opensim portsLimit the output to one grid or simulator by naming it:
opensim ports my-gridPrint container runtime port mappings:
opensim ports --publishPrint UFW rules for public listeners and comments for private/console listeners:
opensim ports --ufwUse --private-address ADDRESS to bind private and console listeners to a specific private address; the default is 127.0.0.1:
opensim ports --ufw --private-address 192.168.1.10- Open only what
opensim ports --ufwprints, never a wide range such as 8000-8099 or 9000-9999. - Public listeners (Robust public port, simulator http and UDP region ports) are open to everyone.
- The Robust private port is reachable only from a list of fixed public IPv4/IPv6 addresses (the pool: the grid's simulators).
- Console ports (Robust and simulators) are reachable only from the management host(s), a setting of their own (often the Robust server, not necessarily). Nothing else is restricted on the simulator side.
- A simulator has no private listener: it is a client of the Robust private port. Simulators do not talk to each other on private or console ports (region crossings, teleports and Hypergrid use the public http port).
- Public and private Robust URLs use the same host. Private networks are out of scope for now.
- The engine API of a grid, for the sites of the same machine, listens on 127.0.0.1 only, on a port of the grid: the first free one of its block after its own ports, its console (x4) left to it, so 8005 for a grid on 8002.
opensim portslists it aslocal; it is never published and never opened.opensim web GRID apigives the web server config and theapi_urlof the site with that port.
Print real ufw allow from rules for the Robust private port with --from, and for the console ports with --manage-from. Each takes IPv4 or IPv6 addresses (or address/prefix), separated by commas:
opensim ports --ufw --from 203.0.113.5,2001:db8::/64 --manage-from 198.51.100.7Without them, those two kinds of ports are printed as comments.
These commands report or print rules; they do not apply firewall changes. Review the output, then configure the host firewall and any upstream router or provider firewall separately. Keep console ports restricted to trusted management hosts.
OpenSimulator tools | OpenSim Engine (API) | OpenSim Helpers | W4OS WordPress Plugin | Speculoos.World:8002