Donate Share

OpenVPN

Subscribe

Tunelling

  1. 2009-09-25 23:25:23 UTC

    Hello all. I am running a OpenVpn server on a Windows machine, and it has the next configuration:

    server.ovpn

    port 1194 proto udp dev tun ca ca.crt cert widget.crt key widget.key dh dh1024.pem server 10.10.0.0 255.255.255.0 ifconfig-pool-persist ipp.txt push "dhcp-option WINS 192.168.0.1" push "dhcp-option DNS 192.168.0.1" push "dhcp-option DOMAIN acme.com.local" keepalive 10 120 comp-lzo max-clients 4 persist-key persist-tun status openvpn-status.log verb 3

    I can easily connect with the generated certificades, but the problem that it passes all the traffic throught the server, and i just want to have it passing only connections that are being done to 10.10.0.* . Thanks in advance.

  2. 2009-09-25 23:27:26 UTC

    server.ovpn

    port 1194

    proto udp

    dev tun

    ca ca.crt

    cert widget.crt

    key widget.key

    dh dh1024.pem

    server 10.10.0.0 255.255.255.0

    ifconfig-pool-persist ipp.txt

    push "dhcp-option WINS 192.168.0.1"

    push "dhcp-option DNS 192.168.0.1"

    push "dhcp-option DOMAIN acme.com.local"

    keepalive 10 120

    comp-lzo

    max-clients 4

    persist-key

    persist-tun

    status openvpn-status.log

    verb 3

  3. 2009-09-26 20:57:03 UTC

    what do you mean exactly by <code> it passes all traffic through the server </code> ? all traffic from the client goes over the VPN? what is the client config ? is the tap-win32 adapter bridged by any chance?

    HTH,

    JJK

  4. 2009-09-26 21:15:09 UTC

    Yes, all the traffic from the client goes over the VPN. I'm not shure if its bridged, but it shouldnt . The client config from the lan is next:

    acme.ovpn

    client

    proto udp

    dev tun

    remote 192.168.0.1 1194

    resolv-retry infinite

    nobind

    persist-key

    persist-tun

    ca ca.crt

    cert jen140.crt

    key jen140.key

    comp-lzo

    verb 3

  5. 2009-09-28 13:06:25 UTC

    set the client config verbosity to 5 <code> verb 5 </code> and publish the client log file when it connects , plus the routing table of the client after connecting.

  6. 2009-09-29 06:25:51 UTC

    After installing openvpn on linux debian ( as a server) with the next config it works just as i wanted =)

    port 1194

    proto udp

    dev tun

    ca ca.crt

    cert server.crt

    key server.key

    dh dh1024.pem

    server 10.10.0.0 255.255.255.0

    ifconfig-pool-persist ipp.txt

    keepalive 10 120

    comp-lzo

    persist-key

    persist-tun

    status openvpn-status.log

    verb 3

    Thanks for your help.

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.