Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 06-14-2005, 04:34 AM   #1
LQ Newbie
Registered: Apr 2005
Location: Kuwait
Posts: 4

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


How to Access denied in NAT traffic to Public IP?

I am newbies 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.


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

Rep: Reputation: 45
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.


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

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration