1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

(TomatoRAF 1.28vpn) Openvpn works - help to redirect!

Discussion in 'Tomato Firmware' started by windozer, Nov 5, 2010.

  1. windozer

    windozer Networkin' Nut Member

    I'm trying to use my 2nd WRT54GL as a VPN client to watch hulu etc.

    I've setup Tomato_K26-USB-1.28.8650MIPSR2_RAF-VPN.trx and openvpn is configured and initialized properly. Problem is I can't surf at all. I can ping my 1st and 2nd router (192.168.1.1 & 192.168.2.1).

    Here's my log for the 2nd router which is 192.168.2.1
    Code:
    Nov  5 14:33:29 unknown daemon.notice openvpn[901]: Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
    Nov  5 14:33:29 unknown daemon.notice openvpn[901]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
    Nov  5 14:33:29 unknown daemon.notice openvpn[901]: Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
    Nov  5 14:33:29 unknown daemon.notice openvpn[901]: Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
    Nov  5 14:33:29 unknown daemon.notice openvpn[901]: Control Channel: TLSv1, cipher TLSv1/SSLv3 EDH-RSA-DES-CBC3-SHA, 2048 bit RSA
    Nov  5 14:33:29 unknown daemon.notice openvpn[901]: [server] Peer Connection Initiated with 208.100.1.12:1194
    Nov  5 14:33:31 unknown daemon.notice openvpn[901]: SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
    Nov  5 14:33:31 unknown daemon.notice openvpn[901]: PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 172.16.22.1,route 172.16.22.1,topology net30,ping 10,ping-restart 60,ifconfig 172.16.22.58 172.16.22.57'
    Nov  5 14:33:31 unknown daemon.notice openvpn[901]: OPTIONS IMPORT: timers and/or timeouts modified
    Nov  5 14:33:31 unknown daemon.notice openvpn[901]: OPTIONS IMPORT: --ifconfig/up options modified
    Nov  5 14:33:31 unknown daemon.notice openvpn[901]: OPTIONS IMPORT: route options modified
    Nov  5 14:33:31 unknown daemon.notice openvpn[901]: OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
    Nov  5 14:33:31 unknown daemon.notice openvpn[901]: TUN/TAP device tun0 opened
    Nov  5 14:33:31 unknown daemon.notice openvpn[901]: TUN/TAP TX queue length set to 100
    Nov  5 14:33:31 unknown daemon.notice openvpn[901]: /sbin/ifconfig tun0 172.16.22.58 pointopoint 172.16.22.57 mtu 1500
    Nov  5 14:33:31 unknown daemon.notice openvpn[901]: /sbin/route add -net 208.100.1.12 netmask 255.255.255.255 gw 192.168.1.1
    Nov  5 14:33:31 unknown daemon.notice openvpn[901]: /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 172.16.22.57
    Nov  5 14:33:31 unknown daemon.notice openvpn[901]: /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 172.16.22.57
    Nov  5 14:33:31 unknown daemon.notice openvpn[901]: /sbin/route add -net 172.16.22.1 netmask 255.255.255.255 gw 172.16.22.57
    Nov  5 14:33:31 unknown daemon.notice openvpn[901]: Initialization Sequence Completed
    
    HTML:
    Current Routing Table
    Destination   Gateway       Subnet Mask     Metric  Interface 
    192.168.1.1   *             255.255.255.255 0       vlan1 (WAN)
    172.16.22.1   172.16.22.57  255.255.255.255 0       tun0 
    208.100.1.12  192.168.1.1   255.255.255.255 0       vlan1 (WAN) 
    172.16.22.57  *             255.255.255.255 0       tun0 
    192.168.2.0   *             255.255.255.0   0       br0 (LAN) 
    192.168.1.0   *             255.255.255.0   0       vlan1 (WAN) 
    127.0.0.0     *             255.0.0.0       0       lo 
    default       172.16.22.57  128.0.0.0       0       tun0 
    128.0.0.0     172.16.22.57  128.0.0.0       0       tun0 
    default       192.168.1.1   0.0.0.0         0       vlan1 (WAN)
     

Share This Page