https://www.whonix.org/wiki/Dev/Control_Port_Filter_Proxy
says:
onion-grater listens on 0.0.0.0 port 9052, filters (white list) incoming control port messages and forwards them to the real Tor Control Port listening in 127.0.0.1:9051
Looking at the netstat output suggests that the above documentation is no longer up to date and needs an update.