OpenVPN Problems

Discussion in 'Server Operation' started by bher20, Feb 15, 2008.

  1. bher20

    bher20 New Member

    I am not able to access the internet thru the connection or ping/connect to anyother computers on my network except for the server and I am using only one nic on the server. I am new to setting this up and dont know what I need to add to the configuration file here are my two files

    Sever:
    port 1194
    proto tcp
    dev tun
    ca keys/ca.crt
    cert keys/server.crt
    key keys/server.key
    dh keys/dh1024.pem
    server 192.168.2.0 255.255.255.0
    client-config-dir ccd

    push "dhcp-option DNS 192.168.2.1"
    push "dhcp-option DNS 192.168.1.1"

    ifconfig-pool-persist ipp.txt
    push "redirect-gateway"
    keepalive 10 120
    comp-lzo
    persist-key
    persist-tun
    status server-tcp.log
    verb 3


    and here is my client:

    client
    dev tun
    proto tcp


    remote 24.*.*.* 1194

    resolv-retry infinite
    nobind
    persist-key
    persist-tun


    ca Home/ca.crt
    cert Home/client1.crt
    key Home/client1.key

    ns-cert-type server

    push "dhcp-option DNS 192.168.2.1"
    push "dhcp-option DNS 192.168.1.1"

    comp-lzo

    verb 3


    Any help would be great, Thanks.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Any errors in your logs?
     
  3. bher20

    bher20 New Member

    No there isnt
     

Share This Page