Skip to content

Create New Virtual Network

How to create virtual network

You can create multiple virtual networks. For creating virtual networks, you need gateways. Gateways are opened ports that listens on host for creating tunnels.

    ferrumgate --create-gateway

enter a empty port for listening on host like 9998, 9997 or etc...

For starting

    ferrumgate --start-gateway $gatewayIdFromScreen

For deleting

    ferrumgate --delete-gateway $gatewayIdFromScreen

After starting open networks, create a virtual network and attach gateway

All Gateway commands

    ferrumgate --list-gateways
    ferrumgate --start-gateway $gatewayId
    ferrumgate --stop-gateway $gatewayId
    ferrumgate --delete-gateway $gatewayId
    ferrumgate --recreate-gateway
    ferrumgate --create-gateway

Create gateway asks for a port number, host will start to listen on that port number.