axel
2006-01-24, 09:59 AM CST
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
ip: 10.102.0.33
subnet mask: 255.255.255.192
gateway: 10.102.0.1
pc B
OS: Win XP sP2
ip: 10.102.0.32
subnet mask: 255.255.255.192
gateway: 10.102.0.1
pc C
OS: FC3
ip: 10.102.0.31
subnet mask: 255.255.255.192
gateway: 10.102.0.1
On the switch i have also connected a dlink 810+ wireless access point ethernet to bridge device
ip: 10.102.0.30
subnet mask: 255.255.255.192
gateway: 10.102.0.1
which connects my lan to another lan. Also on the gateway 10.102.0.1 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 10.106.3.1 ip from which i get access on the internet (10.106.3.1 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
10.0.0.0/8 via 10.102.0.1
and placed it in /etc/sysconfig/network-scripts
Moreover i don't want other pcs such as 10.102.0.5 (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)
I have 3 computers connected with a switch. Each one of them has one ethernet card.
pc A
OS: Win 98SE
ip: 10.102.0.33
subnet mask: 255.255.255.192
gateway: 10.102.0.1
pc B
OS: Win XP sP2
ip: 10.102.0.32
subnet mask: 255.255.255.192
gateway: 10.102.0.1
pc C
OS: FC3
ip: 10.102.0.31
subnet mask: 255.255.255.192
gateway: 10.102.0.1
On the switch i have also connected a dlink 810+ wireless access point ethernet to bridge device
ip: 10.102.0.30
subnet mask: 255.255.255.192
gateway: 10.102.0.1
which connects my lan to another lan. Also on the gateway 10.102.0.1 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 10.106.3.1 ip from which i get access on the internet (10.106.3.1 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
10.0.0.0/8 via 10.102.0.1
and placed it in /etc/sysconfig/network-scripts
Moreover i don't want other pcs such as 10.102.0.5 (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)