View previous topic :: View next topic |
Author |
Message |
wristdirectblue n00b
Joined: 30 Jun 2003 Posts: 22
|
Posted: Sat Jul 05, 2003 2:18 am Post subject: AOL DSL Connection Sharing...Possible? |
|
|
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 |
|
|
Lord_Orion Tux's lil' helper
Joined: 29 Jun 2003 Posts: 107 Location: Strasbourg FRANCE
|
Posted: Sat Jul 05, 2003 2:35 am Post subject: |
|
|
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 |
|
|
wristdirectblue n00b
Joined: 30 Jun 2003 Posts: 22
|
Posted: Sat Jul 05, 2003 3:00 am Post subject: thanks |
|
|
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 |
|
|
li1_getoo l33t
Joined: 20 Oct 2002 Posts: 661 Location: Queens , NY
|
Posted: Sat Jul 05, 2003 8:28 am Post subject: |
|
|
also try google for it |
|
Back to top |
|
|
Lord_Orion Tux's lil' helper
Joined: 29 Jun 2003 Posts: 107 Location: Strasbourg FRANCE
|
|
Back to top |
|
|
madchaz l33t
Joined: 01 Jul 2003 Posts: 993 Location: Quebec, Canada
|
Posted: Sat Jul 05, 2003 5:06 pm Post subject: |
|
|
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 |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Sat Jul 05, 2003 6:05 pm Post subject: |
|
|
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
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 _________________ 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 |
|
|
|