Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

macintologist

macrumors 6502a
Original poster
May 3, 2004
700
1,061
Hey all. I'm on a university network and I'm hosting a website and AFP/samba server. I would like to write a firewall rule that only allows students on the network to access these things, and not faculty/staff and admin.

Students on the network go like this: *username*.student.university.edu

So how would it be possible to write a rule that only allows *.student.university.edu to access port 80 (http), 427 (samba), 548(afp) and 3306 (mysql).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.