• 0 Votes
    1 Posts
    838 Views
    No one has replied
  • RADIUS + iroute (Client Specific Overrides)

    4
    0 Votes
    4 Posts
    1k Views
    G
    I made some additional code changes to check the Framed-Route format to ensure it complies with the RFC. /etc/inc/openvpn.auth-user.php /** *  Convert Framed-Route format to iroute for the CCD file */ function FramedRoute($cidr) {     $baseip = substr($cidr,0,strpos($cidr, '/'));     $prefix = substr($cidr, strpos($cidr, '/') + 1) * 1;     $netmask = str_split(str_pad(str_pad('', $prefix, '1'), 32, '0'), 8);     $ipLong = ip2long($baseip);     if ( ( ($ipLong << $prefix) ^ 0) == true ) {         foreach ($netmask as &$element) $element = bindec($element);         return $baseip.' '.join('.', $netmask);     } } if (isset($attributes['framed_route'])) {         $iroute = FramedRoute($attributes['framed_route']);         if (!empty($iroute)) {             file_put_contents("{$g['varetc_path']}/openvpn-csc/{$username}", "iroute {$iroute}\n");             syslog(LOG_NOTICE, "user '{$username}' iroute '{$iroute}' created\n");         } } I'm creating static openvpn-csc file that could cause issues in the future. Should I be looking at, deleting the created openvpn-csc on client disconnect using the openvpn_resync_csc function
  • Any way to deal with fast changing IP

    5
    0 Votes
    5 Posts
    1k Views
    T
    @scurrier: Two thoughts. How can it change your IP so fast while still allowing others to maintain a connection to you? It's pretty common, it wouldn't affect most things. How would someone on AOL Dialup for example maintain a connection? Have you tried disabling IPV6 on your phone?  On Tmobile there is a way to do this by changing your APN settings, I think. I'll give it a look.
  • OpenVPN Server WAN Failover Using GW Group Question

    3
    0 Votes
    3 Posts
    955 Views
    S
    As usual, the reason I could not get a pfSense feature working was an oversight on my part. I discovered and fixed the problem and now its working just fine. I had a 1 to 1 NAT on the secondary WAN's primary address that took over after I removed the port forward that was redirecting the OpenVPN port to where it was listening on my LAN. After moving that port forward to another virtual IP, everything works as designed. OpenVPN is now listening on my WAN Group. Failover to tier 2 and recovery to tier 1 now works flawlessly.
  • Tunnel works but status says service is stopped.

    3
    0 Votes
    3 Posts
    1k Views
    S
    Same thing happening in this thread: https://forum.pfsense.org/index.php?topic=77637.0
  • OpenVPN Status incorrect

    3
    0 Votes
    3 Posts
    1k Views
    S
    Yes, others are having this problem.  See here: https://forum.pfsense.org/index.php?topic=77637.0
  • OpenVPN client status problem

    2
    0 Votes
    2 Posts
    752 Views
    S
    Yes.  I responded in the thread you linked, OP.
  • OpenVPN connection gets lost after a minute

    1
    0 Votes
    1 Posts
    735 Views
    No one has replied
  • Internet but no LAN, no LAN but internet, sometimes successfully both

    2
    0 Votes
    2 Posts
    614 Views
    M
    When you say "My DC pfsense is acting oddly", what does the "DC" reference? It's difficult to help troubleshoot without details. 1. Change your FW rule to any/any on the openvpn tab 2. Post your server1.conf.
  • 0 Votes
    6 Posts
    6k Views
    M
    Add any/any rules to both sides on the openvpn tab. Post the server1.conf from the server end and client1.conf from the client end.
  • OpenVPN fails in 2.1.4

    1
    0 Votes
    1 Posts
    750 Views
    No one has replied
  • Site to site with only main site static?

    5
    0 Votes
    5 Posts
    940 Views
    S
    AFAIK you can only have one OpenVPN Server and one OpenVPN Client pair using the shared key method. You can have multiple Server/Client pairs for each remote network though, if that makes sense. The remote computers will just need to use the pfSense fw running the OpenVPN Client as their gateway, that or you would need to setup a static route on each remote PC.
  • OpenVPN GUI

    2
    0 Votes
    2 Posts
    877 Views
    V
    Have you configured a rule to allow access in Firewall > Rules > OpenVPN tab?
  • OpenVPN + upnp after 2.1.4 update

    1
    0 Votes
    1 Posts
    739 Views
    No one has replied
  • Openvpn SIP issues

    10
    0 Votes
    10 Posts
    3k Views
    L
    My bad…. looks like I looked at the wrong line, when setting the extension to NAT=yes (it didn't want the other subnet to register) the phone was working just fine.
  • SSLVPN with reverse proxy

    1
    0 Votes
    1 Posts
    991 Views
    No one has replied
  • How-to delete openvpn routes when tunnel is down?

    1
    0 Votes
    1 Posts
    615 Views
    No one has replied
  • 2 NICs - One with VPN,the other without

    3
    0 Votes
    3 Posts
    847 Views
    D
    I need to say that the pfsense Router acts as a VPN Client
  • 0 Votes
    1 Posts
    671 Views
    No one has replied
  • OpenVPN access to remote networks

    8
    0 Votes
    8 Posts
    1k Views
    L
    I noticed that when I ran with that config, that my Windows PC no longer had any routing information in it for the remote networks. I returned it the two simple push statements. I no longer believe that the problem is in the OpenVPN configuration, but rather, is in the lack of static routes in the gateway and router at each of the sites. Your link https://community.openvpn.net/openvpn/wiki/RoutedLans pretty well documents the problem in the section called, "ROUTES TO ADD OUTSIDE OF OPENVPN". Thanks for the links! They were very helpful in my understanding of what iroutes really do.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.