On 08/07/04 11:05 +0530, Adayapalam Appaiah Kumaraswamy wrote:
> Dear Linux users,
> I have a question. I connect to the internet using dial-up (KPPP) on my 
> standalone machine. When connected, I get the (temporary) IP address of 
> my computer. Now, I want to be able to fire up Apache and give this IP 
> address to my friends immediately, so that they can connect to the 
> internet and say http://<IP address> to have Apache serve pages from my 
> computer. Is it possible?
> 
Yes. Some of us used to do this in the old days. Some people even used
dynamic DNS services, so that the system would be reachable by name.

> Well, I guess it may be, but that would involve opening up port 80 on my 
> computer. But I was not able find information related to that in the 
> iptables man page.
iptables -t filter -A INPUT -s 0.0.0.0/0 -p tcp --dport 80 -j ACCEPT

> Do the hosts.allow/hosts.deny need to be modified (they don't have 
> anything in them right now).
> 
> Finally, I am doubly sure that on dial-up, this project is just for fun 
> and little more. However, if (a big if) I have a DSL or a similar fast 
> connection and a permanent IP address, will it be feasible to serve my 
> home page from my (powerful) PC, or will there be some security risks?
> 
You can do it if you like. The security risks are the same as for any
other serivce that you provide on your system. Those don't change from
dialup to DSL or to any faster media.

Devdas Bhagat


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to