diff --git a/regenreate_proto.sh b/regenreate_proto.sh
new file mode 100755
index 0000000000000000000000000000000000000000..00007481a80bd389f2e22861ef86c16f5c37cd5e
--- /dev/null
+++ b/regenreate_proto.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+pushd $GOPATH/src
+protoc --go_out=plugins=grpc:. github.com/bio-routing/bio-rd/net/api/*.proto
+protoc --go_out=plugins=grpc:. github.com/bio-routing/bio-rd/protocols/bgp/api/*.proto
+popd