openvpn

  1. N

    help with static routes vpn

    ifconfig_vtnet0="inet 192.168.1.100 netmask 255.255.255.0" defaultrouter="192.168.1.99" #openvpn openvpn_enable="YES" openvpn_if="tap" # driver(s) to load, set to "tun", "tap" or "tun tap" openvpn_configfile="/usr/local/etc/openvpn/openvpn.conf" #test route to 192...
  2. vukodlak

    Working Bhyve-Bastille-General config files/network for reference

    I decided to post a simple working setup from my FreeBSD box to help others that were struggling to find a working system to learn from like I was. This isn't meant to be an end-all solution but rather a reference and learning opportunity and I would gladly accept help and suggestions on how to...
  3. hbsd

    Solved Can't connect to openvpn

    Hello everybody, I want to connect to a openvpn client with a .ovpn profile as follows: sudo openvpn ~/Downloads/openvpn_servers.ovpn I get the following messages and everything seems fine but openvpn does not work and I can't open the websites blocked by the government (There is no problem in...
  4. D-FENS

    VPN access with overlapping network addresses

    I use OpenVPN to log into a corporate network with a network IP range 10.0.0.0/8. This works when at home when my LAN's network address is 192.168.0.0/24. However, in an Internet Café the LAN network IP is also 10.0.0.0/8 and when I start the VPN the routes get overwritten and all packets are...
  5. W

    openvpn for FreeBSD

    Hi, Does anyone know if there's a openvpn package or port for FreeBSD? Thanks you, James Pedersen
  6. DrAngel

    Solved FreeBSD+OpenVPN+nat/fwd = not forward for WWW-server

    Good day everyone! Can't beat the following problem. Internet -> router (x.x.x.x/192.168.1.1) -> ASC server {FreeBSD12+ipfw/nat/fwd (192.168.1.12|If_Inet) + OpenVPN server (192.168.101.1|If_VPN)} -> ADM server {OpenVPN client (192.168.101.6|If_VPN) + FreeBSD12 www-server (Ip_WWW)} ->...
  7. B

    OpenVPN and resolvconf

    Hi guys, I am currently struggling with the name resolution while using openvpn. I'd like to use a different name server when starting for the interface tun0 after successfully starting my VPN connection. The tool resolvconf should handle the issue but I've trouble to setup a appropriate...
  8. Voltaire

    OpenVPN internet connection problem

    I used the default configuration file for Linux systems from ProtonVPN (for OpenVPN). I start OpenVPN once via the 'onestart' command, it then asks for the username and password. After this it connects, and it seems to connect correctly, but I have no internet and can't ping the google servers...
  9. neal

    Solved Openvpn fails on system upgraded to 13.0 (Static route failure on fib)

    I have just upgraded a server to 13.0 and now my vpn no longer works. It seems that I am no longer able to set a default route on fib 1 as the "Network is unreachable". I have the following in rc.conf, which used to work a treat, but no longer does: static_routes="vpn" route_vpn="default...
  10. T

    OpenVPN cannot ping after reconnect

    Hi, I'm wondering if anyone has encountered the problem I'm having. I have OpenVPN 2.5.1 server on FreeBSD 12.2 using UDP. Then I'm using Windows 10 client to connect to the server. Now, I connect to the openvpn. Everything works fine, I can ping/ssh/whatsoever. Then I disconnect the VPN and...
  11. C

    Openvpn only connects through root user

    Hi, I am new to freebsd. I have saved the VPN username and password in a file and set the ovpn file to use that file for authentication. My problem is that openvpn only runs through the root user without error. If I run it from a regular user, I get an authentication failure error like this...
  12. R

    How do I route all Jail traffic through OpenVPN on FIB1

    Hello FreeBSD users, this is my fist post, I'm still learning so please be gentle :) I am trying to setup a jail (using ioCage) so that all of its traffic goes through our VPN. I have already setup OpenVPN which connects to our VPN service without issue. However the I seem unable ? to...
  13. T

    PF OpenVPN: access to client subnet

    I run into difficulties configuring OpenVPN server and client. Here is my setup: OpenVPN server on FreeBSD 12 server.conf port 1194 proto tcp dev tun...
  14. Norbert Szczybelski

    FreeBSD bhyve VPS/Jail Hosting on single IP address.

    Good Evening. :) Are You Web Developer? Working in Computer Service? Got only one IP address? You can start your own hosting server that will expand your offer. Most of important things here are OpenVPN for Jail and bhyve SSH access and HAProxy for SNI extension based routing. Your...
  15. LSD

    Solved restarting network

    I am having trouble restarting network services. I made a very simple shell script (OpenVPN kill switch) that checks sockstat every 60 seconds to see if OpenVPN is running, if not, it runs the command `ifconfig ue0 down' (not tun0, the VPN device, but the ethernet connection). It works just...
  16. LSD

    openvpn tun/tap dev problem

    I am trying to connect to a VPN using OpenVPN on FreeBSD on a Raspberry pi. I run the command: $ openvpn vpn_server.ovpn It prompts for the username and password, looks like it is connecting but then gives an error (even if I try another vnp_server.ovpn file, that I know is working since I am...
  17. dch

    updating DNS servers in OpenVPN client session

    I've got a pretty standard desktop FreeBSD setup in my home office, with a DHCP IP & DNS. A couple of customers have OpenVPN setups to connect in with, and I need to amend my DNS servers accordingly during the session. At present I have a Small Shell Script(tm) that updates /etc/resolv.conf...
  18. M

    CWM Any CWM users here? Which status bar do you use & best way to show VPN info?

    I'm tempted to give vermaden's FreeBSD Desktop Series a try, but with x11-wm/cwm instead of x11-wm/openbox as windows manager. I thought about the necessity of a status bar, but I can't really imagine having none and if only for date/time and network info. Having done some reading sticking to...
  19. M

    Managing networks on a laptop

    I'm currently on Arch Linux and I'm interested in trying with FreeBSD with KDE Plasma (and likely bspwm as an alternative session) on my laptop again after quite some time, and I'm wondering what the way to go there is for managing networks, so easily connecting to and switching between public...
  20. G

    Solved Decentralized VPN? Is it possible? Can it be done with OpenVPN?

    Hello, I have many servers on many different locations. They are communicating between each other via Internet. However there's only one site that has OpenVPN server, the rest are clients. If this site is down then all of the clients lose connection between each other and the entire solution...
Back
Top