|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Virtual Machine
At this moment I am installing OpenBSD 6.5 in a VM on OpenBSD 6.4-stable. Just followed the directions in https://www.openbsd.org/faq/faq16.html
I was using bsd.rd only to boot the VM with. Initially the install program could not download the installation file sets because I forgot 2 things which are clearly described under :Option 2 - NAT for the VMs:
In the mean time that I write this the sets have been downloaded and installed .... Code:
Get/Verify SHA256.sig 100% |**************************| 2141 00:00 Signature Verified Get/Verify bsd 100% |**************************| 15163 KB 00:38 Get/Verify bsd.rd 100% |**************************| 9984 KB 00:30 Get/Verify base65.tgz 100% |**************************| 190 MB 10:34 Get/Verify comp65.tgz 100% |**************************| 71916 KB 02:53 Get/Verify man65.tgz 100% |**************************| 7385 KB 00:17 Installing bsd 100% |**************************| 15163 KB 00:00 Installing bsd.rd 100% |**************************| 9984 KB 00:00 Installing base65.tgz 100% |**************************| 190 MB 00:30 Extracting etc.tgz 100% |**************************| 260 KB 00:00 Installing comp65.tgz 100% |**************************| 71916 KB 00:33 Installing man65.tgz 100% |**************************| 7385 KB 00:03 Location of sets? (disk http or 'done') [done]
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
Quote:
I have Arch & Debian VM's running that ask Quad9 for addresses and they work without that line (and connect with systemd-networkd, which is amusing).
__________________
Are you infected with Wetiko? |
|
|||
In my VM I have:
Code:
vm_j65# cat /etc/resolv.conf # Generated by vio0 dhclient nameserver 100.64.1.2 lookup file bind Code:
vm_j65# dig www.google.com ; <<>> DiG 9.4.2-P2 <<>> www.google.com ;; global options: printcmd ;; connection timed out; no servers could be reached Code:
vm_j65# dig www.google.com @8.8.8.8 ; <<>> DiG 9.4.2-P2 <<>> www.google.com @8.8.8.8 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10672 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.google.com. IN A ;; ANSWER SECTION: www.google.com. 6 IN A 172.217.168.228 ;; Query time: 10 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Tue May 7 22:47:59 2019 ;; MSG SIZE rcvd: 48 You may not need it because, I assume, you speifically configured your VMs to use the Quad9 name servers instead of the default OpenBSD VM on 100.64.1.2 that I have.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
Quote:
But why not just configure your VM to use 8.8.8.8 directly? Code:
# /etc/dhclient.conf supersede domain-name-servers 8.8.8.8;
__________________
Are you infected with Wetiko? |
|
|||
This was my first attempt to run an OpenBSD VM. And I told it to boot the 6.5 bsd.rd installer. Because the install got stuck at downloading the installation file sets, exactly following the FAQ's suggestion to modify the firewall rules seemed to be the fastest was to get the install going again ;-)
Code:
# vmctl start "OpenBSD_65" -b /home/adriaan/Downloads/bsd.rd \ -m 1G -L -c -i1--d//home2/vm_disk
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
Code:
# route domain requests from virtual machines to rebound(8) pass in log proto { udp, tcp} from 100.64.0.0/10 to (self) port domain \ rdr-to localhost
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
KVM Virtual Machine network configuration | J65nko | Other BSD and UNIX/UNIX-like | 3 | 2nd December 2014 06:00 AM |
Networking on virtual machine | satimis | General software and network | 4 | 29th November 2008 02:16 PM |
USB support in virtual machine? | Sunnz | OpenBSD Packages and Ports | 2 | 16th November 2008 04:00 AM |
highly secure virtual machine | uptonm | OpenBSD Security | 26 | 28th July 2008 10:10 PM |
Extract ISO under OpenVZ virtual machine | stukov | Other BSD and UNIX/UNIX-like | 1 | 14th May 2008 09:46 PM |