• VPN breaking web pages

    1
    0 Votes
    1 Posts
    591 Views
    No one has replied
  • What is the OpenVPN shared key

    2
    0 Votes
    2 Posts
    1k Views
    DerelictD
    If you have a TLS authentication key configured on the server, you need the same key on the client.  If not, you don't. pfSense stores the TLS authentication key as clientX.tls-auth and serverX.tls-auth. This is used in the server using tls-auth /var/etc/openvpn/server2.tls-auth 0 I guess if your CentOS config is doing something similar, you'll find the key in there.  If you don't need a tls-auth key to connect via CLI, I guess your walkthrough didn't configure TLS Authentication and you need to turn it off in the client's GUI. Why not just use pfSense as your OpenVPN server?
  • Unique user shared keys

    6
    0 Votes
    6 Posts
    1k Views
    DerelictD
    If your VPN is set to user auth, that's what it's going to use. I've never done this but on 2.1.5 I'd use Remote Access ( SSL/TLS ).
  • Adjusting gateway advanced params on openvpn

    1
    0 Votes
    1 Posts
    524 Views
    No one has replied
  • Cannot ping pfsense from OpenVPN client

    2
    0 Votes
    2 Posts
    895 Views
    R
    It's working. I've spent many hours on that and what helped was a pfSense reboot :) I also followed this tutorial: http://www.derman.com/blogs/OpenVPN-Firewall-Setup
  • Cert deleted before revocation - how to reimport?

    7
    0 Votes
    7 Posts
    2k Views
    S
    Thanks Jimp, much cleaner :-). You could probably do a job on this too.  It's a (very) basic perl script to identify user certs in a config.xml and dump them to separate files to make it easier to reintroduce a particular cert to the config.xml.  I'm putting it here in case it's useful to someone else.  It makes heavy assumptions about the config.xml structure and I don't know what quotemeta will do on a windows box so YMMV.  Written for clarity rather than efficiency. #!/usr/bin/perl use strict; use warnings; ## pfSenseUserCertDumper.pl ## Script to pull out user certs from a pfsense config backup. ## use as follows: ## ## perl pfSenseUserCertDumper.pl config.xml ## ## Output will be of the form certref.certdescription.usercert ## No provision has been made for multiple arguments my $line; my $cachecontents; my $certrefid; my $certdesc; my $certdumpfile; my $certdumpcontents; my $isusercert; my $filename = $ARGV[0]; open FILE,"<$filename" or die "Cannot read the file $filename: $!\n"; while ($line = <file>) {     if ($certdumpcontents)     {       # We are capturing contents, so append       $certdumpcontents.=$line;         if ($line =~ m/\<refid\>(.*?)\<\/refid\>\n/)         {                 # Capture cert ref for dump filename                 $certrefid =  $1;         }         if ($line =~ m/\[CDATA\[(.*?)\]/)         {                 # Capture cert desc for dump filename, quotemeta to deal with                 # special characters                 $certdesc = quotemeta $1;         }         if ($line =~ m/\<type\>user\<\/type\>\n/)         {                 # Not interested in non-user certs.  Set flag if user cert.                 $isusercert=1;         }     }     if ($line =~ m/\<cert\>\n/)     {         # Start of a cert.  Start capturing.         $certdumpcontents.=$line;     }     if ($line =~ m/\<\/cert\>\n/ && $certdumpcontents)     {         # End of cert data.         if ($isusercert)                 {                         $certdumpfile=$certrefid.'.'.$certdesc.'.usercert';                         open CERTDUMPFILE, ">$certdumpfile";                         print CERTDUMPFILE "$certdumpcontents";                         close CERTDUMPFILE;                         # Job done, turn off isusercert flag                         undef $isusercert;                 }         # Clear assigned variables ahead of next cert.         undef $certdumpfile;         undef $certrefid;         undef $certdesc;         undef $certdumpcontents;     } }</cert\></type\></refid\></file> Thanks again, Simon
  • TLS Error: TLS key negotiation failed to occur within 60 seconds

    3
    0 Votes
    3 Posts
    1k Views
    P
    Give some details of your setup. It seems strange that the client is trying to connect to 172.16.0.10:2000 - a private IP address. Are you doing some internal testing or? Where is the server listening? How does the public internet reach that? How did you setup the client? …
  • Port Forwarding from VPN Provider…

    11
    0 Votes
    11 Posts
    12k Views
    K
    What do you mean by "internal torrent client"? I'd be interested in having a look at your scripting. Any chance you could post it?
  • OpenVPN Desktop Client with pfsense

    25
    0 Votes
    25 Posts
    5k Views
    P
    The new OpenVPN 2.3.5-I601, with OpenVPN Manager 0.0.3.6, is working fine for me on Windows 8.1
  • SOLVED Routing problems between OpenVPN and LAN servers.

    2
    0 Votes
    2 Posts
    916 Views
    A
    This problem was solved. The problem was that my Pfsense was installed in a Proxmox VM, whe I disabled hardware checksum offload all begin to works fine.
  • Openvpn to one inside ip-address

    6
    0 Votes
    6 Posts
    1k Views
    P
    Sorry I am NOOB… Is it any way to help me more... I need "barb wire" to guide me... ::)
  • Multiple VPN Servers

    5
    0 Votes
    5 Posts
    3k Views
    H
    So I followed your advice and some online tutorials and everything works great! From a security standpoint, would there be a reason to add an interface to the OpenVPN servers and enable Snort on them? Or would that be an overkill?
  • Limiting OpenVPN access

    2
    0 Votes
    2 Posts
    737 Views
    P
    Put rules on the irewall->Rules OpenVPN tab to allow only what you want, and the rest is blocked. If you want to give general internet access through the OpenVPN, then it might be easiest to make a rule list like: a) Allow to destination IP/ports that you want to open on your LAN. b) Block to destination LANnet (block the rest of the LAN) c) Allow all - let anything else in on the OpenVPN (internet in general)
  • PIA VPN client kills my OpenVPN server

    1
    0 Votes
    1 Posts
    637 Views
    No one has replied
  • How do I VPN only 1 host device?

    29
    0 Votes
    29 Posts
    5k Views
    K
    Could be - I know there is a problem with replies going out pver the same interfaces they come in on. I'm pretty excited about 2.2 once the bugs are worked out.  A well threaded pfsense will make a huge difference.
  • Route all openvpn traffic through a specific client's local gateway

    1
    0 Votes
    1 Posts
    611 Views
    No one has replied
  • Allow External FrootVPN (OpenVPN) access through Pfsense Firewall

    1
    0 Votes
    1 Posts
    727 Views
    No one has replied
  • OpenVPN continues to work even after it's terminated due to fatal error

    15
    0 Votes
    15 Posts
    11k Views
    C
    Pretty sure that's this scenario. https://redmine.pfsense.org/issues/3894
  • Vyprvpn Port Forwarding

    7
    0 Votes
    7 Posts
    4k Views
    K
    Good to know.
  • SIGTERM[hard,] received, process exiting

    1
    0 Votes
    1 Posts
    6k Views
    No one has replied
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.