You can use port forwarding
Read this thread: Using the routing feature in 192.168.2.2:2770/routing to connect to USB devices on the Raspberry Pi
It really depends on the device and what you want to achieve.
Else, you can use arduino + ethernet shield