LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-17-2006, 10:44 AM   #1
johnhawk
LQ Newbie
 
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
SUSE 10 firewall blocking


Hi can anyone help me with setting up my firewall server to block certain network users from accessing the internet, I have windows XP & 98 PC's on the network, I want to be able block them from the internet or from downloading music. They all have to go through the suse firewall machine. Maybe someone can guide me in the right direction to setup the IPtables in YAST.

Many thanks John
 
Old 07-18-2006, 03:09 AM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
If you want to stop them accessing the internet then it's probably easier to configure DHCP to give them an IP address and subnet mask but no default gateway. That way they will be able to access everything on the local network but nothing beyond.

If you do want to do it with iptables, it is possible - consult the iptables man page for details. You'll be wanting something like

Code:
iptables -A mychain -s xxx.xxx.xxx.xxx/yy -j DROP
Where x is the address of your network and y is the subnet mask, either as a CIDR or standard mask.
 
  


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
suse 9.2 firewall blocking lpd printer bennettg SUSE / openSUSE 12 02-15-2005 04:10 PM
SUSE Firewall blocking Samba fileshare wfischer Linux - Networking 1 12-10-2004 07:28 AM
firewall blocking internet k4zau Linux - Networking 1 09-24-2004 02:18 PM
Blocking PING and port 113 on SuSE and other Firewall Questions WarlockofVirgo Linux - Security 12 08-21-2004 01:28 PM
SuSE 7.2 Firewall (IPChains) Blocking Ports Led*Zep Linux - Networking 1 04-01-2003 02:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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