LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-22-2006, 04:48 PM   #1
ssin14
Member
 
Registered: Sep 2006
Posts: 46

Rep: Reputation: 15
Restrict IP address


I was wondering if there is anything that can be used apart from squid to restrict IP address coming to the server. I am using slackware to load Asterisk and ony want to allow certain Ip address that can access it. Others gets restricted. I was going to use squid but it looks very hard to understand.

Does anyone knows how to do this easily?

Thanks in advance
 
Old 10-22-2006, 05:05 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,383

Rep: Reputation: Disabled
Squid is a proxy server for http traffic - are you sure you want that for your VOIP traffic? You'll kill the quality of any VOIP conversation if you put a cache inbetween.
I think it would be better to write a couple of iptables firewall rules that restrict the IP addresses that can talk to your Asterisk server.

Eric
 
Old 10-22-2006, 08:19 PM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
I'd agree. Squid for proxy server for web browsing, iptables for all other access rules to your server.
 
Old 10-22-2006, 08:38 PM   #4
ssin14
Member
 
Registered: Sep 2006
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks for that

Thats correct I totally forgot about that. I have got some doc about Iptable rules so I am figuring it out how i am going to do it.

cheers
 
  


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
Samba: How to restrict access to server via MAC-address? johnny1959 Linux - Networking 5 03-27-2008 05:43 AM
restrict mac address for ad-hoc ? jimp180 Linux - Wireless Networking 0 07-16-2006 11:44 AM
restrict server access by mac address? stinkpot Linux - Software 4 11-22-2005 08:05 AM
dhcp no ip address and netmask dont match route address pengy666 Linux - Wireless Networking 1 05-08-2005 10:33 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 05:33 AM


All times are GMT -5. The time now is 07:55 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration