Find the answer to your Linux question:
Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Internet Connection Sharing and Routing Troubleshooting

    Below you can see an image of my lan in order to make it easier to explain how it is set.

    I have 3 computers connected with a switch. Each one of them has one ethernet card.

    pc A
    OS: Win 98SE
    subnet mask:

    pc B
    OS: Win XP sP2
    subnet mask:

    pc C
    OS: FC3
    subnet mask:

    On the switch i have also connected a dlink 810+ wireless access point ethernet to bridge device

    subnet mask:

    which connects my lan to another lan. Also on the gateway there are and other computers connected with ips like 10.102.0.x same subnet mask ang gateway.

    Now in pc C i have establised a pptp vpn connection with a computer with ip from which i get access on the internet ( is a pc located on the "Other Network").

    My problem is that i want to share this internet connection to pcA and pcB. I don't want to change ips and gateway on these 2 pcs since i want them to have access on the 'Other Network" as well as on the internet, which means that i can't put pcC gateway for pcA and pcB. In order to achieve this on pcC i have made a file named route-eth0 which contains the following line
    #! /bin/bash via
    and placed it in /etc/sysconfig/network-scripts

    Moreover i don't want other pcs such as (and all others generally) to have access on my shared internet connection. I tried squid proxy server on pc C but there were problems with some programms that didn't have an option to connect on the internet through a proxy. Furthermore i couldn't set up mirc on pcA and pcB correctly in order to connect on the internet through squid proxy since squid doesn't support socks5 onnections.

    Finaly i would like to control the bandwith used by pcA and pcB but first things first.

    Does anyone have any idea on how to solve this apart from using a different programm or socks server and a different one for http server? (I couldn't find a programma that works simultaneously as a socks and http server)
    Attached Images Attached Images

Posting Permissions

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