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 03-31-2015, 07:18 PM   #1
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Rep: Reputation: 30
Question LAN with Kubuntu and Windows


I have 2 computers on the same router:

1) Grid Computer: Kubuntu 14.04 64 bit. It is always on and used only for online grid computing projects.
2) Regular Computer: Windows 7 Home Premium 64 bit. It is only turned on when I want to check email, online banking, etc.

I want to keep both physically plugged into the same router but I don't want either computer to send data to the other. I also don't want either computer to receive data from the other. Simply put, I don't want these 2 computers to have any contact with each other even though both are on the same router.

What are my options?

I don't want to physically unplug and plug Ethernet (I only use wired connection) cables each time I need my Windows computer. That is too cumbersome and I will inevitably forget it.

What are my options?

Thank you for your time.

Last edited by MBA Whore; 03-31-2015 at 07:19 PM. Reason: mistake
 
Old 03-31-2015, 08:39 PM   #2
thegwer
Member
 
Registered: Jan 2012
Location: San Antonio. TX
Distribution: CentOS. Ubuntu
Posts: 48

Rep: Reputation: Disabled
Well assuming you have a generic home router and you don't want to flash or alter the router in any way I would just set a static address on each box then use the firewalls provided by the operating systems to block all traffic from the opposite box.

Travis
 
Old 04-01-2015, 11:06 AM   #3
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
OK, so as a followup, how would I do so? Sorry, I am not very tech smart.

It looks like:

a) establish static address for each box

b) establish firewall rules for each machine

I've never done so. Is doing so hard? Are there guides or instructions? I am not even sure what I would input into google to do a "google search" for more information.

I appreciate any help.

Thank you.
 
Old 04-01-2015, 11:33 AM   #4
thegwer
Member
 
Registered: Jan 2012
Location: San Antonio. TX
Distribution: CentOS. Ubuntu
Posts: 48

Rep: Reputation: Disabled
Well for example lets say
Linux box has a static IP of 192.168.1.10
Win 7 box has a static IP of 192.168.1.20

On the Linux box to isolate it from the Windows machine try these commands in a shell.

Code:
iptables -A INPUT -s 192.168.1.20 -j REJECT
Then save for reboot

Code:
iptables save
As for as the windows box try google for " How to block private IP on windows 7 firewall"

Hope that helps some.

Travis
 
Old 04-01-2015, 02:24 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
In a real sense you can't have internet access to both and not connect between the two. All internet computers can access the others for the most part.
 
Old 04-01-2015, 02:29 PM   #6
thegwer
Member
 
Registered: Jan 2012
Location: San Antonio. TX
Distribution: CentOS. Ubuntu
Posts: 48

Rep: Reputation: Disabled
@jefro Would you elaborate? I was just trying to provide a simple solution in his home environment. Assuming he maintained control of both boxes where IP and MAC addresses stayed the same, where no one was trying to deliberately connect or change configurations, and he had his edge router configured properly.
 
Old 04-02-2015, 12:49 PM   #7
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
I just want to protect my Windows computer and its data from the Linux one. I run Linux and BOINC 24 hours a day on it. Although BOINC has no reported history of breaches, I am still concerned because afterall, I am letting a 3rd party program (BOINC) have free reign on the Linux box.

My fear is that a BOINC related weakness is found on my linux box and from that, someone could remotely get into my Windows box that is on the same router (network).

Thus, I want to isolate the two computers as much as possible. Eventually I will add a 3rd computer (wired connection to a laptop) but for now, I want to keep it simple by learning how to isolate these two desktops.
 
Old 04-02-2015, 12:51 PM   #8
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
OK, quick follow-up: How do I "assign" an IP address to a computer? I know there is a website that will display my IP but how would I "assign" a static IP?
 
  


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] How do I un-install Kubuntu and windows Caprillo Linux - Newbie 2 06-02-2011 09:04 PM
Kubuntu 10.04-nettbook - does not see wireless lan jonbvgood Ubuntu 1 10-03-2010 09:02 AM
Kubuntu - LAN works but not Internet anjanesh Linux - Networking 12 01-12-2009 11:07 PM
Windows XP network with Kubuntu tblick05 Linux - Networking 1 04-02-2007 01:27 AM
Kubuntu and Windows ME redsunrise Linux - Newbie 21 02-14-2007 08:46 PM

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

All times are GMT -5. The time now is 10:05 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