• 0 Votes
    4 Posts
    3k Views
    N
    @Pippin said in suddendly I get a "bad source address from client" on OpenVPN, yet everything is working: From info given you don't really need the iroute. exactly, and it's plain wrong as well, in fact it wasn't set up with the unnecessary iroute and I had no such message in the logs, afaik nothing major changed on my side of things. I am connecting from a home connection which is actually a 4G router, no adsl reaches where I live, and the carrier did change something because their NAT address definitely changed before this happened, but I can't fathom how that would cause that message on my logs. luckily this is just a VPN connection I use to admin the firewall from my laptop from remote locations and from home if needed, so nothing critical, the critical VPNs this box handles are untouched by this issue and the logs are clean. I should have avoided common subnets from the beginning, guess it's time to do that now and see if that has any impact, it's good practice anyways.
  • OpenVPN Static Ip, Routing Problem, NAT

    openvpn routing rules open vpn nat
    17
    0 Votes
    17 Posts
    2k Views
    ?
    @Derelict I think i got it to work. After i set the default gateway manually to the VPN and not automatic and saw that it worked, i transfered the Flowing Rule i made for the outbound traffic to the Lan interface. With the new knowledge of your help and the help of viragomann i changed some tiny things in the firewall rule. After that i changed the default gateway back to automatic and know the outbound traffic takes the vpn and everything works. I even rebootet the firewall to get lost of the states but everything still functions as it seems. Thank you so very much for your dedication and your help.
  • All VLan Traffic over an OpenVPN Tunnel (Cyber Ghost)

    4
    0 Votes
    4 Posts
    646 Views
    B
    @marvosa Perfect, I did get it with Policy Route VPN. I was trying to do this before, but I was missing the gateway, I had already created it for my VLAN, but didn't realize I also needed one for this VPN. Once added that and configured everything it all worked!!!
  • Snom Phones and OpenVPN

    1
    0 Votes
    1 Posts
    352 Views
    No one has replied
  • Open VPN Client on PFsense

    6
    0 Votes
    6 Posts
    745 Views
    B
    @viragomann Thank you SO mutch. It wass the : Don't add or remove routes automatically Do not execute operating system commands to install routes. Instead, pass routes to --route-up script using environmental variables. that did all the messing up. All working flawlessley :-)
  • 0 Votes
    1 Posts
    236 Views
    No one has replied
  • OpenVPN site to site for IP Phone

    6
    0 Votes
    6 Posts
    820 Views
    S
    @marvosa said in OpenVPN site to site for IP Phone: Unless you have (or want) super restrictive outgoing firewall rules on the LAN interface, there should be a LAN net/any rule for the LAN interface on both ends by default. A LAN net/any rule means all outgoing traffic is allowed. More specifically, it's a rule that allows traffic sourced from the LAN subnet and destined to any IP, any interface, any port using any protocol. Thank you very much for trying help me. I did what you asked but still no go. Probably, I am still doing something wrong. So, I would like to present my situation in a more detailed way. This is schematic of my Office and Home network: https://imgur.com/DMVPBxL These are from office pfSense: https://imgur.com/pXR7l7o https://imgur.com/dIHoC0v These are from home pfSense: https://imgur.com/Wl0X39a https://imgur.com/pGPpAc5 OpenVPN interfaces are from configuring through OpenVPN wizard. Still, FreePBX on 10.10.1.20 is not registering the IP phone (192.168.2.51) at home. Do you see anything wrong with this setup?
  • OpenVPN client for specific devices on the LAN only?

    5
    0 Votes
    5 Posts
    579 Views
    P
    Thanks. Still hoping for any guidance on the original question.
  • 0 Votes
    45 Posts
    4k Views
    GertjanG
    Get back here : https://forum.netgate.com/topic/148959/connection-with-remote-server-not-established-because-of-a-server-verification-method-error/33 and do that test. It resolves, or not ? Also, describe your DNS settings.
  • Client error

    3
    0 Votes
    3 Posts
    813 Views
    S
    I exported the "inline configurations" configuration and now it's ok ! Thanks.
  • Last Login for OpenVPN

    1
    0 Votes
    1 Posts
    287 Views
    No one has replied
  • Two OpenVPN instances radius authorization via group membership

    2
    0 Votes
    2 Posts
    408 Views
    jimpJ
    That would be up to the RADIUS server. Capture and check requests from each OpenVPN instance and look for attributes that are unique there which it could use to distinguish between the two (e.g. Calling-Station-Id). Or setup two Authentication Server entries on pfSense pointing to the same server but with different RADIUS NAS IP Attribute settings. Then in your RADIUS config you should be able to tell it to only authorize a user if they match along with whatever other attribute you decide to use.
  • Dynamic DNS not working - fixed IP works

    10
    0 Votes
    10 Posts
    3k Views
    GertjanG
    @MrGlasspoole said in Dynamic DNS not working - fixed IP works: What do you mean? My web hoster is a well known company in Germany. And you can select it in the pfSense DDNS settings. Hummm. What has the web host to do with this ? They - the web host - have a static IP - .... @MrGlasspoole said in Dynamic DNS not working - fixed IP works: And as i wrote. The IP updating to the DDNS server is working. .... And i get back the IP from my website. So, it's not working - it shouldn't not return the IP of this web host / web site - it should return the IP of your WAN at that moment. Example : I have a dedicated server on the Internet - and a hand full of domain names. One is "test-domaine.fr". Check out : root@ns311465:~# dig test-domaine.fr A +short 5.196.43.182 So, 5.196.43.182 is an IP4v of this dedicated server. "www" is the same : root@ns311465:~# dig www.test-domaine.fr A +short 5.196.43.182 But I have also an "URL" that points to my pfSense / WAN IP : root@ns311465:~# dig br*t.test-domaine.fr A +short 82.127.*4.254 and that's correct, that IP is my WAN IP right now. So, I can use "br*t.test-domaine.fr" as an URL that conenctes me to my .... OpenVPN running on my pfSense. When my WAN IP changes, pfSense will take care of updating the A record for br*t.test-domaine.fr using DYNDNS (actually, its RFC2136 based, using my own 'bind' master domain server, running on that server). Again : show us your logs ...
  • Download user certificate

    2
    0 Votes
    2 Posts
    260 Views
    DerelictD
    You will need to write something that loops through the /cf/conf/config.xml and extracts the certificates, runs them through a base64 decode, and saves the results in a format that makes sense to you.
  • 0 Votes
    15 Posts
    1k Views
    johnpozJ
    @PrashantRai said in OpenVPN (Site-to-Site) unable to ping/access from SiteA(Server) to SiteB(Client) LAN from Local Machine: also how to know if IP's are overlapping!!!! You don't understand network masks, ie subnetting - but your setting up the firewall and site to site vpn? How is this? So you rust randomly picking a mask? Where did you come up with the /12? I can understand the /8 somewhat since this is whole network for 10.. I would highly suggest you do a bit of research. https://www.ittsystems.com/introduction-to-subnetting/ Came up on google like first hit, looks basic enough to get you started.
  • OpenVPN ip assignation

    3
    0 Votes
    3 Posts
    396 Views
    V
    Hello thank you very much, that's exactly what i want best regards
  • OpenVPN Kernel module

    1
    0 Votes
    1 Posts
    217 Views
    No one has replied
  • Transfer my config to new device

    3
    0 Votes
    3 Posts
    409 Views
    J
    Finally, I found it. The server1.tls-auth file needed crlf on each line. When I copied that file it produced a single string of characters that was not formatted properly. After adding a crlf on each line and re-saving the openVPN server, returning to services found the openVPN server running.
  • IP IN OPT

    3
    0 Votes
    3 Posts
    449 Views
    johnpozJ
    I have to agree - posting in your native language might be easier. I think your wanting to assign a specific IP to a openpvn client connecting to your pfsense... If so this would be a client override setup. You would put in the client common name... Then in advanced do [image: 1576333639009-ovrride.jpg] ifconfig-push 10.0.8.100 255.255.255.0 With the IP you want to give that client - for example, that is my work laptop, it always gets 10.0.8.100 as its IP..
  • 0 Votes
    2 Posts
    171 Views
    GertjanG
    That issue was solved. So is yours !
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.