Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - tdubbed

#1
Okay, side note. My Ubuntu VM no longer gets an IP address from the virtual bridge. Is that part broken for good? It's fine if it is, but am I able to use the bridge as well as pass-through? Is that what a VLAN can accomplish?

Right now, the Ubuntu VM is attached to the vmbr0 obtaining DHCP from my home LAN network.

Thanks again!
#2
HOLY CRAP IT'S WORKING!!!!!! THANK YOU SO MUCH!!!!

My Windows laptop has an IP address from the subnet I require!

YEASSSSSSSSSSSSSSSSSSS!!!! You've saved the day, Mr. Monster. You deserve all the cookies you can handle. 5 days of poking at this!!

#3
Note to self: DO NOT PASS-THROUGH THE WRONG NIC.

LOL.

I immediately lost contact with my Proxmox server. I figured out how to rectify thanks to other people who suffered the same fate. Proxmox is back up, and I'll pass the CORRECT NIC now!
#4
Quote from: cookiemonster on March 22, 2024, 01:54:18 PM
Quote from: tdubbed on March 22, 2024, 01:31:40 PM
Quote from: cookiemonster on March 21, 2024, 11:33:19 PM
Do you want to use virtual nics on your OPN Virtual Machine or do you want to pass them through if you can?

I have a Cisco managed switch that I would like to connect to the second physical NIC. I'm not sure if that answers your question or not. Apologies! I'm trying to wrap my head around all of this..  8)
That is the physical connection, that is fine. What I mean is that in Proxmox and by that linked tutorial, the VM is given a virtual interface that maps to the physical device. Another option is to "pass through" the device, which means there is no virtual nic created.
Depending on which way, the setup varies in that there is no linux bridge to create in Proxmox.

Okay, this makes sense a little! If I "pass through" the device, does that affect any other VM as far as networking goes? I would probably prefer to pass through. At least, it seems more straight-forward... Thanks!
#5
Quote from: cookiemonster on March 21, 2024, 11:33:19 PM
Do you want to use virtual nics on your OPN Virtual Machine or do you want to pass them through if you can?

I have a Cisco managed switch that I would like to connect to the second physical NIC. I'm not sure if that answers your question or not. Apologies! I'm trying to wrap my head around all of this..  8)

Quote
Also you don't need to set Firewall=1 to those interfaces unless you plan on having two firewalls in place. Makes it more complicated. I suggest you don't when you start learning the concepts.

Okay, great! I will remove that.

Quote
Additionally you seem to have a VLAN tag set on one of those interfaces. Perfectly doable but it requires that you manage your VLANs outside OPN, so it requires another device to route the traffic between a managed switch and the rest of your infra, including OPN.

Okay, this makes sense! I will play around with removing the VLAN in Proxmox and see what that does.

Thank you for giving me some food for thought! This REALLY helps!
#6
Quote from: dev4openid on March 21, 2024, 01:08:58 PM
Hi,

consider following this https://kb.protectli.com/kb/opnsense-on-proxmox-ve/

In addition, do NOT unless you are doing a lab, run this combo (Proxmox and OPNSense) in a production or home network. Place OPNSense on metal. There is strong advice to not do this.  Your call but understand the risks.

Cheers.

I appreciate the help! I have gone through this document, and everything is set up correctly as far as I can tell. This is NOT for production or home network. I will certainly use bare metal when the time comes.

As far as what I'm seeing, here is an image that explains what I'm seeing in detail. A Windows laptop is plugged into NIC #2, but I get APIPA address, "Unidentified Network". VM details for NICS are below that.

Got any ideas? Thank you!



#7
Oops!
#8
The title of this posting confuses me, but this is the best I can do. I've tried searching this topic for days with varying degrees of success...

I have a Proxmox environment set up on bare metal on my server, and I have an OPNsense VM. Currently, OPNsense is configured correctly, and VIRTUAL hosts behind it can ping and have internet.

I have 2 physical NICs in my server. Since the first NIC accepts incoming traffic and forwards to VMs, I need to find a way to have traffic exit the second PHYSICAL NIC so I can attach my managed switch and give IP addresses to hosts attached to it.

I may have some more configuration to do in Proxmox, but assuming I don't, what factors do I have to consider when it comes to OPNSense? Firewall rules? Currently, plugging a computer into the second NIC gives an "Unidentified Network" message and an APIPA address.

I'm slowly crawling my way to solution after solution, and I'm learning along the way.

I appreciate anyone's assistance ahead of time.

Thank you!
#9
OKAY! Not sure what I did... besides poke, break, restore, break, poke, restore... Anyway, I can ping in all directions!

Thanks for your help, Patrick, and for letting me document for my own benefit!

Until next time...  :) ;) :o 8)
#10
Okay, I'm getting somewhere. I made a WAN firewall rule to allow ICMP. I can now ping the WAN side of my OPNsense VM (my internal ATT DHCP IP address).

Working on pinging the LAN interface...
#11
Okay, edit: I broke the Ubuntu VM somehow. I restored it from a snapshot, and now I have Internet.

I AM still able to reach the OPNsense VM through the Ubuntu guest with ping and through the web interface.

I CANNOT ping any host/the gateway on the 192.168.1.x network and vice versa.

Here's an image with some more information. Perhaps you can glean some more from this. I appreciate you!


#12
LAN (vtnet1) -> v4: 192.168.101.254/24
WAN (vtnet2) -> v4/DHCP4: 192.168.1.127/24
#13
Hello, I'm new here, and my networking chops are still being developed... please excuse my ineptitude. :)

I set up a Proxmox server for my home lab so I can practice configuring firewalls/switches. I have a VM of OPNsense configured, along with an Ububtu VM.

So I have two routers now. My ATT BGW320 and my OPNsense VM. The OPNsense VM is connected to the ATT BGW320, and it has a valid IP address.

My Ubuntu VM has internet, and I can ping my OPNSense VM. The OPNsense VM can also ping the Ubuntu VM.

1) My OPNsense VM cannot ping its own WAN interface (IP address from ATT BGW320) or my home's default gateway (ATT BGW320).

2) I am unable to ping the OPNsense WAN or LAN address, nor can I ping my Ubuntu VM, from devices on my home's LAN.

3) I have created a firewall rule and a static route, but I am missing something.

I want to be careful what information I share, so I'm leery to provide actual private IP addresses. If this is an unfounded fear, please let me know, and I will post more specifics. I am under the impression that I can share any of my private IP configurations with the public. Is this the case?

Thank you!