November 22, 2024, 01:33:40 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Modem sharing over a LAN to connect to the internet  (Read 5814 times)

Offline rseitz

  • New Member
  • Posts: 3
Modem sharing over a LAN to connect to the internet
« on: July 12, 2004, 09:32:29 PM »
OK I need some help here. I am new to linux, well at least to networking linux. Switched to linux about 3 years ago. I am trying to connect my two computer together and share a internet connection. I have a NIC card in each computer and a modem attached to one. I tried to use the mandrake control center to configure the internet sharing. It is using squid for the proxy and shorewall for the the firewall (I assume). I have tried both DHCP and static IP addresses. In static mode I can ping the computers and I can get squid to run. But when I go on the remote machine I get URL access denied by squid. I have spent about 20 hours trying to figure this out and keep ending up at the same point. I know I am missing something just not sure what it is.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Modem sharing over a LAN to connect to the internet
« Reply #1 on: July 13, 2004, 04:32:58 AM »
Quote from: "rseitz"
I go on the remote machine I get URL access denied by squid
You are getting above message as your ACLs for squid are not configured properly.
Well for two machine static IP will be fine.

Lastly I wanna say do look at Squid Proxy and compare your squid.conf with it.. You will probably find the problem yourself..

Anyway you can also have simple NAT internet Sharing. you and can do that simply by intalling Firestarter etc..
or goto Linux How to section and see  Internet Sharing Linux

Offline rseitz

  • New Member
  • Posts: 3
Modem sharing over a LAN to connect to the internet
« Reply #2 on: July 14, 2004, 07:59:23 AM »
thanks for the info I will look into that and see what I can find out. I will let you know If I get everything up and running.  :D

Offline Okorie

  • Linux Noob !
  • *
  • Posts: 4
NAT sloves Modem internet connection sharing
« Reply #3 on: July 15, 2004, 07:49:25 PM »
:D
I belive with NAT, any problem about internet sharing should be sloved with easly.
 John