- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: security related block perticular site
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2007 01:51 AM
05-18-2007 01:51 AM
I am using firestarter in my LAN environment and i want to block a particular website in my LAN environment.
is it possible to block IP address?
How can i block this.
Thanks in Advance.
MKS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2007 02:32 AM
05-18-2007 02:32 AM
Re: security related block perticular site
http://www.fs-security.com/docs/policy-page.php
Here, it explains how to accomplish what you're trying to do.
You need to block outgoing traffic to that IP address.
Hope it helps
Regards,
Leandro Costa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2007 02:38 AM
05-18-2007 02:38 AM
Re: security related block perticular site
If you have a Linux gateway with NAT, you should use iptables to block access.
If you use a proxy server like squid, you need to configure access lists and rules.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2007 02:42 AM
05-18-2007 02:42 AM
Re: security related block perticular site
I am using linux gateway with NAT.
Please suggest which command i should append in IPTABLE entry to block a particular web sit that no one can access that site in my LAN env users.
Thanks a lot again
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2007 03:04 AM
05-18-2007 03:04 AM
Re: security related block perticular site
replacing YOURLAN by something like: 192.168.0.0/24 and TARGET_IP_ADDRESS to another CIDR, or an ip address, like: 1.1.1.1
That would block outgoing traffic to that site.
Regards,
Leandro Daniel Costa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2007 03:04 AM
05-18-2007 03:04 AM
Re: security related block perticular site
LANIP="192.168.0.1/24"
DESTHOST=w.x.y.z
iptables -I FORWARD 1 -s $LANIP -d $DESTHOST -j REJECT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2007 04:11 AM
05-18-2007 04:11 AM
Re: security related block perticular site
Accoring to yr command i have put entry in iptables but with REJECT.
But this entry also reject my ping request to other sites also.
means icmp request reject
where is the prob
plz suggest
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2007 10:58 PM
05-18-2007 10:58 PM
Re: security related block perticular site
According to yr given rule, i read somewhere that -s and -d option shoule have same parameter
like -s $192.168.1.0/24
-d $x.y.z.w/24
what should i do.I have to block site (x.y.z.w) for my LAN clients.
According to yr given command
LANID="192.168.1.0/24"
DESID=x.y.z.w
#IPTABLES -I FORWARD 1 -s $LANID -d $DESID -j REJECT
Above is not working and after changes its also not desplaying others entry in my previous configured IPTABLES enteries.
Please ellaborat more clearly.
Thank you very much for resolving my prob.
Is there any option to put DNS for blocking.
Regards,
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2007 03:09 AM
05-19-2007 03:09 AM
Re: security related block perticular site
Tha's weird. Can you post the output of:
service iptables status
Or
iptables -nL FORWARD
>>> Is there any option to put DNS for blocking.
Depending of what do you want to block, if you want to restrict clients from using DNS, you have two options, block the port 53 for these clients, or add a rule in the named.conf to restrict the hosts that can query your dns server (if you have one).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 12:00 AM
05-22-2007 12:00 AM
Re: security related block perticular site
I have done above task as
iptables -A OUTPUT -s 192.168.1.0/24 -d x.y.z.w -j DROP
and it is working now. But when i restart iptables service, its remove my above targeted entry from filter table.
What shd i do that it will remains permanent in filter table even after reboot my system
Regards,
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 01:42 AM
05-22-2007 01:42 AM
Solutionservice iptables save
If you run another Linux distribution, it depends of how it loads the iptables services, but basically, you have to run:
iptables-save > /path/to/file
Where /path/to/file could be something like /etc/sysconfig/iptables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 02:45 AM
05-22-2007 02:45 AM