Limit External IP Address Access
Posted: Mon Jan 10, 2011 9:52 am
Hi All,
I'm a student. I'm new to Amahi and relatively new to Linux in general.
I tried searching for the answers to these questions, but couldn't find that. If they are already answered, I do apologize for my bad searching abilities.
On our campus, the bandwidth used by our devices is tracked and we are allotted a certain amount of usage each month. After we go over that, we have to pay per MB used. This only matters for off-campus traffic. For example, if I watch a movie on Hulu, that traffic counts towards my threshold, but accessing the school's internal pages or even direct transfer of files from one on campus computer to another doesn't.
Part of what I would like my Amahi machine to be able to do is act as a file server, but accessible to me anywhere on campus, but not accessible from off campus (to prevent being billed for the off campus usage). Is there a way to limit the range on IP addresses that can be accepted by tunneling into the machine? The school is it's own ISP an has a certain range of IP addresses for on-campus computers. Is there a way to limit the external connection to be accepted if and only if the address lies within a certain range?
Also, here's a basic question about using VPN. In my case, when I use a VPN to access my on-campus machine from another on-campus computer, would the traffic stay within my University's network or would it be directed off campus to some routing server? I was successfully able to access the Amahi machine and transfer files to and from it from an on campus computer, so it works fine. But is that sending data off campus at any point? I didn't think of this while I was on campus before break, or I would have traced a packet's path, and I'm not on campus now to try that. But I'm trying to plan out how this will work when I go back soon.
Thanks
I'm a student. I'm new to Amahi and relatively new to Linux in general.
I tried searching for the answers to these questions, but couldn't find that. If they are already answered, I do apologize for my bad searching abilities.
On our campus, the bandwidth used by our devices is tracked and we are allotted a certain amount of usage each month. After we go over that, we have to pay per MB used. This only matters for off-campus traffic. For example, if I watch a movie on Hulu, that traffic counts towards my threshold, but accessing the school's internal pages or even direct transfer of files from one on campus computer to another doesn't.
Part of what I would like my Amahi machine to be able to do is act as a file server, but accessible to me anywhere on campus, but not accessible from off campus (to prevent being billed for the off campus usage). Is there a way to limit the range on IP addresses that can be accepted by tunneling into the machine? The school is it's own ISP an has a certain range of IP addresses for on-campus computers. Is there a way to limit the external connection to be accepted if and only if the address lies within a certain range?
Also, here's a basic question about using VPN. In my case, when I use a VPN to access my on-campus machine from another on-campus computer, would the traffic stay within my University's network or would it be directed off campus to some routing server? I was successfully able to access the Amahi machine and transfer files to and from it from an on campus computer, so it works fine. But is that sending data off campus at any point? I didn't think of this while I was on campus before break, or I would have traced a packet's path, and I'm not on campus now to try that. But I'm trying to plan out how this will work when I go back soon.
Thanks