Problem with pat and gateway configuration.



  • Hey. I wonder if any of her would like to help me solve my problems with TAP configuration.
    i have "try and error" in 2 days now and searched for a solution. But does not solve my problem with Gateway.

    Connection-specific DNS Suffix  . : vpnusers
    Description . . . . . . . . . . . : TAP-Windows Adapter V9
    Physical Address. . . . . . . . . : 00-FF-51-FB-DE-08
    DHCP Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::c5aa:fa0d:5000:844f%21(Preferred)
    IPv4 Address. . . . . . . . . . . : 192.168.1.207(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Lease Obtained. . . . . . . . . . : den 28 september 2014 23:31:28
    Lease Expires . . . . . . . . . . : den 28 september 2015 23:31:29
    Default Gateway . . . . . . . . . :  <–--------------------------------------------------------------------- This is blank ? 
    DHCP Server . . . . . . . . . . . : 192.168.1.0

    Brige |-------->VPNusersNetwork (tap2)
    |------>OpenVPN (ovpns1)

    -----(problem now is that i dont reach internet or my local client and servers.)----------------------------------



  • This do i get from openVPN utility.

    Mon Sep 29 22:10:56 2014 TAP-Windows Adapter V9
    Mon Sep 29 22:10:56 2014  Index = 21
    Mon Sep 29 22:10:56 2014  GUID = {51FBDE08-18B4-493F-A23B-3A65F8E79E49}
    Mon Sep 29 22:10:56 2014  IP = 169.254.132.79/255.255.0.0
    Mon Sep 29 22:10:56 2014  MAC = 00:ff:51:fb:de:08
    Mon Sep 29 22:10:56 2014  GATEWAY = 0.0.0.0/255.255.255.255
    Mon Sep 29 22:10:56 2014  DHCP SERV = 0.0.0.0/255.255.255.255
    Mon Sep 29 22:10:56 2014  DHCP LEASE OBTAINED = Mon Sep 29 22:10:56 2014
    Mon Sep 29 22:10:56 2014  DHCP LEASE EXPIRES  = Mon Sep 29 22:10:56 2014
    Mon Sep 29 22:10:56 2014  DNS SERV = 192.168.1.253/255.255.255.255 8.8.8.8/255.255.255.255 8.8.4.4/255.255.255.255



  • My client setup file

    dev tap
    persist-tun
    persist-key
    cipher AES-128-CBC
    auth SHA1
    tls-client
    client
    resolv-retry infinite
    remote 81.233.18.249 1194 udp
    route-gateway 192.168.1.253
    lport 0
    auth-user-pass
    ca srv-pfsense-udp-1194-ca.crt
    ns-cert-type server
    comp-lzo