LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-19-2021, 02:26 AM   #1
Nojus.k
LQ Newbie
 
Registered: Sep 2020
Posts: 5

Rep: Reputation: Disabled
How to share USB tethered internet via ethernet on a Debian server?


Greetings, everyone,

I want to know how can I share my USB tethered internet via ethernet from my Debian server(no DE) to my desktop also running Debian(Trinity desktop) so I could access the internet on it and also keeping the ability to still SSH to the server locally.
 
Old 02-20-2021, 10:49 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,380

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
You should be able to find detail on this with a web search. I'd start by putting this line in a startup file
Code:
echo 1 >/proc/sys/net/ipve/ip_forward
Give some fixed IP to your local nic (which is beginning to sound more like a server than your server!) & run a dhcp server on it. You'll have to configure that. Add a fixed default route from your server to your own box, and connect them via dhcp. That might work, or at least give interesting errors
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] scanning wifi through a usb-tethered device? KaliLover Linux - Newbie 4 08-26-2014 11:53 AM
[SOLVED] Wicd and usb tethered phone. manwichmakesameal Slackware 4 02-12-2010 08:21 AM
GPRS tethered Palm Treo on Mandriva jburford Linux - Networking 1 09-23-2007 10:32 PM
Smart phones and tethered internet access gtzpower Linux - Networking 0 05-03-2007 02:09 PM
tethered USB verizon blackberry chasster123 Linux - Wireless Networking 0 03-11-2007 07:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration