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: Share Internet Connection, with DSL< Next Oldest | Next Newest >
Kama Offline





Group: Members
Posts: 3
Joined: May 2004
Posted: May 28 2004,00:30 QUOTE

Hi guys, I'm new to linux as well. Wondering if it's possible to share the DSL internet connection with another networked box. I've tried to work it out with How-tos etc and IPMASQ looks promising, however, DSL package list doesn't look like it has it and the How-tos used scripts for RedHat.

Does DSL have an equivalent to IPMASQ? or???

thanks in advance...

Kama
Back to top
Profile PM 
Kama Offline





Group: Members
Posts: 3
Joined: May 2004
Posted: May 28 2004,13:40 QUOTE

I tried this using DSL version 0.7:

Box connected to internet via 56K modem (successfully).
I set up apt then followed this advice from http://forums.debianplaza.net/viewtop....b7fe7e, I just followed it parrot fashion, some of it made sense.
# apt-get install iptables
# modprobe ip_tables
# modprobe iptable_filter
# modprobe ip_conntrack
# modprobe iptable_nat
# modprobe ipt_MASQUERADE
# iptables -F
# iptables -X
# iptables -Z
# iptables -t nat -F
# iptables -t nat -X
# iptables -t nat -Z
# iptables -P INPUT ACCEPT
# iptables -P FORWARD DROP
# iptables -P OUTPUT ACCEPT
# iptables -t nat -P PREROUTING ACCEPT
# iptables -t nat -P POSTROUTING ACCEPT
# iptables -t nat -P OUTPUT ACCEPT
# echo 1 > /proc/sys/net/ipv4/ip_forward

Then this from: http://groups.google.com/groups?....&rnum=1

# iptables -A FORWARD -i eth0 -o ppp0 -j ACCEPT
# iptables -A FORWARD -s 192.168.0.0/24 -j ACCEPT
# iptables -A FORWARD -d 192.168.0.0/24 -j ACCEPT
# iptables -A PREROUTING -t nat -p tcp -i ppp0  -j DNAT --to 192.168.0.1


I got both boxes talking to each other, but box2 still couldn't get connected to the net...

Would someone please tell me where I've gone wrong???

thankyou...
Back to top
Profile PM 
1 replies since May 28 2004,00:30 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Share Internet Connection

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