From 12c7c4889965e75af35baaae82d5a68881672eda Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 6 Jan 2014 01:23:19 +0100 Subject: go: talk about port redirection --- go/README.markdown | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'go/README.markdown') diff --git a/go/README.markdown b/go/README.markdown index e508094b..f25bdf77 100644 --- a/go/README.markdown +++ b/go/README.markdown @@ -49,6 +49,7 @@ systemctl start go - this can fail you haven't configured or useradd the user, - or if you haven't changed the port and the user isn't allowed to - listen to fancy ports like `80`. + if you want to run as an unprivileged user but still want to use + port `80`, then maybe try something like + + iptables -t nat -A PREROUTING -p tcp --dport 1337 -j REDIRECT --to-ports 80 -- cgit v1.2.3