Internet gateway

Discussion in 'Linux Networking' started by eeh, Nov 14, 2005.

  1. eeh

    eeh Guest

    Hi,

    I am a super new user of Fedora. I want to browse internet on my
    notebook computer (Fedora OS here; IP: 192.168.0.99) through gateway in
    my desktop computer (XP; IP: 192.168.0.88). The notebook computer and
    desktop computer are connected by ethernet. The firewall is off. I can
    get files from desktop computer to notebook computer through samba.

    Could anyone teach me the procedures to achieve this? I only know I
    need to set the gateway IP to 192.168.0.88 in Fedora.

    Thanks!
     
    eeh, Nov 14, 2005
    #1
    1. Advertisements


  2. If you have the XP box setup to share its internet connection, all
    you'll need to do from the laptop is run your dhcp client.

    RW
     
    Robby Workman, Nov 14, 2005
    #2
    1. Advertisements

  3. eeh

    ynotssor Guest

    Well, you're 1/2 right anyway. All that's necessary is the ICS (Internet
    Connection Sharing) in the XP box. Maybe you didn't see that the OP is using
    fixed reserved IP addresses.
     
    ynotssor, Nov 14, 2005
    #3
  4. eeh

    Thomas Bosch Guest

    The notebook computer and
    Is this the reality or the dream?

    When you set up your XP with ICS and XP is online you only have to set up
    gateway 192.168.0.88 on your Fedora and it should work.

    Is ICS set up in Windows?
     
    Thomas Bosch, Nov 14, 2005
    #4
  5. eeh

    James Knott Guest

    GIven that the other computer is Windows, I strongly recommend you get one
    of those cheap firewall/router boxes, to protect the Windows box from the
    outside world. Putting an Windows computer directly on the internet is
    stupid and dangerous.
     
    James Knott, Nov 14, 2005
    #5
  6. eeh

    eeh Guest

    Yes, I have setup ICS in XP. But still cannot work.
     
    eeh, Nov 14, 2005
    #6
  7. eeh

    eeh Guest

    U are right. So the firewall is turned on for the ethernet card that
    connects to internet under XP.
    I have no router, so I instead use ICS.
     
    eeh, Nov 14, 2005
    #7
  8. eeh

    Thomas Bosch Guest

    That means that Internet works on the XP machine but not on your laptop.
    Right?

    The gateway at linux is set? So "route -n" says something like this:
     
    Thomas Bosch, Nov 14, 2005
    #8
  9. eeh

    ge0rge Guest

    James Knott wrote:
    ....
    How so? I have the XP Home edition installed on a PC. It runs no
    servers, no telnet, no ftp, no http, no application daemons ...
    basically it is a client machine except for the unknown sh*t that XP
    itself may have installed for the benefit of MS. For that bit, I let MS
    automatically install their latest security patches.

    I have antivirus and anti-spam software installed.
    I take a backup of what I consider important documents.
    I am on ADSL and get my IP from my ISP DHCP which means that the box has
    no fixed location.

    Can someone explain slowly and in some detail in what way is this
    machine vulnerable and needs a firewall? OK, I may get random port
    scanning. Who is bothered since nothing is listening and therefore is
    going to repond. No unwanted software can be installed without some
    consent (in any case firewall can't protect against these sorts of
    mistakes).

    I say this in seriousness (not to start a flame or just to be
    controversial) but because I hear warnings without enough specifics. I
    am not saying that running a firewall is a good/bad idea but what I am
    after is why firewalling is becoming a 'must have' ... with the above
    configuration which is a very common set-up for the majority of people
    running Windows?

    otoh on a linux box (or any other OS for that matter) running servers, I
    see the wisdom of running a firewall.
     
    ge0rge, Nov 14, 2005
    #9
  10. eeh

    Bit Twister Guest

    M$ has allowed the holes in their code and you trust them to keep you
    safe once a month. What is wrong with that picture.

    BFD, once malware gets in, it can call home everytime you bring the
    system online.
    How do you know. I had seen somewhere that you could turn off some
    ports and the next update could turn them back on.
    Bullshit. That is why there is about 1 new piece of malware created
    every 20 minutes. People open a mail message and get infected.

    Or in the case of RealPlayer, play a swf file.
    Here is a harding guide, check your setup to see what you have turned off.

    Watch out, long url because the real site is under construction.
    <http://64.233.161.104/search?q=cach...XP/servicecfg.htm+WinXP/servicecfg.htm&hl=en>
     
    Bit Twister, Nov 14, 2005
    #10
  11. eeh

    eeh Guest

    I have not this similar line

    Target Router Genmask Flags Metric Ref Use
    iface
    0.0.0.0 192.168.0.88 0.0.0.0 UG 10 0 0
    eth0

    Then what do this imply?
     
    eeh, Nov 14, 2005
    #11
  12. eeh

    ge0rge Guest

    Yes, I have to trust them. For the simple reason that most people do not
    have the resource or know-how to plug the holes in whatever software
    they are running. MS sofware itself may have have more holes than a
    swiss cheese but they do plug them as soon as these defects are found.
    Short of being shitscared to run any bit of software on the computer, I
    can't see how a firewall helps me in that situation.
    True but how did the malware get in? Did you press the accept button to
    get the free holidays the site promised? Did you download the email
    which said you've just won the lottery? ... and how would the firewall
    have prevented you downloading that picture or accepting the free holidays?
    But I said I have no daemon listening on any port (except those that MS
    opened for its own uses). You say that even if I turned them off, MS
    re-open them for its own uses, well so be it. If I don't trust MS to
    *any* extent then I would not be using their software at all. But like
    millions of users, I have weighted the pros and cons of their OS ... and
    I use it. The case that everyone should run a firewall on their machine
    (regardless of their configuration) is not convincing. More precisely,
    my question/curiosity is why is a firewall needed when there are no
    servers running and the machine is basically a client machine?

    .... and how is a firewall better than an antivirus software in this
    situation?

    As I said, you've only got youself to blame for intoducing malware on
    your computer. Firewall will not stop you from pressing the play button.
    How do I know that I can trust that link? ;-)
    If you had malware there, would a firewall have helped me ... which an
    up-to-date antivirus would have failed to detect?

    I will check the URL later.
     
    ge0rge, Nov 14, 2005
    #12
  13. eeh

    CJT Guest

    ge0rge wrote:

    <snip>

    Is that something new? I seem to recall reading about holes that had
    taken _months_ to plug, and even some that were deemed unpluggable.
     
    CJT, Nov 14, 2005
    #13
  14. eeh

    ge0rge Guest

    You are right. I was careless with my choice of words. I guess what I
    was trying to say was that MS does try to protect/repair its software
    whenever it can. In that respect, they are not any worse than any other
    software company.
     
    ge0rge, Nov 14, 2005
    #14
  15. eeh

    Thomas Bosch Guest

    I don't know. Try to add this route to your routing table.
     
    Thomas Bosch, Nov 14, 2005
    #15
  16. eeh

    Bit Twister Guest

    Bit Twister, Nov 14, 2005
    #16
  17. eeh

    ge0rge Guest

    hmm... I am not surprised. But such potential threats are not going to
    deter big enterprises or, for that matter, ordinary end users off windows.

    At the end of the day, I think economics will be the determining factor
    - enduser/enterprise licences or ever-increasing maintenance costs - not
    weaknesses in the software.
     
    ge0rge, Nov 14, 2005
    #17
  18. eeh

    ynotssor Guest

    I'd bet that you setup the ICS on the wrong network interface.
     
    ynotssor, Nov 14, 2005
    #18
  19. eeh

    James Knott Guest

    Please go back and re-read what I said. Firwall software or not, do not
    connect a Windows system directly to the internet Ever.
     
    James Knott, Nov 15, 2005
    #19
  20. eeh

    James Knott Guest

    Windows is full of security holes, due to extremely poor design. I would
    never rely on it for anything to do with security.

    Most of the problems with viruses, worms, spam etc., are due to the poor
    security built into Windows. It's simply too hard for them to take root in
    Linux/Unix, OS/2 etc., due to commonly used techniques that are absent in
    Windows. How do you know, that some "nifty" utility you installed doesn't
    open up some port? Look how easy it was for Sony to install their spyware
    and how long it to MS to respond.

    On the other hand, with Linux it is very difficult for anything a user does,
    to compromise the system. A virus/worm etc., would have to be installed by
    root to cause much damage. The whole design philosophy is different. Unix
    & Linux were designed for multiuser environments, with all the necessary
    protection. Windows came from a single user environment, with the
    additional "security" tacked on later.
     
    James Knott, Nov 15, 2005
    #20
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.