Find the answer to your Linux question:
Results 1 to 3 of 3
m receiving Internet from a router and I want to share Internet connection to another router for others PC ... this is what im trying to do .... RouterA>> wifi ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    6

    Sharing Internet

    m receiving Internet from a router and I want to share Internet connection to another router for others PC ...
    this is what im trying to do ....
    RouterA>> wifi >> hostPC >> LAN >> RouterB

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    616
    set up host with ip_forwarding enabled:

    Code:
    echo 1 >> /proc/sys/net/ipv4/ip_forward
    or i think you can set it in /etc/sysctl. otherwise add that echo string to your /etc/rc.local because everytime you reboot it will default to 0.

    if you are not filtering, turn iptables off for now. its a start anyways.
    linux user # 503963

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Posts
    6
    I set ip-fowarding form the firewall and its not working....



    routerA [source] 10.0.0.138
    hostPC wlan0 ip = 10.0.0.66
    routerB 192.168.1.1

    I reciving internet from wlan0 and I want to share internet connecting eth0 in WAN of routerB.

    maybe I doing something wrong....

    there are the firewall setting :
    in port forwarding
    interface = eth+ | protocol = tcp | port 80 | to addres = 10.0.0.90 | to port = 80

    I set the eth0 with a static IP 10.0.0.90 because it is connected to wan of routerB...

    and im using fedora11....

Posting Permissions

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