blob: f0cfdc3bb2d130314876d19961e4a27d8e530eb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  | 
syntax = "proto3";
package gus;
message Portmap {
        int64              localport     = 1;  // `autogenpb:unique`
        string             dest          = 2;
        bool               enabled       = 3;
        bool               allowIPv4     = 4;
        bool               useME         = 5;
        string             hosts         = 6;
        string             iptables      = 7;
}
message Portmaps {                             // `autogenpb:marshal` `autogenpb:gui` `autogenpb:nomutex`
        string             uuid          = 1;  // `autogenpb:uuid:49a865ea-292d-48fd-8dc2-d0f82d5fd016`
        string             version       = 2;  // `autogenpb:version:v0.0.1`
        repeated Portmap   portmaps      = 3;
}
  |