OpenWrt Forum Archive

Topic: access modem behind asus wl500g 7.09

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hallo,
i tryed to access my dslmodem behind an asus wl500g with kamikaze 7.09 but all in alll is will not work.
hier my configuration:

config switch eth0
        option vlan0    '1 2 3 4 5*'
        option vlan1    '0* 5*'
        option vlan2    '0* 5*'

config "interface" "teledat"
        option proto    'static'
        option ipaddr   '192.168.254.253'
        option netmask  '255.255.255.0'
        option ifname   'eth0.2'
        option type     'bridge'

iptables -I POSTROUTING -t nat -o eth0.2 -d 192.168.254.0/24 -j MASQUERADE


the modem has the ip 192.168.254.254/24. i can not ping the modem.

someone know what ive configured wrong?

thanks for help

here is /etc/firewall.user setup for my DSL Modem. ip is ip from interface on wrt54g  modem has an ip in the same network...

# dsl modem
iptables -A forwarding_rule -d 150.150.150.4 -j ACCEPT
iptables -t nat -A POSTROUTING -d 150.150.150.4 -j MASQUERADE

ciao gerd

if does not work for me, can u post your complet configuration plz?

Which complete setup ?

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.11.12.0      capricorn.gf.lo 255.255.255.0   UG    1      0        0 br0
150.150.150.0   *               255.255.255.0   U     0      0        0 vlan1
192.168.62.0    *               255.255.255.0   U     0      0        0 br0
default         capricorn.gf.lo 0.0.0.0         UG    0      0        0 br0

ifconfig
vlan1     Link encap:Ethernet  HWaddr 00:14:BF:BD:5D:0C
          inet addr:150.150.150.2  Bcast:150.150.150.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2784 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:100224 (97.8 KiB)

And the above written entry for /etc/firewall.user
Thats all.....

for testing purpose bringup the interface manually....

ciao gerd

The discussion might have continued from here.