sentry
A soldier posted at a gate, camp or post to keep watch and stop anyone who has no right to pass.
Tell
a soldier who challenges all comers
Best when
You mean a guard on duty at a fixed spot, especially a military one, and you don't need to say more.
Example
“The sentry at the camp gate checked every pass.”
Branches
a soldier posted to guard
holding a gate or door
watching for the enemy beyond camp
spotting what's coming, not stopping it
- lookout a watcher, a watch post, or the watching
minding property, not at war
- watchman guards premises, often by night
- gatekeeper decides who is let through
the place where one stands
- post pole, job, mail or message, left open
- watchtower built for lookouts
- guardhouse the building guards work from
something watching over, figuratively
- guardian watches over it in trust