Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AOL DSL Connection Sharing...Possible?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
wristdirectblue
n00b
n00b


Joined: 30 Jun 2003
Posts: 22

PostPosted: Sat Jul 05, 2003 2:18 am    Post subject: AOL DSL Connection Sharing...Possible? Reply with quote

Yeah..as of right now, I'm stuck with AOL DSL, and for the life of me I can't figure out how to get the foul thing to share the connection with my fledgling Gentoo box. I need the internet to work on the other computer in order to install Gentoo so...any help would be appreciated, thanks.
Back to top
View user's profile Send private message
Lord_Orion
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2003
Posts: 107
Location: Strasbourg FRANCE

PostPosted: Sat Jul 05, 2003 2:35 am    Post subject: Reply with quote

The best solution for this is to work with masquerading and rerouting. An Iptables script can help you for that.

iptables -F
iptables -t nat -F
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -s xxx.xxx.xxx.1/24 -o ppp0 -j MASQUERADE
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT
iptables -P INPUT DROP
iptables -A INPUT -i lo -p all -j ACCEPT
iptables -A INPUT -i ethx -p all -j ACCEPT
iptables -A INPUT -p icmp -j ACCEPT
iptables -A INPUT -p tcp --dport 21 -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 110 -j ACCEPT
iptables -A INPUT -p tcp --dport 123 -j ACCEPT
iptables -A INPUT -p udp --dport 123 -j ACCEPT
iptables -A INPUT -p tcp --dport 32770 -j REJECT
iptables -A INPUT -p tcp ! --syn --dport :1023 -j ACCEPT
iptables -A INPUT -p tcp --dport 1024: -j ACCEPT
iptables -A INPUT -p udp --dport 1024: -j ACCEPT
iptables -A FORWARD -i ethx -p all -j ACCEPT
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT


xxx.xxx.xxx.1/24 will be the Ip of the ethernet card that is connected to the other computer and that will be used by other computer as gateway

ethx : will be the name of this ethernet card may be eth0 or eth1

Good luck...

Ps : I wrote this all in file that I called firewall, made by root with the rights 700, so only root can read it and modify it...
When I need networks for my other computer i just use...
./firewall

Ps2 : It needs the right options activated in kernel...
Back to top
View user's profile Send private message
wristdirectblue
n00b
n00b


Joined: 30 Jun 2003
Posts: 22

PostPosted: Sat Jul 05, 2003 3:00 am    Post subject: thanks Reply with quote

thanks, but now, what do we do with this file? we typed it all out and tried to run and junk like that, but we just dont know, help! ^_^;;
Back to top
View user's profile Send private message
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Sat Jul 05, 2003 8:28 am    Post subject: Reply with quote

also try
Code:
pengaol
google for it
Back to top
View user's profile Send private message
Lord_Orion
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2003
Posts: 107
Location: Strasbourg FRANCE

PostPosted: Sat Jul 05, 2003 8:33 am    Post subject: Reply with quote

If you configured that file correctly, and if your kernel contains all needed files, you just have to do :

./firewall

than launch the other computers and it should masquerade them...

to help you :

http://www.lysator.liu.se/~torkel/computer/linux/netfilter_masquerading.html
Back to top
View user's profile Send private message
madchaz
l33t
l33t


Joined: 01 Jul 2003
Posts: 993
Location: Quebec, Canada

PostPosted: Sat Jul 05, 2003 5:06 pm    Post subject: Reply with quote

I think the question was miss-understood

he doesn't have AOL DSL on the gentoo box. Rather, he as it on another machine. I am also guessing it's a windows machine, right?

a bit more info would help

what is running on the machine that is connect to your DSL?

If it's windows XP or 2k, you should be able to use internet connection sharing.
_________________
Someone asked me once if I suffered from mental illness. I told him I enjoyed every second of it.
www.madchaz.com A small candle of a website. As my lab specs on it.
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sat Jul 05, 2003 6:05 pm    Post subject: Reply with quote

AFAIK it is impossible to get AOL DSL running with any kind of connection sharing or whatever.
This is due to the AOLish way to connect the clients.
If i remember correctly it is some sort of L2F/L2TP tunneling or alike. HIGH proprietary stuff included :oops:

Maybe it is possible to get it up with Microsoft ICS but i don't believe to (never tried)

if somebody gets this up and running - i'm interested in the solution :twisted:
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum