Connect two computers with ethernet and still use wifi?

by ditheredtransparency   Last Updated December 17, 2017 02:00 AM

So I have a server running Ubuntu server 16.04 and a MacBook running macOS Sierra. The server is a basic file server, sharing files over SMB. My plan was to have the server only accessible if you are directly connected to it with an Ethernet cable. I am running into an issue, though.

If I connect an Ethernet cable from the server to my MacBook, I can interact with the server just fine, but then my WiFi connection drops on my MacBook (for the record, my server is not connected to my network, or the internet). I want to be able to surf the web while transferring files to the server at the same time.

Is this possible? I could connect my server to my router, but I don't want to have it accessible to everyone on my network; just whoever has a physical connection via ethernet.

Any help is appreciated.

Also, if this is posted in the wrong stackexchange, I apologize. Mods, feel free to move it to a more appropriate place if need be.

Related Questions

What is bottlenecking my SMB share?

Updated March 04, 2017 20:00 PM

Apple access to SMB on Linux server

Updated September 14, 2017 14:00 PM

Windows 10 Share not accessible from Ubuntu 16.04 LTS

Updated December 01, 2017 16:00 PM