Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sharing dial up internet connection win-linux
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
manucorrales
Apprentice
Apprentice


Joined: 15 May 2004
Posts: 275

PostPosted: Sat May 15, 2004 4:44 pm    Post subject: sharing dial up internet connection win-linux Reply with quote

How can i do to share a dialup internet connection between linux and windows??
I use linux for connecting.
I have another PC with windows, connected with the linux machine (LAN).

Is possible to surf with the windows machine when ia am connected in linux??
Back to top
View user's profile Send private message
warchiefx
n00b
n00b


Joined: 13 May 2004
Posts: 3

PostPosted: Sat May 15, 2004 5:24 pm    Post subject: Sharing a Connection Reply with quote

Same problem here, i enabled ip_forward en my kernel (2.6.5), installed routed and set up iptables, but still nothing and i did it the same way with Slackware some time ago and it worked, What else do i need to do it with Gentoo?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54808
Location: 56N 3W

PostPosted: Sat May 15, 2004 5:29 pm    Post subject: Reply with quote

manucorrales,

If you have a single public IP address, the linux box will need to provide network address translation so that packets from all the PCs you have appear to come from the public IP.

You need iptables and a setup script.

If you have at least two spare public IPs, you only need forwarding and PPP.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
davidblewett
Apprentice
Apprentice


Joined: 15 Feb 2004
Posts: 274
Location: Indiana

PostPosted: Tue May 18, 2004 4:38 pm    Post subject: Reply with quote

Try using shorewall. It's a good front-end for the iptables commands. You can configure it to do NAT for any computer using it as the gateway. This way, you only need one public IP. Read through the man pages for shorewall, or go to http://www.shorewall.net/1.4/two-interface.htm and follow the directions there.
_________________
No guilt in life, no fear in death
this is the power of Christ in me
From life’s first cry to final breath
Jesus commands my destiny
-- Newsboys, "In Christ Alone", "Adoration: The Worship Album"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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