DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th March 2025
unicorn unicorn is offline
Fdisk Soldier
 
Join Date: Apr 2020
Posts: 60
Default How to use OpenVPN?

I have an VPN, I get an ip address and HTTP/SOCKETS5 proxyport number. How to configure it so I can use it with OpenBSD? thanx

Last edited by unicorn; 20th March 2025 at 04:05 AM.
Reply With Quote
  #2   (View Single Post)  
Old 17th March 2025
jmccue jmccue is offline
Real Name: John McCue
Package Pilot
 
Join Date: Aug 2012
Location: here
Posts: 201
Default

I was able to use openvpn on OpenBSD before all the recent network changes. From my old notes I needed dhclient(8) file with this statement:

Code:
supersede domain-name-servers <serverIP>;
Pus a hostname.tun0 file with this statement:

Code:
up
!/usr/local/sbin/openvpn --daemon --config YOUR-CONFIG-FILE
Maybe that still works, I no longer use openvpn.

But a lot of network changes happened in OpenBSD since then, so I do not know if the above will work on OpenBSD. In fact I doubt it will work, but it may help you to figure out what to do.
__________________
[t]csh(1) - "An elegant shell, for a more... civilized age."
- Paraphrasing Star Wars (tvtropes.org)
Reply With Quote
  #3   (View Single Post)  
Old 17th March 2025
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,100
Default

The dhclient(8) facility was replaced by dhcpleased(8). The newer utility was introduced with release 6.9, and dhclient(8) was later removed, only after several releases as a nonfunctional placeholder.
Reply With Quote
  #4   (View Single Post)  
Old 20th March 2025
unicorn unicorn is offline
Fdisk Soldier
 
Join Date: Apr 2020
Posts: 60
Default

I'm sorry I don't understand that. Any commands?
Reply With Quote
  #5   (View Single Post)  
Old 20th March 2025
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,100
Default

You can provision dhcpleased to ignore domain name server assignments included with leases. The syntax is described in the dhcpleased.conf(5) man page, from which you might devise something like:
Code:
interface <int> { ignore dns <server> }
Please review the man page for details. Please note, this is an example to match jmccue's dhclient.conf provisioning -- I have no knowledge of OpenVPN and its requirements.
Reply With Quote
  #6   (View Single Post)  
Old 3 Weeks Ago
unicorn unicorn is offline
Fdisk Soldier
 
Join Date: Apr 2020
Posts: 60
Default

I installed an Firefox extension FoxyProxy and I can browse Youtube now!

Last edited by unicorn; 3 Weeks Ago at 06:58 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN Provider (OpenVPN) Peter_APIIT OpenBSD Security 3 8th September 2015 06:03 PM
OpenVPN on OpenBSD 5.1 scrummie02 OpenBSD Security 6 1st October 2012 04:46 PM
Does pf conflict with OpenVPN? Emile OpenBSD Packages and Ports 37 2nd February 2011 11:03 PM
OpenVPN BSD_Auth There0 OpenBSD Installation and Upgrading 0 8th May 2010 09:53 AM
Cannot set up OpenVPN guitarscn OpenBSD Security 8 5th October 2009 05:19 PM


All times are GMT. The time now is 02:55 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick