Skip to content

Instantly share code, notes, and snippets.

@iMega
Last active February 23, 2017 12:01
Show Gist options
  • Save iMega/b6b1924370db14b40d4cfef3c1636c81 to your computer and use it in GitHub Desktop.
Save iMega/b6b1924370db14b40d4cfef3c1636c81 to your computer and use it in GitHub Desktop.
Port Forwarding boot2docker parallels mac os x openarena
$ prlctl list --all | awk '{print $1}'
UUID
{e5e69367-7b17-4585-82a4-1e8d83813f09}
$ prlsrvctl net list
Network ID Type Bound To
Shared shared vnic0
$ prlsrvctl net info Shared
...
NAT server:
...
$ prlsrvctl net set Shared --nat-udp-add oa_rule,27950,'{e5e69367-7b17-4585-82a4-1e8d83813f09}',27950
$ prlsrvctl net set Shared --nat-udp-add oa_rule2,27960,'{e5e69367-7b17-4585-82a4-1e8d83813f09}',27960
$ prlsrvctl net info Shared
...
NAT server:
UDP rules:
oa_rule source port=27960 destination IP/VM id={e5e69367-7b17-4585-82a4-1e8d83813f09} destination port=27960
oa_rule2 source port=27950 destination IP/VM id={e5e69367-7b17-4585-82a4-1e8d83813f09} destination port=27950
@iMega
Copy link
Author

iMega commented Feb 23, 2017

docker run -d -p 27950:27950/udp -p 27960:27960/udp imega/openarena

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment