IP Blocking of unauthenticated people

Asked by assembler

I am using a broadband connection(intenet) via wired line. The router consists of four lan ports which are already shared among four of us. the router also consists a Wi-Fi port with the help of several unauthenticated people are accessing the internet, due to which speed becomes very slow. How could i block other people.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Koen (koen-beek) said :
#1

You need to follow the manual of the router to set-up the correct authentiaction

typically, restricting access can be done by using a password for the wireless connections and also by setting up a MAC address filter

what router are you using ?

Revision history for this message
Koen (koen-beek) said :
#2

most routers use the following address to set-up the router

http://192.168.1.1

or

http://192.168.2.1

Revision history for this message
assembler (anurag-imp) said :
#3

I m using DSL router. 192.168.1.1

Revision history for this message
Bhavani Shankar (bhavi) said :
#4

Its easy

use iplist

ref:

http://www.ubuntu-unleashed.com/2008/04/block-bad-ip-ranges-with-iplist-in.html

or classic iptables

sudo iptables -s <IP/subnet range> -j DROP

if you have a default of Default Rule of ACCEPT.

also, if you want this to load at bootup, put this line into your /etc/rc.local

/sbin/iptables -s <IP/subnet range> -j DROP

Regards

Revision history for this message
Ariel Cabral (acabral1961) said :
#5

0K,
Open your browser type 192.168.1.1 on the address bar and press <Enter>.
Surely you'll be asked for a username and password, and then see if a wireless menu exist, you can configure there the access restrictions.
If you need more help, please tell me the brand and model of your router?
Hope this helps, let me know.

Revision history for this message
assembler (anurag-imp) said :
#6

i downloaded "ipblock", but after installation when i m clicking on Enable option it is asking for update list, when i m clicking update, its just giving a messege " updating" for a long time and then nothing is happening.

Revision history for this message
pat.dervey (pat-dervey) said :
#7

hi assembler, as ariel said, go into your router and restrict access there, if you are using a wireless dongle you should see a mac address printed on the dongle, restrict all others and allow your own,hope this helps, pat.

Revision history for this message
Ariel Cabral (acabral1961) said :
#8

Hi assembler,
The solution from Bhavani Shankar works if you're using your ubuntu machine as a router or firewall and this is not the case, you want to limit the access to your physical router and there is no software outside them that can do that.
Hope this helps, let me know.

Revision history for this message
Ariel Cabral (acabral1961) said :
#9

Hi again,
Did you solve your problem or still in trouble?
Regards.

Can you help with this problem?

Provide an answer of your own, or ask assembler for more information if necessary.

To post a message you must log in.