LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-14-2015, 01:24 AM   #1
mind_exploit
Member
 
Registered: Feb 2011
Location: Bulgaria
Distribution: Slackware & Mint
Posts: 46

Rep: Reputation: 0
Cool Can I redirect internet traffic from a server (CentOS) to workstation (Win7/Ubuntu) ?


The thing is that my workstation has very restricted internet access. It's so much limited that I can't update my Ubuntu virtual machine and also I can't install a lot of things - like nodejs or python packages.

But: each of us have a virtual CentOS server, with it's own IP, which has full access. And we can SSH to that virtual machine and install everything there.

Which doesn't fulfill my working process, cause I can't open browser from there, for example. I have only CLI, which is not enough for some of the scenarios.

So: can I link my local virtual Ubuntu to that CentOS virtual server and use it as internet provider? Which would be just awesome! ...

Thanks in advance

PS: I was thinking also to make GUI through SSH, I read some articles and saw a couple of videos. But I prefer working locally, and also - I think that using GUI over SSH would take more resources or would be very unstable.

PS2: Of course, if that is better than trying to redirect traffic from the CentOS - then I would try that
 
Old 10-14-2015, 05:50 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
In other words, you want to use the Centos VM as a router. Search the internet for "linux router" or similar; you should find instructions.
 
Old 10-14-2015, 10:14 AM   #3
mind_exploit
Member
 
Registered: Feb 2011
Location: Bulgaria
Distribution: Slackware & Mint
Posts: 46

Original Poster
Rep: Reputation: 0
OK :)

OK, I started reading about it ...

... but the first thing I notice is that the CentOS machine has only one network interface ... so from "ip link show" I see "lo" and "eth0". And "ip route show" shows me 3 rows, but all of them for "eth0"

So ... is it going to be possible at all ? (think) ...
 
  


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] Cannot redirect traffic to new IP with iptables on centOS farenheitcx Linux - Networking 1 08-30-2012 01:12 AM
Win7 PPTP vpn client cannot send traffic to PPTPD server cyberzed Linux - Newbie 0 06-26-2012 03:26 PM
redirect all internet traffic to another server using gre tunnel Night_Fall Linux - Networking 0 06-15-2012 05:16 PM
Redirect incoming traffic to an other port (ubuntu openvpn server) krisox Linux - Newbie 3 12-06-2010 12:22 AM

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

All times are GMT -5. The time now is 08:52 PM.

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