why certainly it can!
IOS 11.3 had NAT included I believe. BUT, it depends on how much memory and flash the router has. If i remember 2501 only has one ethernet port?
PM me or post in networking forum.
<edit> btw, 2501 can't handle much NAT or traffic over 256 kbit. very old under powered router, the soho stuff is WAY faster.