openwrt routing issue

Matthew Kitchin (public/usenet) mkitchin.public at gmail.com
Sat Nov 27 21:15:48 EST 2010


Never mind. Found it after a little more digging.
https://forum.openwrt.org/viewtopic.php?id=27023

On 11/27/2010 4:25 PM, Matthew Kitchin (public/usenet) wrote:
> I think this is a configuration issue in openwrt, but I'm far from an 
> expert. I figured I would try here just in hase I am wrong or someone 
> here sees something obvious.
> I'm using openwrt backfire 10.03 on a Buffalo WZR-G300NH and the 
> openconnect 2.25 with a patch david provided a few months ago.
> I am able to connect to the Cisco VPN server and pass traffic from the 
> router itself. I can't pass any traffic from a PC connected to the 
> Buffalo by wifi. Since I can from the router, I'm assuming this is a 
> configuration issue on the router itself. See ifconfig and route info 
> below. The VPN IP I receive is 10.70.6.105. I am trying to ping 
> 10.92.X.X IPs on a remote network. The routing info on the router 
> itself looks correct. Anyone see anything obvious I am missing? I 
> don't see any openconnect activity when running it with the verbose 
> option. I swear I had this working while testing a few months ago. I 
> had to put it aside to work on some urgent projects, and now something 
> seems to have died....
>
> root at OpenWrt:/etc# ifconfig
> br-lan    Link encap:Ethernet  HWaddr 00:24:A5:AD:73:A7
>           inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:35552 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:39989 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:6221666 (5.9 MiB)  TX bytes:32088392 (30.6 MiB)
>
> eth0      Link encap:Ethernet  HWaddr 00:24:A5:AD:73:A7
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1978 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:0 (0.0 B)  TX bytes:492329 (480.7 KiB)
>           Interrupt:4
>
> eth1      Link encap:Ethernet  HWaddr 00:24:A5:AD:73:A8
>           inet addr:68.63.249.213  Bcast:255.255.255.255  
> Mask:255.255.248.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:396839 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:27645 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:48764018 (46.5 MiB)  TX bytes:5764507 (5.4 MiB)
>           Interrupt:5
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:2 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:152 (152.0 B)  TX bytes:152 (152.0 B)
>
> mon.wlan0 Link encap:UNSPEC  HWaddr 
> 00-24-A5-AD-73-A7-00-00-00-00-00-00-00-00-00-00
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:9986 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:791489 (772.9 KiB)  TX bytes:0 (0.0 B)
>
> tun0      Link encap:UNSPEC  HWaddr 
> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>           inet addr:10.70.6.105  P-t-P:10.70.6.105  Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1406  Metric:1
>           RX packets:12 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:1193 (1.1 KiB)  TX bytes:653 (653.0 B)
>
> wlan0     Link encap:Ethernet  HWaddr 00:24:A5:AD:73:A7
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:36010 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:42404 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:6835349 (6.5 MiB)  TX bytes:33515808 (31.9 MiB)
>
> root at OpenWrt:/etc# route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    
> Use Iface
> 10.85.0.10      10.70.6.105     255.255.255.255 UGH   0      0        
> 0 tun0
> 10.85.0.11      10.70.6.105     255.255.255.255 UGH   0      0        
> 0 tun0
> 216.248.9.102   c-68-63-248-1.h 255.255.255.255 UGH   0      0        
> 0 eth1
> 10.70.6.0       10.70.6.105     255.255.255.0   UG    0      0        
> 0 tun0
> 192.168.1.0     *               255.255.255.0   U     0      0        
> 0 br-lan
> 68.63.248.0     *               255.255.248.0   U     0      0        
> 0 eth1
> 172.27.0.0      10.70.6.105     255.255.0.0     UG    0      0        
> 0 tun0
> 10.85.0.0       10.70.6.105     255.255.0.0     UG    0      0        
> 0 tun0
> 10.92.0.0       10.70.6.105     255.255.0.0     UG    0      0        
> 0 tun0
> default         c-68-63-248-1.h 0.0.0.0         UG    0      0        
> 0 eth1
> root at OpenWrt:/etc#




More information about the openconnect-devel mailing list