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

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Problem with client openvpn asus merlin

Discussion in 'Asuswrt-Merlin' started by Sputnik, Dec 16, 2018.

  1. Sputnik

    Sputnik New Around Here

    Joined:
    Dec 16, 2018
    Messages:
    1
    Hi, i.m trying connect with asus merlin to server openvpn in tap mode.

    When use client in windows work fine.

    But in asus connect, but dont ip: Connected (Local: 0.0.0.0 - Public: )

    My server.conf:

    port 45678
    proto udp
    dev tap0
    mode server
    tls-server
    ca /etc/openvpn/easy-rsa/keys/ca.crt
    cert /etc/openvpn/easy-rsa/keys/server.crt
    key /etc/openvpn/easy-rsa/keys/server.key
    dh /etc/openvpn/easy-rsa/keys/dh2048.pem
    remote-cert-tls client
    server-bridge 192.168.1.100 255.255.255.0 192.168.1.240 192.168.1.250
    push "redirect-gateway def1"
    push "dhcp-option DNS 8.8.4.4"
    client-to-client
    keepalive 10 120
    tls-auth /etc/openvpn/easy-rsa/keys/ta.key 0
    cipher AES-256-GCM
    compress lz4-v2
    push "compress lz4-v2"
    persist-key
    persist-tun
    status /var/log/openvpn-status.log
    log-append /var/log/openvpn.log

    My client conf:

    client
    dev tap0
    proto udp
    remote xxxx.dyndns.org 45678
    tls-client
    persist-key
    persist-tun
    ca ca.crt
    cert xxxxx.crt
    key xxxxx.key
    remote-cert-tls server
    tls-auth ta.key 1
    cipher AES-256-GCM
    compress lz4-v2
    verb 3

    My interfaces:
    br0 Link encap:Ethernet HWaddr 00:1e:06:10:1c:c6
    inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::21e:6ff:fe10:1cc6/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:19 errors:0 dropped:0 overruns:0 frame:0
    TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1910 (1.8 KiB) TX bytes:2852 (2.7 KiB)

    eth0 Link encap:Ethernet HWaddr 00:1e:06:10:1c:c6
    UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
    RX packets:276 errors:0 dropped:0 overruns:0 frame:0
    TX packets:248 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:29344 (28.6 KiB) TX bytes:38899 (37.9 KiB)
    Interrupt:40

    tap0 Link encap:Ethernet HWaddr 8e:22:70:28:2d:d8
    UP BROADCAST PROMISC MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
     
    Last edited: Dec 16, 2018