Server IP: 192.168.1.200
GW IP: 192.168.1.1
VPN IP pool: 192.168.0.128/26
Forward UDP port 500 and UDP port 4500
//+build ignore | |
// TensorFlow Serving gRPC interface generator. | |
// | |
// This script works around a bunch of issues (as of 2019-08-25) between Go's | |
// protobuf compiler plugin, Go modules, and definitions of TensorFlow and | |
// TensorFlow Serving proto files. It assumes that protoc and protoc-gen-go are | |
// on your PATH. | |
// | |
// git clone -b r1.15 https://github.com/tensorflow/tensorflow.git |
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
) | |
func main() { | |
// We need to cast handleRoot to a http.HandlerFunc since wrapHandlerWithLogging |