Anton Achatz wrote:
> Hello,
> I've installed on my hp ipaq2210 the linux software OPIE. That works
> pretty fine but now i would like to go to internet with this device.
> 
> My steps:
> 
> first i have loaded the module "usbnet"
>         modprobe usbnet
> 
> then
>         ifconfig usb0 192.168.0.202
> 
> then
>         route add -host 192.168.0.200 usb0
> 
> ping 192.168.0.202 answers ok.
> 
> 
> So now i have to enable the NAT support in archlinux, but how?
> 
> I tried to enable via
>          /proc/sys/net/ipv4/ip_forward = 1
> 
> and also tried edit
>         /etc/sysctl.conf and set 1 to the net.ipv4.ip_forward
> (net.ipv4.ip_forward=1)
> 
> 
> But that wont work. Any help.
> 
> Toni
> 

You need iptables to perform NAT. man iptables, but if you want it quick 
and dirty:

iptables -t nat -A POSTROUTING -o <internet> -j MASQUERADE

replace <internet> with the interface that's connected to the porno.

Glenn

_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch

Reply via email to