Bluetooth PAN + DHCP + NAT

Giannis Papadopoulos ipapadop at inf.uth.gr
Sun Jun 18 13:59:04 EEST 2006


Tasos Varoudis wrote:
> Exis kani config to ip kai gateway sto PPC me to xeri? Ti se empodizi na to
> kanis?den nomizo na ine diskolo sto win mobile.(exo ena ipaq5550 kai pezi poli
> kala.)

Δεν είναι, αλλά ήθελα να παίζει σε unmanaged κατάσταση και να παίρνει IP
αυτόματα. Σε Win παίζει, σκέφτηκα θα έπαιζε και εδώ.

> An arxika den "dis" to pc me to ppc to net den prokete na peksi!
> Afou kanis config ta IP me to xeri sto pc kai sto ppc des an kanis ping to ena
>  to alo.
> Meta sto linux vale (des an ta IF ine ok sto setup sou)
> 
> echo '1' > /proc/sys/net/ipv4/ip_forward
> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> iptables -A FORWARD -i bnep0 -j ACCEPT
> iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
> 
> kai logika tha kanis ping ton router... meta an exis vali sosta DNS sto ppc
> (ksexase ta dhcp ktlp) tha doulepsi ok.
> 
> Tasos

tnx anyway..



-- 
one's freedom stops where others' begin

Giannis Papadopoulos
Computer and Communications Engineering dept. (CCED)
University of Thessaly
http://dop.freegr.net/



More information about the Linux-greek-users mailing list