sorry if I explained it the wrong way:
the opvn server router is located on a different location,using a different ISP (staticIP)
the opvn client router only has internet access through a 3G usb stick. Due to the nature of the 3G connection(double nat/..) no service/server running on this routers lan can be reached from the outside.
so the solution I thought would be a VPN between the 3GinetRouter and the statipIProuter.
right now client=>server works,but I need to have access to the clients lan.
I believe this is a routing problem,but I cant figure out how to do that
here is all the info I could gather,maybe this helps to figure this out :
vpn info :
client1.ovpn :
client
dev tun
proto udp
remote someDDNSip.asuscom 1194
float
cipher AES-128-CBC
comp-lzo adaptive
keepalive 15 60
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
....
------------------------------------------------------------
Server : AC56U
LanIP : 192.168.1.1
OPENVPN IP : 10.8.0.1
Client : N66U
LanIP : 192.168.0.1
OPENVPN IP : 10.8.0.2
-------------------------------------------------------------
server(AC56U) info :
pings :
@RT-AC56U:/tmp/mnt# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
^C
--- 192.168.0.1 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
@RT-AC56U:/tmp/mnt# ping 10.8.0.2
PING 10.8.0.2 (10.8.0.2): 56 data bytes
64 bytes from 10.8.0.2: seq=0 ttl=64 time=2245.690 ms
64 bytes from 10.8.0.2: seq=1 ttl=64 time=1264.778 ms
64 bytes from 10.8.0.2: seq=2 ttl=64 time=284.499 ms
^C
--- 10.8.0.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 284.499/1264.989/2245.690 ms
-----------------------------
IPv4 Routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
myWANip * 255.255.255.255 UH 0 0 0 WAN
10.8.0.0 * 255.255.255.0 U 0 0 0 tun21
192.168.1.0 * 255.255.255.0 U 0 0 0 LAN
80.109.235.0 * 255.255.255.0 U 0 0 0 WAN
default myWANip 0.0.0.0 UG 0 0 0 WAN
------------------------------
@RT-AC56U:/tmp/mnt# traceroute 10.8.0.2
traceroute to 10.8.0.2 (10.8.0.2), 30 hops max, 38 byte packets
1 10.8.0.2 (10.8.0.2) 214.754 ms 186.755 ms 159.891 ms
-----------------------------------------------------------------------------------
Client(RTN66U) info :
IPv4 Routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.64.64.64 * 255.255.255.255 UH 0 0 0 WAN
192.168.1.0 10.8.0.1 255.255.255.0 UG 0 0 0 tun11
10.8.0.0 * 255.255.255.0 U 0 0 0 tun11
192.168.0.0 * 255.255.255.0 U 0 0 0 LAN
169.254.0.0 * 255.255.0.0 U 0 0 0 MAN
default 10.64.64.64 0.0.0.0 UG 0 0 0 WAN
------------------
pings :
@RT-N66U-A730:/tmp/home/root# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: seq=0 ttl=64 time=138.926 ms
64 bytes from 192.168.1.1: seq=1 ttl=64 time=210.341 ms
64 bytes from 192.168.1.1: seq=2 ttl=64 time=240.392 ms
64 bytes from 192.168.1.1: seq=3 ttl=64 time=230.444 ms
64 bytes from 192.168.1.1: seq=4 ttl=64 time=220.389 ms
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 138.926/208.098/240.392 ms
@RT-N66U-A730:/tmp/home/root# ping 10.8.0.1
PING 10.8.0.1 (10.8.0.1): 56 data bytes
64 bytes from 10.8.0.1: seq=0 ttl=64 time=146.545 ms
64 bytes from 10.8.0.1: seq=1 ttl=64 time=120.454 ms
--- 10.8.0.1 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 120.454/133.499/146.545 ms