LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ICS for PPPoE (https://www.linuxquestions.org/questions/linux-networking-3/ics-for-pppoe-366890/)

Focle_Wulf-190 09-25-2005 10:51 AM

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

Snowbat 09-26-2005 06:06 AM

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.


All times are GMT -5. The time now is 08:20 AM.