Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
I have a dsl modem/router connected to eth1 on a 10.3 Suse install and can access the internet (I'm on it now). I want an internal network to connect through ...
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Location
    Mooresburg, TN
    Posts
    12

    internet connection sharing 10.3

    I have a dsl modem/router connected to eth1 on a 10.3 Suse install and can access the internet (I'm on it now).
    I want an internal network to connect through it on eth0 and share the internet connection. I am required to use Squid and DansGuardian as proxy and filter software.
    I will try to figure THOSE two out myself if I can get someone to tell me how to share the connectionfrom eth0 to eth1 so the lan computers can get to the internet (old xp machines).
    I'm cornfuZed
    Thanks!

  2. #2
    Just Joined!
    Join Date
    Oct 2006
    Posts
    18
    Why dont u Google squid config read and use

  3. #3
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    I used this solution in SUSE 10.1, 10.2 and 10.3 with great success, I hope it is some help to you :-

    Cool Solutions: HOW-TO: Set Up a SUSE 10 Machine As a Router

  4. #4
    Just Joined!
    Join Date
    Oct 2007
    Location
    Mooresburg, TN
    Posts
    12
    yepper, I googled Squid and have read a zillion things on it and dansguardian. I am now confused enough to maybe set it up...
    My FIRST problem was getting the box set up as a router/sharing the ethernet connection to an internal network. I have not been able to find anything RELEVANT until last nite when I stumbled across the page that BIGTOMRODNEY posted above.
    I read it and Cool Solutions: SUSE Router How-To this one that I found b4 it, which is the same thing for SUSE 9,
    I had changed so many things back and forth by Friday evening, that before I left, I started a fresh install. I'm going over there now to finish the install, update and set this up with squid and DansGuardian.

    One thing I have to say, I USE Google to answer questions like these, and other search engines in the years b4 google. Sometimes, it is knowing WHAT to ask, before you get useul answers. As I am not as familar with Linux as WindoZe, I was not asking the right question/phrasing it correctly.
    So in response to all2dark...
    You have a reading COMPREHENSION problem, I suggest you google"reading for beginners" and learn to read better, before you come up with your snappy answers that not only do not help, but are pretty useless. Folks ASK a question because they have failed to find helpful answers AFTER searching various forums and search engines.
    Once again, thanks BTR, I'll let ya know how it turns out.

  5. #5
    Just Joined!
    Join Date
    Oct 2007
    Location
    Mooresburg, TN
    Posts
    12
    OK,
    I have followed that tutorial. I have a tad different setup. I use the ADSL Modem/Router w/Wireless running DHCP ...the wireless goes to two laptops that the teachers use -->> Suse 10.3 computer with eth0 (wired cat5) with 192.168.1.1 ip (by dhcp) -->> eth1 (wired cat5) with 192.168.0.1 255.255.255.0 I have DHCP running on this card -->> to multi-port switch hooked to internal network of XP computers (cat5)

    I have tried 255.255.0.0 also on eth1 and cannot access internet either way
    from the internal XP machines

    the eth1 is assigning ip's to the internal network(i get the host name I gave it showing up from 'ipconfig' on the xp boxes) but I can NOT ping 192.168.0.1 (eth0) from them, the laptops and the linux box can access the internet fine but cannot ping the internal network

    I have a different host name for eth0, is THIS wrong?

    The internal network computers each get an ip of 192.168.0.x and a subnet mask of 255.255.0.0

    I used the eth1 ip of 192.168.0.1 as the gateway for internal network

    eth0 uses 192.168.1.254 gateway(adsl modem/router)

    followed all the other things in the tutorial also

    I have tried all sorts of stuff and can't get to the internet from the xp machines
    I think I have given you all the required info, I hope I haven't missed anything

    Am I supposed to assign a different metric in the ADSL modem/router?
    I have tried that but it will not let me define a static route, something about my subnet ips are wrong this is the router/modem ...
    Netopia - 3347W Wireless ADSL Gateway Support

    I know I am making a simple mistake here somewhere, but I can't figure it out, and I need to have it done last week, lol. I appreciate all the help you can give me ...

    oh yeah, I have the firewall OFF until I can get this, just in case, I didn't need any more unknowns, lol

  6. #6
    Just Joined!
    Join Date
    Oct 2007
    Location
    Mooresburg, TN
    Posts
    12
    anyone have any ideas how to get the two ethernet cards to talk to one another so the internal network can get to the internet??
    I really have to get this today!
    HELP !!

  7. #7
    Just Joined!
    Join Date
    Oct 2007
    Posts
    11
    I probably shouldn't say this, but I think that you may have angered the Linux gods!, and I may get their wrath also for posting this. As with you, some of the info that I recieved is useful and very helpful with focus on the issue, but some as with you, has an abundance of site promoting that has you wadeing thru pages of info that has no direct connection with the problem at hand, a quick fix is what we need. I do hope that you get some help with your issues, cause that will give me some hope with some of mine. Does this sound sarcastic? = / I hope not.

  8. #8
    Just Joined!
    Join Date
    Oct 2007
    Location
    Mooresburg, TN
    Posts
    12
    HAHA! I beleive you are correct!
    I DID have better luck yesterday. I can now ping both ways; from the internal network to both eth0 and eth1, and the internal network has the domain name I assigned it.
    I still cannot connect directly to the internet from the internal network, only from the wireless connections and the linux box. I'm about to fire up SQUID and see if IT does the maGic of bringing the two worlds together....

  9. #9
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    You need to set up NAT so that the internal computers
    can share the connection

    http://tldp.org/HOWTO/IP-Masquerade-HOWTO/

  10. #10
    Just Joined!
    Join Date
    Oct 2007
    Location
    Mooresburg, TN
    Posts
    12
    10.3 supposedly sets it up autoMAGICALLY when you tick the boxes...
    in ROUTING >enable IP forwarding
    in FIREWALL>masquerading check the box
    this per the suse 10 guide we have referenced above, look and you will see pictures of these in YAST
    Cool Solutions: HOW-TO: Set Up a SUSE 10 Machine As a Router
    about 2/3rds of the way down the page...
    "Let's move to the next step and enable Masquerading. Select MASQUERADING from the pane on the left. A new screen appears called "Firewall Configuration: Network Masquerading." All we need to do here is tick the checkbox labeled "Masquerade Networks"

    I'm no expert, else I would not have been at this every day this week...
    even tried squid this am and it apparently is NOT preconfigured after the YAST@ install either.
    if I get time I will read thru the 2 yr old manual you posted. problem is, this is suse 10.3 and I guess I am looking for a simple solution for it specifically
    thanks for the help, btw

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...