• Error using ClientExport: certificate can't be found (solved)

    Locked
    5
    0 Votes
    5 Posts
    6k Views
    P

    I upgraded to latest snapshot and recreated certificates, now it works fine!
    So just an already fixed bug then.
    Thanks for your help!

  • OpenVPN peer-2-peer routing doesn't work

    Locked
    7
    0 Votes
    7 Posts
    5k Views
    jimpJ

    I mentioned iroutes, and they're covered in the doc I referred to:

    http://doc.pfsense.org/index.php/OpenVPN_Site-to-Site_PKI_%28SSL%29

    You add those in the GUI under client-specific overrides, you do not need to add them manually into files on the firewall.

  • How to configure OpenVPN client for XeroBank

    Locked
    8
    0 Votes
    8 Posts
    9k Views
    M

    I've managed to create an OpenVPN client on pfSense that connects to XeroBank.  I've also managed, at least partially, to secure the VPN connection.  However, I'd appreciate criticism and suggestions.

    To summarize, I'm using a pfSense 2.0-RC3 guest in VirtualBox 4.0.12 ("pfSense").  The WAN interface is NATed to the VirtualBox host, and the LAN interface is connected to a VirtualBox internal network ("pfSLAN").  Also connected to pfSLAN is an Ubuntu Maverick guest ("Ubuntu").

    With ovpnc1 up, I see new "def1 type" routes, and traceroute at pfSense shell on interface ovpnc1 to internet sites shows expected routing via XeroBank's exit node.  Enabling Outbound NAT for LAN to OpenVPN allows Ubuntu to access the internet via ovpnc1.  Use OpenVPN to connect to vpntunnel.se (or similar) and Re: How to create an OpenVPN client to a public OpenVPN provider offered key insights, BTW.

    In System: General Setup, I've specified a public DNS server (XYZ.com) and disabled "Allow DNS server list to be overridden by DHCP/PPP on WAN".  I've disabled DNS Forwarder, and specified XeroBank's internal DNS servers (10.244.1.1 and 10.244.2.1) in DHCP Server on LAN.  Just to be safe, I also created firewall rules to block LAN access to XYZ.com's DNS servers.

    With ovpnc1 down, Ubuntu can ping nothing except pfSense.  With ovpnc1 up, packet captures on WAN confirm that traffic from Ubuntu is restricted to ovpnc1.  That is, the only IP addresses that I see are pfSense (10.0.2.15), its VirtualBox gateway (10.0.2.2) and XeroBank's OpenVPN server.  Steve Gibson's DNS Nameserver Spoofability Test reveals that Ubuntu can access only XeroBank's internal DNS servers.

  • Problem configuring OpenVPN connection as a Gateway

    Locked
    14
    0 Votes
    14 Posts
    18k Views
    M

    I got the OpenVPN running as an Interface (WAN). All the trouble was on the OpenVPN server site. Although I wasn't setting up site-to-site OpenVPN network but I was still required to route pfSense box LAN subnet to the OpenVPN server. Thanks to http://forum.pfsense.org/index.php/topic,12888.0.html.

    Solution,

    OpenVPN Server configuration /etc/openvpn/server.conf
    1. Enable "client-config-dir ccd"
    2. Add "route 192.168.1.0 255.255.255.0" (my pfSense box IP was 192.168.1.1 and all other LAN PC IP was behind)
    3. Add "iroute 192.168.1.0 255.255.255.0" to /etc/openvpn/ccd/client8 (client8 was the Common Name of my client certificate)
    4. Restart OpenVPN.
    5. WAOLA…..Enjoy.

    Take me a week to just a simple task. Hope this may help other people that are going to configure the samething. And thank for everyone that helping me out.

  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • Host IP not appearing in Traffic Graph on VPN Tunnels

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    jimpJ

    Don't call people out by name - it doesn't help. We don't get notified that it happens, and asking for personal help is frowned upon (See my sig, which some people seem to just never read…)

    You probably need to install/use something like iftop on the console. The way the rate program that makes the table works I'm not sure it is (or can be) compatible with OpenVPN, and I doubt it would work as expected on IPsec.

  • 0 Votes
    7 Posts
    6k Views
    johnpozJ

    So here you go sometimes pictures are worth a 1,000 words.

    So I connected in from work to my home openvpn running on pfsense.

    I then did a remote desktop to a box on my home network at 192.168.1.100, And did quick sniff of the icmp traffic – as you can see when I ping it from my work openvpn connected box that got an IP address of 10.0.200.6

    The box your pinging would need to know how to get back to that 10.0.200.6 address, in my case since pfsense is gateway for the 192.168.1.100 box sends the response back to the pfsense box (gateway) and pfsense routes it down the tunnel.

    But in your case it would send it to your cisco device.

    openvpnping.jpg
    openvpnping.jpg_thumb

  • Pfsense 2 Site2Site PKI

    Locked
    10
    0 Votes
    10 Posts
    4k Views
    perikoP

    During the day I will review the config, because I still don't know what he need to build a custom config for the client in the server side? I think is the tricky part, maybe someone with more experience in this field could clarify me.

    thanks probie  ;D.

  • 0 Votes
    2 Posts
    2k Views
    I

    HI
    I got the same problem.

    at first, I think, there is no connection, but PPTP is working.
    My firewall is whit the magic rule ,,, (pass all).
    When I generate all CA from pfsense and  export client CA. Then leave the "ns-cert-type server" fild in client config file.
    It give a error, that  server CA is not server certificate type. that got me thinking" there is some certificate negotiation.
    Can someone help me?

    sorry for my English. :)

  • TLS handshake error (pfsense 2.0)

    Locked
    10
    0 Votes
    10 Posts
    11k Views
    jimpJ

    Then start a new thread because your problem is unrelated to this thread.

  • FANTASTIC VIDEO for Road Warrior VPN with local user database pf2.0

    Locked
    10
  • Site To Site and Road warrior in 2.0RCX

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    M

    you could try out in build certmanager

  • Routing a specific IP over our VPN

    Locked
    8
    0 Votes
    8 Posts
    7k Views
    jimpJ

    You can put a hostname, but I'm not sure how OpenVPN might handle that if the IP resolves to multiple IPs.

    So the traffic isn't going over the tunnel at all? Or it's going over the tunnel and it just isn't going to the web site?

    Or can you tell the difference since that site is blocked by IP?

    You probably also need outbound NAT setup to cover the OpenVPN subnet. (It's done automatically on 2.0 but I always forget that it's not automatic on 1.2.3)

  • Limiting scope of openVPN access

    Locked
    15
    0 Votes
    15 Posts
    8k Views
    N

    Hi,
    it is working now for me now as expected.
    I am using 2.0-RC3 (amd64) built on Thu Jul 28 05:40:09 EDT 2011

    Thanks jimp!

  • DNS Server error openVPN Server

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    M

    That would be great idea

  • One server profile for each remote location, 1:1 ratio

    Locked
    8
    0 Votes
    8 Posts
    3k Views
    P

    Jimp.  The iroute command worked in the client overide.  I left /30 in the tunnel network in the client overide.  Thank you so much.

  • OPEN VPN STOP THE SERVICE AFTER CONNECTION

    Locked
    7
    0 Votes
    7 Posts
    5k Views
    X

    I've seen that the AES-CBC 256 bit is working fine so it is cypher related.

  • ERROR: FreeBSD route add command failed:

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    jimpJ

    Need a lot more info there about the OpenVPN and system config to guess at a cause. Typically that error is due to a route for a network involved already existing.

  • Openvpn with 2 firewalls in the main office and two in the remote office

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    jimpJ

    If the OpenVPN tunnel terminates to the CARP VIP of fw1/fw2, you don't need to do any kind of fancy failover.

    Furthermore, if the setup is the same on both connections (same CA/Cert/settings) you can just add another "remote x.x.x.x;" line in the custom options of the client and it will try that other IP if the first one is down.

  • How to stop split tunnel with OpenVPN

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    jimpJ

    Probably means to only route select networks across the VPN instead of routing everything.

    That is the default behavior of OpenVPN on pfSense though. You have to check the box to force client traffic through the VPN in order to not do that.

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