LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-14-2005, 03:34 AM   #1
qutub110
LQ Newbie
 
Registered: Apr 2005
Location: Kuwait
Posts: 4

Rep: Reputation: 0
How to Access denied in NATting to public IP?


Hi!

How to Access denied in NAT traffic to Public IP?
-----------------------------------------------------------

I am newbie’s in Linux. I have installed RH entropies server and did NAT for Internet sharing and working is fine. Now I want to denied access in few IP users to access Internet. So how can access denied it? Also I want to block certain messenger like yahoo, MSN then how to block to run by public IP OR to block certain messenger?

Your small tips highly appreciate.

Thanx

Qutub
 
Old 06-14-2005, 11:22 AM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
well, the usual way would be to setup firewall rules (read : iptables rules) to drop some request from your "clients". It is actually what you RH done to NAT, mean, to write some iptables rules.
All you have to do is to add some rules to "drop" ips _before_ the nat rules.
Blocking messenger is more complex. You have to find the correct port number to block (as example, MSN uses 1863) , but these days most messenger uses port 80 (which is also HTTP, making it really hard to block). You could also block the messenger's server hostname, but it would hard to find out and I doubt it will work that great.
 
  


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
public access help tallmtt Linux - Wireless Networking 3 06-05-2006 05:20 PM
VSFTPD - Public Access - How? n8tgc Linux - Networking 5 02-15-2005 06:19 PM
Connect to public access points mwademan Linux - Wireless Networking 0 03-02-2004 11:51 AM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 02:30 AM
How to access hosts from LAN through public ip? mkostrze Linux - Security 4 04-26-2002 09:34 AM

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

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