also bunghole, "hole in a cask for a stopper," 1570s, from bung (n.) + hole (n.). Sense extended to "anus" by c.1600.
The anus (1600s+)
To do anal intercourse; bugger (1940s+)