You could use something like a surface mount connector designed for rj45 or ethernet. It looks similar to an old style jack for a phone and is mounted just above the base board. If you have several cables coming out in one location where the router is you might use something like a patch panel...