Ask Your Question
1

How to restrict access?

asked 2013-07-22 10:38:04 -0500

ethrbunny gravatar image

My puppet site should be accessible only via a VPN that all the clients are running on. How would I go about restricting access?

Would it be sufficient to set the perms in the passenger directory settings in apache?

# something like...?
<Directory /usr/share/puppet/rack/puppetmasterd/>
    Options None
    AllowOverride None
    Order Deny,Allow
    Allow from 10.20.
</Directory>

Using:

  • Puppet 3.x
  • Passenger
  • Apache2
  • CentOS 6.4
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-07-22 17:12:15 -0500

lavaman gravatar image

If puppet is the only thing running in that apache instance, or you at least have it running on a separate port (8140 usually), then iptables would be the appropriate place to limit access.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-07-22 10:38:04 -0500

Seen: 181 times

Last updated: Jul 22 '13