wireguard

  1. K

    Wireguard is not working

    Keep in mind I set up a wireguard server and 3 ubuntu clients. we wg0.conf [Interface] PrivateKey = private.key address = 11.11.11.6/32 DNS = 8.8.8.8 [Peer] PublicKey = publicserver.key AllowedIPs = 0.0.0.0/0 Endpoint = serverip:51820 PersistentKeepalive = 15 rc.conf wireguard_enable="YES"...
  2. H

    Not setting WireGuard as default interface

    Hello. I'm trying to run an IRC server on my machine at home. The problem is that I'm behind my ISP's CGNAT, so I'm trying to connect this home machine(A) to a remote machine(B) that has public IP using WireGuard. On server A I wrote the following WireGuard config: #...
  3. B

    Config for the wireguard service kernel module based

    Hi all! Is it possible to load the wg-interface configuration through a setting in rc.conf without using the devd hook? On FreeBSD v.14 my wireguard service run under that config: # cat /boot/loader.conf | grep wg if_wg_load="YES" # # cat /etc/rc.conf | grep wg cloned_interfaces="wg"...
  4. madwebness

    How to allow wg-quick to be invoked by a user in sudoers?

    Mostly, I don't have a problem with tweaking the sudoers file and tried to read the manual carefully. But the Wireguard thing (and, I suspect, OpenVPN would've behaved much the same way) apparently involves spawning some other processes, which somehow, sudo doesn't cover. I change my VPN...
  5. N

    PF Wireguard, pf, nat and FIBS

    Hello, I want to change my firewall (FW) because it's not a freebsd machine. The freebsd machine will become my new firewall. The version is "13.2-RELEASE-p8 FreeBSD 13.2-RELEASE-p8 GENERIC amd64 I want to create a Wireguard VPN tunnel between my new firewall and the outside, but only for...
  6. L

    Solved Wireguard on 14.0-RELEASE

    Everything was alright on 13.2 release, then I did binary upgrade to 14.0 release. Now I have to run service wireguard restart after each reboot to have the internet connection work. More details further down: I use x86_64 FreeBSD router, my setup is deviates from the usual in two ways: I have...
  7. treii28

    Need help with wireguard allowedip/pre/post settings

    I started playing with wireguard on a pfsense router to try to see if I could overcome a CG Nat on a hotspot I want to use when visiting my mother a couple hours from home. I stay in an RV when up there and have a couple of options for internet (cellular and local wifi) that I now connect to...
  8. aragats

    PF NAT to route Wireguard clients' traffic

    I'm missing something obvious. Why NAT doesn't work in a Wireguard server to route clients' traffic? ext_if="vtnet0" wg_clients="10.40.0.0/24" nat on $ext_if inet from $wg_clients to any -> ($ext_if) The server's Wireguard IP address is 10.40.0.1, the client's - 10.40.0.30. Running tcpdump on...
  9. ogogon

    WireGuard: How to route another subnet through it?

    Colleagues, tell me why I can't route another subnet through the wireguard? I have two computers, one is a router and the other is a client. The router has an interface with the address 172.16.0.1/24 and a wireguard interface with the address 10.20.0.1/24. The client has an interface with the...
  10. subnetspider

    BGP on FreeBSD VPS and OSPF over VPN?

    Hello everyone, Over the last year and a half I have learned a lot about IPv6, but unfortunately I am limited by my available ISPs (only dynamic IPv6 prefixes or prohibitively expensive business contracts). So I was thinking about getting my own ASN and renting a PI /48 IPv6 prefix so I can use...
  11. R

    Not able to get wireguard split tunnel to work

    Hello, I tried for a quite some time to get it working, but unsuccessful so far. I hope to get some pointers here that will help me to learn more about FreeBSD, wireguard and networking, also the content might be helpful for others browsing the web for solutions. Note that I am very new to...
  12. djbon2112

    Poor performance in one direction via Wireguard tunnel

    Preface I'm posting this in the Networking forum, though it could possibly be more valid in the Firewall forum. Moderators please move if required. Executive Summary I'm having an issue with very poor performance in one particular direction through a Wireguard tunnel between two FreeBSD 13.1...
  13. Del.Mar

    PF Enabling pfno IP address found for wg0:network

    Hi mates! During the boot my FreeBSD box start PF earlier than wg0 interface creates. Enabling pfno IP address found for wg0:network /etc/pf.conf:5: could not parse host specification pfctl: Syntax error in config file: pf rules not loaded /etc/rc: WARNING: Unable to load /etc/pf.conf. . [#]...
  14. dvl@

    Solved Can't get NAT working with pf on FreeBSD 13.1

    I'm trying to get NAT working in my basement. NAT is running fine on my gateway, but this is another situation. In this post, I'm trying to mix in enough detail without overloading. EDIT: I did get the NAT working. In the end, I did not use it. I have a 10.55.0.0/24 network in the basement...
  15. yofeker

    13.1 Wireguard client configuration; no internet

    I run FreeBSD 13.1 RELEASE on my RPi 3 Model B+. I want to set up Wireguard client on it, so I have installed wireguard from pkg. To run the client, I use wg-quick up /path/to/config. The command gives out no errors, I can access local hosts, but I cannot access the Internet. I believe this is a...
  16. tenq

    Solved 13.1-RELEASE arm64 rpi3b+ wireguard after upgrade

    After upgrade to 13.1-RELEASE from 13.0-RELEASE-p11 at raspberry pi 3b+ wireguard kernel module or routing after wg interface is coming up doing strange thing. it defines route to wireguard server's ip address via ip address bound to wg interface, that is really strange. Removing wireguard...
  17. thecodechemist

    Wireguard in iocage jail: Failed to create TUN device: open /dev/tun: no such file or directory

    Hi, I'm having issues with running wireguard in an iocage jail on FreeBSD 13.0-RELEASE-p10. The weird thing is, I also had issues with this on my TrueNAS Core system (12.2-RELEASE-p15), but after enabling the allow_tun option for the jail it now runs just fine there. Here's some config data...
  18. alfa

    Weird WireGuard Static Port Problem

    Hi, i have site to site Wireguard vpn both client and server have static port first connection with this configuration successfully initiates. But when PPPOE connection gone (default route also removing from route table) and reestablished wireguard server never connect anymore with client port...
  19. sidetone

    Ars Technica article focused on Wireguard regarding FreeBSD

    https://arstechnica.com/gadgets/2021/03/buffer-overruns-license-violations-and-bad-code-freebsd-13s-close-call/ This article is kind of negative, but I don't know what to make of it. The title says it's about FreeBSD, but it's really focused on something related to Wireguard for criticisms of...
  20. V

    PF Route jail data through wireguard

    I have successfully set up a jail following genneko's notes on setting up a jail in FreeBSD. However after installing and enabling Wireguard every single boot time, my jail has no network. I modified genneko's jails into making one jail by the way. Here's how my set up is looking at the moment...
Back
Top