Find the answer to your Linux question:
Results 1 to 4 of 4
i want to share my connection from this machine which using suse 9.2 to a second comp with winxp. how can i set it up in linux? linux:/home/nos # ifconfig ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    20

    how to share internet connection?


    i want to share my connection from this machine which using suse 9.2 to a second comp with winxp. how can i set it up in linux?

    linux:/home/nos # ifconfig
    dsl0 Link encap:Point-to-Point Protocol
    inet addr:85.64.16.142 P-t-P:62.90.133.3 Mask:255.255.255.255
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
    RX packets:34026 errors:0 dropped:0 overruns:0 frame:0
    TX packets:27311 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3
    RX bytes:44761194 (42.6 Mb) TX bytes:2193869 (2.0 Mb)

    eth0 Link encap:Ethernet HWaddr 00:01:53:82:24:02
    inet addr:10.200.1.1 Bcast:10.255.255.255 Mask:255.0.0.0
    inet6 addr: fe80::201:53ff:fe82:2402/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:69618 errors:0 dropped:0 overruns:0 frame:0
    TX packets:29007 errors:0 dropped:0 overruns:0 carrier:0
    collisions:1 txqueuelen:1000
    RX bytes:47922717 (45.7 Mb) TX bytes:3738551 (3.5 Mb)
    Interrupt:10 Base address:0xd800

    eth1 Link encap:Ethernet HWaddr 00:80:AD:79:29:B4
    inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: fe80::280:adff:fe79:29b4/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:351 errors:0 dropped:0 overruns:0 frame:0
    TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:130959 (127.8 Kb) TX bytes:1122 (1.0 Kb)
    Interrupt:5 Base address:0xd400

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:80 errors:0 dropped:0 overruns:0 frame:0
    TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:5216 (5.0 Kb) TX bytes:5216 (5.0 Kb)

  2. #2
    Linux User
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    401

    Squid or NAT

    For sharing Web connections (and many other protocols) you can use squid: it is a proxy server... it should listen on the interfaces wich are connected with your clients. The client browers should be configured to use you proxy server.

    For transparent internet connection you can use iptables/netfilter NAT feature... google it about configuring a NAT router with iptables...
    When using Windows, have you ever told "Ehi... do your business?"
    Linux user #396597 (http://counter.li.org)

  3. #3
    Just Joined!
    Join Date
    Sep 2005
    Posts
    20
    can u help me to make it?

  4. #4
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817
    I don't use a proxy (don't know how). But I take dial-up internet through one Linux box and share it with other Linux and Windows boxes with "masquerading". I found this tutorial to be very easy to follow, at least compared to all the others.
    /IMHO
    //got nothin'
    ///this use to look better

Posting Permissions

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