LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2006, 04:16 PM   #1
jsheffie
Member
 
Registered: Dec 2004
Location: Florida, USA
Distribution: Suse 10.0, OSX.4, Solaris 10
Posts: 163

Rep: Reputation: 30
ACLs on fedora core 4...


Hello,

I am looking to apply ACLs on my machine here. I have set up a VPN server on another box and want to do some restriction maybe through hosts.deny, hosts.allow, or something similar maybe just using iptables.

Basically what I want is this:

ALL services Denied to all hosts except those on my subnet (VPN).

BUT

port 80 (a single virtual server to display information saying "did you remember to log into the vpn stupid?")

I tried creating this in hosts.allow, but all access is still granted. I also tried in hosts.deny and it did not restrict access.

ALL : localhost : allow
ALL : 192.168.5. : allow
#(what kind of entry would I need to allow an information webpage to all users?)
ALL : ALL : deny

I will tune the ALL : * : allow down by services, but I am just trying to get it to work first.

Any ideas?

thanks,
 
Old 04-11-2006, 02:16 PM   #2
jsheffie
Member
 
Registered: Dec 2004
Location: Florida, USA
Distribution: Suse 10.0, OSX.4, Solaris 10
Posts: 163

Original Poster
Rep: Reputation: 30
Maybe there is a better way to ask is this...

Is there a way to forward browsers to a certain website (on the same server) based on their IP or dns domain name?
I was thinking about doing this with virtual hosts, but am having a trouble and am currently reading some manuals.

Could this be better done with an .htaccess file?

Could this be done straight from apache?


thanks
 
  


Reply


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
Upgrade Fedora Core 4 (FC4) to Fedora Core 5 (FC5) hangs vogelap Fedora - Installation 10 05-22-2006 09:00 AM
ACLs through NFS in Fedora Core 3 grimpy Linux - Networking 1 11-10-2005 12:41 AM
Fedora Core 3, Windows ACLs, POSIX ?? jabran Fedora 6 06-24-2005 10:01 PM
Severe problems with Fedora Core 1 and Fedora Core 2 installatiom TheOneKEA Fedora - Installation 2 07-14-2004 02:12 PM
Fedora Core 2 - Just days away! Final comments on Fedora Core 1 lrt2003 Fedora 3 05-12-2004 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:26 PM.

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