Results 1 to 2 of 2
  1. #1
    Newbie
    Join Date
    Nov 2009
    Posts
    1

    Default Even basic stuff doesn't work

    Hi,

    I'm totally newbie. I just tried to configure my first VPN connection between my laptop and Home network.

    Laptop is connected to Internet outside HomeLAN. I try to estasblish a VPN pipe. The idea is to connect my home LAN through Company Proxy server which allows only ports like 80-90, 8080 etc

    My homenewtwork is behind router/adsl modem 192.168.1.1/24 and behind that is laptop 192.168.1.99 which OpenVPN server runs

    OpenVPN IP addresses:
    -- client 10.8.0.2
    -- server 10.8.0.1 (the laptop with 192.168.1.99)

    Okay...connection is established and I can ping client to server 10.8.0.1.
    But I can't ping 192.168.1.x network inside Home LAN.

    There needs to be route defined, but how can I do that. I have tried everything...and no ping.

    I want to use just static.key...its so much simplier.

    Client config

    remote xxxx.no-ip.org
    port 86
    dev tap
    proto tcp-client
    #float
    ifconfig 10.8.0.2 255.255.255.0
    secret static.key
    keepalive 10 60
    ping-timer-rem
    persist-tun
    persist-key
    push "route 192.168.1.0 255.255.255.0" <--?? doesn't work

    Server

    dev tap
    port 86
    proto tcp-server
    float
    #comp-lzo
    #ifconfig tap0 0.0.0.0 promisc up
    secret static.key
    ifconfig 10.8.0.1 255.255.255.0

    #route 10.8.0.0 255.255.0.0 192.168.1.1 <no idea of this?
    keepalive 10 60
    ping-timer-rem
    persist-tun
    persist-key


    I tried to follow instructions from here
    hxxp://openvpn.net/index.php/open-source/documentation/miscellaneous/78-static-key-mini-howto.html


    Server configuration file
    dev tun
    ifconfig 10.8.0.1 10.8.0.2 <---this doesn't make any sense
    secret static.key

    See the IP confic after start

    Connection-specific DNS Suffix . :
    IP Address. . . . . . . . . . . . : 10.8.0.2.
    Subnet Mask . . . . . . . . . . . : 10.8.0.2
    Default Gateway . . . . . . . . . :


    So I guess the correct command should be

    ifconfig 10.8.0.1 255.255.255.0

    Please any help appreciated.

    Thanks a lot,
    Mark

  2. #2
    Untangle Ninja
    WebFooL's Avatar
    Join Date
    Jan 2009
    Location
    Sweden (Eskilstuna)
    Posts
    4,205

    Default

    Hi mzypt,
    This Forum is for the OpenVPN module in Untangle Firewall.
    Your Setup looks to be a OpenVPN stand Alone.

    For generic OpenVPN Questions Use there forum on SF.net
    http://sourceforge.net/projects/openvpn/support

    But a tip.
    If you are running the client or server on a Windows Vista or 7 System you have to run the processes as admin.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2