Add support for RCON TCP proxy using simpleproxy. Useful for AWS Fargate in awsvpc networking mode.
This commit is contained in:
parent
e2b9102a64
commit
b4aa0caaca
3 changed files with 16 additions and 1 deletions
|
@ -46,6 +46,11 @@ fi
|
|||
|
||||
# Start Server
|
||||
|
||||
if [[ ! -z $CS2_RCON_PORT ]]; then
|
||||
echo "Establishing Simpleproxy for ${CS2_RCON_PORT} to 127.0.0.1:${CS2_PORT}"
|
||||
simpleproxy -L "${CS2_RCON_PORT}" -R 127.0.0.1:"${CS2_PORT}" &
|
||||
fi
|
||||
|
||||
eval "./cs2" -dedicated \
|
||||
-ip "${CS2_IP}" -port "${CS2_PORT}" \
|
||||
-console \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue