• Linux + shorewall and pfSense Site2Site VPN

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    GruensFroeschliG

    http://openvpn.net/index.php/documentation/howto.html

  • Simple question I would think

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    C

    Copy the files to a safe place. You could copy them carefully into something like KeePass from http://keepass.info where the keys can be stored encrypted.

  • Site to Site fine, but no Internet

    Locked
    7
    0 Votes
    7 Posts
    4k Views
    G

    Update!

    I managed to get it all working as I wanted, but ended up cheating in the end…

    I added routes to 0.0.0.0/1 and 128.0.0.0/1 via the OpenVPN Tunnel!

    One of these days, when I have some time, I'll try get it working the correct way!

    GruensFroeschli, thanks very much for all the assistance. I would still have been stuck without your help!

  • Site to site routing problem

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    R

    i was playing with that push option, true no need fot that one (ifconfig-push)
    i will try to set it with shared key, thx

  • Have connection, but no IP?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    GruensFroeschliG

    Could you post the log-output when the tunnel comes up?
    Also the config-files on the server and the client would help.

  • Speed issue

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    Cry HavokC

    Seems ok, certainly not worlds apart from my own config which does work fine.

    It would be good to check:

    Is it only this person Is it only that remote location

    as it's probably either networking related or a problem with that individual client.

  • Interent through VPN

    Locked
    3
    0 Votes
    3 Posts
    3k Views
  • Enable TLS Auth support

    Locked
    15
    0 Votes
    15 Posts
    20k Views
    T

    for embedded this should work…

    fetch -o /etc/inc/openvpn.inc http://pfsense.trendchiller.com/patches/openvpn/_etc_inc/openvpn.inc
    fetch -o /usr/local/pkg/openvpn.xml http://pfsense.trendchiller.com/patches/openvpn/_usr_local_pkg/openvpn.xml
    fetch -o /usr/local/pkg/openvpn_cli.xml http://pfsense.trendchiller.com/patches/openvpn/_usr_local_pkg/openvpn_cli.xml
    fetch -o /usr/local/pkg/openvpn_csc.xml http://pfsense.trendchiller.com/patches/openvpn/_usr_local_pkg/openvpn_csc.xml

  • VPN Stops Working after 12 hours

    Locked
    14
    0 Votes
    14 Posts
    8k Views
    G

    Well i can confirm Debian box as OpenVPN client to pfsense server has been up solid for over 24 hours now no problem. Link is still solid. This is probably something to do with the client, i will post the client configs tomorrow.

    I appreciate what you say about bugs and reporting, i am sure it would have been reported also and maybe this is something i have done wrong but one things for sure i have seen weird stuff like this before like with OpenWRT and netfilter working ok with NAT redirects for 24 hours and then randomly remapping to a different port for no reason!

    Thanks for the time really appreciate it.

    Regards,

    Chris

  • How to use open VPN in LAN

    Locked
    6
    0 Votes
    6 Posts
    4k Views
    GruensFroeschliG

    http://openvpn.net/
    http://openvpn.net/index.php/community/mailing-lists.html

  • 0 Votes
    9 Posts
    7k Views
    GruensFroeschliG

    You might be interrested in this:
    http://openvpn.net/index.php/documentation/install.html?start=1

    Notes – Firewall on the Windows client

    In general, it's a good idea to always protect a VPN client or server with a firewall.

    The important points for setting up firewalling on a Windows system running OpenVPN are:

    1. Make sure that your connection to the internet is always firewalled, especially when you are running a VPN. VPNs create trusted relationships between geographically disparate networks, and if any network on the VPN is compromised by a virus or worm, the exploit has the potential of jumping across the VPN and infecting other machines.
      2. You can enable firewalling on a given network adapter by going to Control Panel -> Network Connections, right-click on the icon that represents your link to the internet, select "Properties", go the the "Advanced" tab, and enable "Internet Connection Firewall".
      3. If you are running OpenVPN as a server on a Windows machine, you will need to configure your firewall to allow incoming clients to connect to OpenVPN's port number which is "UDP 1194" by default.
      4. In general, running OpenVPN as a client doesn't require any special firewall configuration, provided you use the --ping option to preserve the state of the OpenVPN connection in the firewall.
      5. In general, you don't need to enable firewalling on the TAP-Win32 adapter. Once an IP packet appears to be "coming in" on the TAP-Win32 adapter, it has already been decrypted and authenticated by OpenVPN, even though the connection between OpenVPN peers might transit an untrusted network such as the internet.
      6. One case where you might want to firewall the TAP-Win32 adapter is if you are connecting to an untrusted machine, or a machine which will route or bridge your connection with an untrusted network.

  • Openvpn Connection Resets (Road Warrior)

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    H

    Make sure you are using unique users for each client. If you login with the same user from another location the old session will be disconnected. It's the same for PPTP for example.

  • Server w/2 nics

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Cry HavokC

    Umm, this is about running OpenVPN on pfSense - if you want to ask general OpenVPN questions you're best on the OpenVPN list ;)

    That said, yes - or you can just tell the OpenVPN server to listen on all interfaces.

  • Pfsense to DD-wrt Open vpn

    Locked
    23
    0 Votes
    23 Posts
    11k Views
    C

    @chazers18:

    Thank you Guys you are all great.

    i will work with some of the scripting that i know how to do and post the results also.

    Again THANK YOU!! :)

    now from a window pc couldnt i just create a static key and with winscp ssh in to the ddwrt thing and place the static key in there under one of the permanet files. and then just run this command?

    echo "dev tap
    link-mtu 1492
    remote public IP
    resolv-retry infinite

    ifconfig 192.168.1.0 255.255.255.252
    client
    –---BEGIN OpenVPN Static key V1-----
      ...INSERT YOUR OWN CONTENT HERE...
      -----END OpenVPN Static key V1-----
    " > /tmp/static.key

    #ca /tmp/openvpn/ca.crt
    #cert /tmp/openvpn/client.crt
    #key /tmp/openvpn/client.key
    #comp-lzo
    persist-tun
    persist-key
    verb 3
    cipher AES-256-CBC" > /tmp/openvpn/openvpn.conf

    killall openvpn
    openvpn --config /tmp/openvpn/openvpn.conf

  • Linking 2 branches together.

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    C

    i would jus t set up a server that can be reached via internet and then password protect it.

    :-\ :-\

  • Nat on Tun?

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    D

    Ok, I got it to work but not in a way that is useful outside of the lab.  Here are the remaining hurdles:

    I need to use tls auth and there is no way I can see yet to make the upload of the ta.key survive a reboot.  Maybe a full install on a microdrive…

    When I added the line to nat on the tun0 device to the lan subnet it worked, packets were passed from the lan to the tunnel but I don't know how to add the line into the pf.conf file permanently.  It seems to go away when the tunnel goes down and comes back up too and it of course goes away on reboot.

    Thank you for your assistance.

  • Help needed

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    N

    Does your pfsense openvpn server have multiple WAN connections?
    What firewall rules do you have on the interface with the stations you're trying to ping?

  • Site to Site VPN Help

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    G

    Ok here it is my network layout
    Maybe you guys have some other opinions… all of them will be apreciated :D

    ISP [Poll of 5 Pubic IP's]
                                            |
                                            |
                                            |
                                      [16 Ports HUB]
                                            |
                                            |
                                            |
                                            |–--------------------------[router Drytek Site to Site other Office]
                                            |
                                            |
                                            |
                                            |
                                            |
                                            |–--------------------------[PFSENSE - VPN SITE to SITE][Lan-192.168.1.254][Wan-Public IP]
                                            |
                                            |
                                            |
                              [IP NOKIA 330-Firewall-Def. Gateway]–------------------[DMZ - Linux - Trustix - SMTP - PostFix + Squid]
                                            |
                                            |
                                            |
                                            |
                                            |
                                      [192.1168.1.1]
                                            |
                                            |
                                            |
                                            |
                                            |
                                            |
                              –----------------------------------------------------------
                              |                                    |                                            |
                [D.C->192.168.1.17]        [Exchange->192.168.1.30]              [App Server->192.168.1.20]

    IP330 NOKIA -> default gateway for servers and pc's with fixed IP's

    PFSENSE -> default gateway and Proxys for lan PC's

    –--------------------------------------------------------------------------------------------------

    Its Pfsense that i want to connect to someother pfsense or cisco etc etc need to be IPSec
    But i dont want that the other end of the site to site vpn see / browse my office pc's / Shares etc etc

    Thanks

  • OVPN Routing Help

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    R

    the gateway, I always forget about the gateway.  That was it. Thanks!

  • OT certs renewal

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    GruensFroeschliG

    Well you should have thought about the expiration time before.
    If your Identification Card expires there's no way to extend the current one and you need a new one….

    http://openvpn.net/archive/openvpn-users/2002-07/msg00033.html

    (there is always google you can ask if you dont beliefe me that you have to redistribute your certificates)

Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.