LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to share internet connection (https://www.linuxquestions.org/questions/linux-networking-3/how-to-share-internet-connection-96353/)

digihall7 09-24-2003 12:24 PM

how to share internet connection
 
Thanks for your sugestions so far!

Now I have installed RH9 on my system and all the Windows machines can see the Linux machine.

I have issued echo 1 > /prot/sys/net/ipv4/ip_forward

how about the iptables?
how about squid for proxy? where can I find it ? I can't find it in RH9.

how do i install & configure it?

Pls help ASAP.

digihall7

tangle 09-24-2003 12:47 PM

Is this for a home or business? Do you care to control what people view on the web? If you you want to control what people view on the web, setup a proxy server. You can use iptables for a firewall and routing. An easy to use iptables script is arno's-iptables and a common proxy server is squid. An easy to use web based configuration tool is Webmin. All can be found at www.freshmeat.net

thesnaggle 09-24-2003 01:32 PM

this will help you with the iptables and port forwarding if you want to use that
http://www.yo-linux.com/TUTORIALS/Li...rkGateway.html

/bin/bash 09-24-2003 05:53 PM

In Mandrake all you need to do is start the Mandrake Control Center and click on Networking & Internet.
DrakConnect will set up your internet connection.
DrakGW is for setting up Network sharing.
DrakProxy sets up the proxy.
Then Click on Security.
DrakFirewall will setup the iptables firewall.

All that and you never have to leave the Control Panel!

chimcanhcut 09-25-2003 03:46 AM

how about squid for proxy? a error "visible_hostname" in RH9
I'm using webmin for squid-2.5(RH9)
I want to install squid-2.4 for RH9 but I can't
Everybody help me fix it

Thanks !

dfbreyes 10-22-2003 11:53 PM

http://www.squid-cache.org/Doc/FAQ/FAQ.html

[root@ABIT root]# echo 1 > /proc/sys/net/ipv4/ip_forward
[root@ABIT root]# iptables -P FORWARD ACCEPT
[root@ABIT root]# iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE

my rh9 box has a cable modem connection(eth0) and my local(eth1) ip is 192.168.0.1.

you'll still have to install the squid rpm, then edit /etc/squid/squid.conf

the link should contain enough to read about squid


All times are GMT -5. The time now is 07:25 PM.