LinuxQuestions.org
Visit Jeremy's Blog.
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 08-23-2003, 09:27 AM   #1
rookieter
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
Angry everytime a post here, i got no reply from ppl...WHY?


Can i share my internet coonection only for a specific ip address?

i have 4 comp + the server in home and i want to share only 1p add 192.168.0.2 and 4. is it possible to block the ip
192.168.0.3 and 5?

is there any monitoring sftware i can use to monitor who is connected to my ICS? and what they are doing? or can i
disconnect them?

thanks a lot in advance!
 
Old 08-23-2003, 09:29 AM   #2
rookieter
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Waaaaaaaaaaaaaaaaa
 
Old 08-23-2003, 09:34 AM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
You posted less than an hour ago. If you want a 24 hour support service then get your wallet out.

Don't double post it is bad etiquette!

You can share your connection with only one ip. Just configure your iptables rules to forward from that ip address not from all connections on the one interface.
 
Old 08-23-2003, 09:39 AM   #4
rookieter
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
thanks...i'm a rookie in linux, where can i find the iptables? i'm just using the internet connection wizard from mandrake
 
Old 08-23-2003, 09:43 AM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
The chances are that Mandrake has made it's own set of rules. I would suggest that you remove them as root:
iptables -F -t nat
iptables -F

Then follow one of the many iptables tutorials and set your rules manually.
 
Old 08-23-2003, 10:01 AM   #6
rookieter
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
can you give me some samples of how to accept connection from 192.168.1.51 but reject a connection from 192.168.1.2?

it would really help!


about the monitoring software any idea? so that i can monitor who is connected to my connection?


Regards

rookieter
 
Old 08-23-2003, 11:10 AM   #7
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
1. Could it be a poor choice of subject and/or no information in the post?
How to get good answers with your questions about Linux

The LDP's Networking HOWTOs would be an excellent place to start.
Google hit that looks promising: Iptables Tutorial 1.1.11

# Watch system messages as they happen (sysklog needed)
as root, tail -f /var/log/messages (shows last 10 lines, use a number in front of f for more lines)

# Mandrake links
Mandrake home page
Mandrake Users website
Easy urpmi config for Mandrake
urpmi mini-HOWTO
Easy software management: Red Carpet
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page

Last edited by fancypiper; 08-23-2003 at 11:19 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Quick Reply "post reply" button. IsaacKuo LQ Suggestions & Feedback 9 12-04-2005 03:41 PM
One of the reason ppl use Linux xterminator890i General 12 08-25-2004 08:22 AM
need some ppl who like boards archlyric Linux - General 1 02-24-2004 08:03 PM
post reply & submit reply buttons annehoog LQ Suggestions & Feedback 10 01-05-2004 06:43 PM
Evolution - reply - missing own reply emanuelgreisen Linux - Software 0 01-31-2003 04:40 AM


All times are GMT -5. The time now is 02:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration