Hello Steffen,

Steffen> I've got FreeWRT running on an ASUS WL500gp. The router is
Steffen> reachable (Ping and SSH) by LAN and by WLAN.

Steffen> When im connected to the router by SSH, i can ping to computers
Steffen> in  the  internet  (f.e.  www.golem.de)  and  to  the  internal
Steffen> computers.  The  Problem  is:  I  cannot ping or connect to any
Steffen> server  in  the  internet from an internal Computer, neither by
Steffen> url, nor by Ip-Adress.

Steffen> Any Idea ?

You need to set up forwarding and masquerading (in your firewall.conf):

### forwarding
# allow LAN
iptables -A FORWARD -i $LAN -o $WAN -j ACCEPT
# allow WLAN
iptables -A FORWARD -i $WLAN -o $WAN -j ACCEPT
# allow BRIDGE
iptables -A FORWARD -i $BRIDGE -o $WAN -j ACCEPT

### MASQUERADING
echo 1 > /proc/sys/net/ipv4/ip_dynaddr
iptables -t nat -A POSTROUTING -o $WAN -j MASQUERADE

HTH,
 Stefan
-- 
#include <disclaimer.h>
--
' Mr. Chamberlain loves the working man, he loves to see him work.'
 - Winston Churchill


_______________________________________________
freewrt-users mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-users

Reply via email to