Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Can DSL be used as a proxy ??, Ralated to configuring DSL ai a proxy< Next Oldest | Next Newest >
Apockalypsse Offline





Group: Members
Posts: 1
Joined: April 2005
Posted: April 04 2005,19:25 QUOTE

Hi

I'm new to Linux and I'm willing to learn :))
I want to use my old PC, an Penrium 233MHz MMX with 32Mb SDRam and 1,5 Gb HDD as a proxy.
Can DSL do that ?! All I want him to do is to share the P2's internet connection (from a external modem cable) to the rest of the network: 3-4 PCs running WinXP.

Can anyone help me ?! Pleaseeeeee
Back to top
Profile PM 
Waterns Offline





Group: Members
Posts: 44
Joined: Mar. 2005
Posted: April 05 2005,14:14 QUOTE

Whats way are there going to be connected by? Wireless, or wired. Either way all you have to do is set the old PC to use DHCP and then have the other computers use the the old pcs ip address as there gateway address.
Back to top
Profile PM 
Fortman Offline





Group: Members
Posts: 2
Joined: May 2005
Posted: May 01 2005,02:47 QUOTE

sorry because of my english
you can use dsl as a gateway
first
you have two eth in your old pc (compatibles, rtl8139 works for me)
eth0 config your internet
eth1 config intranet normal (ip 192.168.0.1 netmask 255.255.255.0)

config ip forwarding:
echo 1 > /proc/sys/net/ipv4/ip_forward

install iptables.dsl

create script

iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE
iptables -A FORWARD -s 192.168.0.0/24 -j ACCEPT

or

iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

iptables is powerful tool
you can use as firewall

Best regards,
Fortman                          mailto:jdcc@fortman.org
Back to top
Profile PM 
2 replies since April 04 2005,19:25 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Can DSL be used as a proxy ??

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code