netgear openvpn+android hotspot+dd-wrt client bridged

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
phryder
DD-WRT Novice


Joined: 07 Dec 2010
Posts: 2

PostPosted: Thu Mar 23, 2017 23:54    Post subject: netgear openvpn+android hotspot+dd-wrt client bridged Reply with quote
+noob. My setup--Netgear R6300v2 running netgear's stock firmware V1.0.3.8_1.0.60 serving as the gateway with it's openvpn server enabled. It's on subnet 192.168.2.1. I can connect with a windows 10 laptop with openvpn client installed through my android's hotspot which is on 192.168.1.1. It works just like it was connected to the server side lan with internet access through the server's gateway. So far so good. In the interest of expanding my vpn skills I am attempting to configure a client side router. Here's what I have so far--a Linksys E1000v2.1 loaded with DD-WRT v24-sp2 (03/25/13) vpn-small - build 21061, configured as a client bridged with a local address of 192.168.1.2.
The laptop's openvpn config file looks like this:

client
dev tap
proto udp
dev-node NETGEAR-VPN
remote 72.135.28.252:12974
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
cipher AES-128-CBC
comp-lzo
verb 5

and I used that info as a guide to populate the openvpn GUI and additionally I chose:

Hash Algorithm: SHA1
nsCertType verification--checked
Advanced Options--Enable
TLS Cipher: AES-256 SHA
LZO Compression--Adaptive
NAT--Enable
Firewall Protection--Disable
Tunnel UDP MSS-Fix--Enable

The Additional Config box is blank.

It doesn't work other than as a client bridged router. Here's info from the Status page:
State
Server: : Local Address: Remote Address: Client: CONNECTED: SUCCESS Local Address: Remote Address:

Status

Log
Serverlog Clientlog 20170323 16:41:51 I OpenVPN 2.3.0 mipsel-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Mar 25 2013
20170323 16:41:51 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:16
20170323 16:41:51 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20170323 16:41:51 W WARNING: file '/tmp/openvpncl/client.key' is group or others accessible
20170323 16:41:51 Socket Buffers: R=[114688->131072] S=[114688->131072]
20170323 16:41:51 I UDPv4 link local: [undef]
20170323 16:41:51 I UDPv4 link remote: [AF_INET]72.135.28.252:12974
20170323 16:41:51 TLS: Initial packet from [AF_INET]72.135.28.252:12974 sid=1ef720e9 22ffc11e
20170323 16:41:52 VERIFY OK: depth=1 C=TW ST=TW L=Taipei O=netgear OU=netgear CN=netgear emailAddress=mail@netgear.com
20170323 16:41:52 VERIFY OK: nsCertType=SERVER
20170323 16:41:52 NOTE: --mute triggered...
20170323 16:41:53 6 variation(s) on previous 3 message(s) suppressed by --mute
20170323 16:41:53 I [netgear] Peer Connection Initiated with [AF_INET]72.135.28.252:12974
20170323 16:41:55 SENT CONTROL [netgear]: 'PUSH_REQUEST' (status=1)
20170323 16:41:58 PUSH: Received control message: 'PUSH_REPLY route 192.168.2.1 255.255.255.0 redirect-gateway route-gateway dhcp ping 10 ping-restart 120'
20170323 16:41:58 OPTIONS IMPORT: timers and/or timeouts modified
20170323 16:41:58 NOTE: --mute triggered...
20170323 16:41:58 2 variation(s) on previous 3 message(s) suppressed by --mute
20170323 16:41:58 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=br0 HWADDR=c0:c1:c0:4e:e2:db
20170323 16:41:58 W OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options
20170323 16:41:58 W OpenVPN ROUTE: failed to parse/resolve route for host/network: 192.168.2.1
20170323 16:41:58 I TUN/TAP device tap1 opened
20170323 16:41:58 TUN/TAP TX queue length set to 100
20170323 16:41:58 W NOTE: unable to redirect default gateway -- VPN gateway parameter (--route-gateway or --ifconfig) is missing
20170323 16:41:58 I Initialization Sequence Completed
20170323 16:42:06 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170323 16:42:06 D MANAGEMENT: CMD 'state'
20170323 16:42:06 MANAGEMENT: Client disconnected
20170323 16:42:06 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170323 16:42:06 D MANAGEMENT: CMD 'state'
20170323 16:42:06 MANAGEMENT: Client disconnected
20170323 16:42:06 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170323 16:42:06 D MANAGEMENT: CMD 'state'
20170323 16:42:06 MANAGEMENT: Client disconnected
20170323 16:42:06 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170323 16:42:06 D MANAGEMENT: CMD 'log 500'
19700101 00:00:00

And that is where I am stuck.
Any suggestions will be appreciated.
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum