LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-24-2003, 01:24 PM   #1
digihall7
LQ Newbie
 
Registered: Sep 2003
Location: Ogun state, Nigeria.
Posts: 16

Rep: Reputation: 0
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
 
Old 09-24-2003, 01:47 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,749

Rep: Reputation: 71
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
 
Old 09-24-2003, 02:32 PM   #3
thesnaggle
Member
 
Registered: Sep 2003
Distribution: Fedora
Posts: 52

Rep: Reputation: 15
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
 
Old 09-24-2003, 06:53 PM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
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!
 
Old 09-25-2003, 04:46 AM   #5
chimcanhcut
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
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 !
 
Old 10-23-2003, 12:53 AM   #6
dfbreyes
LQ Newbie
 
Registered: Apr 2003
Location: Makati, Philippines
Distribution: RedHat, SuSE, Gentoo
Posts: 25

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Share Internet Connection sam_casperson Linux - Networking 3 02-03-2005 07:07 PM
How do I share my Internet Connection? sagi7ario Linux - Networking 3 03-16-2004 06:17 PM
Help! Cannot share my Internet connection... Domiriel Linux - Networking 2 11-25-2003 02:27 PM
how to share internet connection digihall7 Linux - Networking 2 09-23-2003 04:42 PM
HOW to share Internet connection zaldyd Linux - Newbie 1 07-25-2003 01:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration