2004-03-05 14:27:14

by Lalith Chakravarthi

[permalink] [raw]
Subject: [Bluez-users] IP Forwarding

Hi...

I just connected my laptop to my Pc and now I want to connect to the
internet using my PC as the gateway. I already have the bluetooth PAN
network between my laptop and PC. I am working on a linux 2.4.20-8
kernel on both the laptop and the PC. Also, I use proxies to connect
to the internet from my PC. So, could anyone please tell me the files
that have to be modified to enable the successful completion of my
internet connection thru my laptop.

Reagrds
Laltih

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you?re looking for faster
http://search.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2004-03-05 18:39:12

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] IP Forwarding

Hi Lalith,

> I just connected my laptop to my Pc and now I want to connect to the
> internet using my PC as the gateway. I already have the bluetooth PAN
> network between my laptop and PC. I am working on a linux 2.4.20-8
> kernel on both the laptop and the PC. Also, I use proxies to connect
> to the internet from my PC. So, could anyone please tell me the files
> that have to be modified to enable the successful completion of my
> internet connection thru my laptop.

you have to enable IP forwarding and then use iptables to create your
NAT and masquerading for your device.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users