LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-25-2005, 10:51 AM   #1
Focle_Wulf-190
LQ Newbie
 
Registered: Sep 2005
Location: Subotica
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
ICS for PPPoE


You must have heard this question a million times, but i have to ask you again...


I have a linux box and a Win box...



Now....

On my linux box is a PPPoE connection(Via eth to a LAN switch and then to a Wireless access point on my roof...Yep! This is a wireless connection VIA PPPoE)

Now how should i share that connection with a Win Box...???

For PPPoE i Use Roaring Penguin...(pppoe-start ; pppoe-stop...etc)


Help PLEASE!!!

PS:Im on Slackware 10.2
THnx in Advance
 
Old 09-26-2005, 06:06 AM   #2
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Unless you got multiple IP addresses from your wireless provider, use NAT and enable forwarding. Change ppp0 to the interface with your net connection if different:
Code:
/sbin/modprobe iptable_nat
/sbin/iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
You'll need to manually enter DNS server details in Windows for name resolution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adsl-status can't read pppoe PID file with rp-pppoe program setup Smarvy Linux - Newbie 2 03-13-2004 11:35 PM
ICS under RH8.0 d33pdream Linux - General 1 03-10-2003 09:11 PM
mandrake, xp..........ics fragged one Linux - Networking 2 12-26-2002 07:55 PM
ics setup fragged one Linux - Newbie 7 12-18-2002 07:37 PM
ICS - XP box has ICS enabled, Linux box to connect, how? Thymox Linux - Networking 16 12-11-2001 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration