LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-10-2007, 10:18 AM   #1
shifflav
LQ Newbie
 
Registered: Mar 2007
Location: Ohio
Distribution: SUSE 10
Posts: 6

Rep: Reputation: 0
Block 443 at SUSE firewall


How do I block port 443 (HTTPS) in the SUSE firewall? I assume it'll have to be entered into the SUSEfirewall.config file. I need to block it for a particular IP range (10.10.0.100-10.10.0.150)

Thanks!
 
Old 08-12-2007, 12:57 AM   #2
Ammad
Member
 
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 522

Rep: Reputation: 31
for i in `seq 100 150`;
do

iptables -A FORWARD -s 10.10.0.$i -p tcp --dport 443 -j REJECT


done

you can try this script
 
Old 08-14-2007, 03:01 PM   #3
framp
Member
 
Registered: Apr 2003
Location: Next to Stuttgart, Germany
Distribution: Debian, Mint, Raspbian
Posts: 131
Blog Entries: 5

Rep: Reputation: 27
That's a very good way to get rid of these requests. Just add this script code in /etc/sysconfig/scripts/SuSEfirewall2-custom
 
  


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
shoulf i block Amanda in firewall ? eerstkoffie Linux - Newbie 5 09-01-2006 04:10 AM
Block P2P on Shorewall Firewall bharathvn Linux - Security 6 02-13-2006 02:25 AM
Why doesnt my firewall block all ports ALInux Linux - Networking 4 12-05-2005 04:49 PM
Can linux/bsd firewall block malware? hottdogg General 1 11-19-2005 12:49 AM
Block Yahoo Messanger via Firewall omid1979 Linux - Security 3 07-07-2005 10:43 AM

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

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