Hello everyone,
I've been battling with this setup for quite some time now, and I really need some guidance. Here’s my current setup:
However, I can’t seem to get any internet access on my LAN network. Here’s what I’ve tried:
If anyone could provide some insights, particularly on the correct DNS settings for both Proxmox and OPNsense, and advice on how to regain internet access for my LAN, I’d greatly appreciate it.
I've been battling with this setup for quite some time now, and I really need some guidance. Here’s my current setup:
- ISP Router: In Bridge mode, linked to my Proxmox machine on the enp4s0 interface, marked as WAN in OPNsense.
- Proxmox: Hosting OPNsense as a VM.
- OPNsense: Managing the LAN network on the enp2s0 interface.
- I've successfully set up a DHCP server and a subnet for my LAN (on enp2s0) with the LAN interface set to 10.0.0.1/12.
- All my locally connected devices are recognized perfectly, which is great.
However, I can’t seem to get any internet access on my LAN network. Here’s what I’ve tried:
- Unbound DNS configuration:
- I’ve experimented with different Unbound configurations. At one point, I managed to get it working, but the response times were incredibly slow, and I had to refresh websites multiple times to get them to load.
- I then tweaked some settings, and everything worked fine until I rebooted. After the restart, I lost all internet access again.
- Current problems:
- I’m unsure what DNS settings I should be using in Proxmox itself.
- I’m unclear on how to properly configure DNS in OPNsense, especially since I plan to add Pi-hole/AdGuard later on.
- Most critically, I’m completely stuck on how to restore internet access to my LAN network. I can't even ping 8.8.8.8 from my WAN interface anymore.
If anyone could provide some insights, particularly on the correct DNS settings for both Proxmox and OPNsense, and advice on how to regain internet access for my LAN, I’d greatly appreciate it.
Code:
root@gatekeeper:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr4 state UP group default qlen 1000
link/ether 64:62:66:22:9f:7b brd ff:ff:ff:ff:ff:ff
3: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr1 state UP group default qlen 1000
link/ether 64:62:66:22:9f:7c brd ff:ff:ff:ff:ff:ff
4: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master vmbr2 state DOWN group default qlen 1000
link/ether 64:62:66:22:9f:7d brd ff:ff:ff:ff:ff:ff
5: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP group default qlen 1000
link/ether 64:62:66:22:9f:7e brd ff:ff:ff:ff:ff:ff
6: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 64:62:66:22:9f:7e brd ff:ff:ff:ff:ff:ff
inet6 fdc2:7ec4:504d:6700:6662:66ff:fe22:9f7e/64 scope global dynamic mngtmpaddr
valid_lft 7198sec preferred_lft 3598sec
inet6 fe80::6662:66ff:fe22:9f7e/64 scope link
valid_lft forever preferred_lft forever
7: vmbr2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 64:62:66:22:9f:7d brd ff:ff:ff:ff:ff:ff
inet6 fe80::6662:66ff:fe22:9f7d/64 scope link
valid_lft forever preferred_lft forever
8: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 64:62:66:22:9f:7c brd ff:ff:ff:ff:ff:ff
inet6 fdc1:45d:d77:2c1d:6662:66ff:fe22:9f7c/64 scope global dynamic mngtmpaddr
valid_lft 1756sec preferred_lft 1756sec
inet6 fe80::6662:66ff:fe22:9f7c/64 scope link
valid_lft forever preferred_lft forever
9: vmbr4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 64:62:66:22:9f:7b brd ff:ff:ff:ff:ff:ff
inet 192.168.100.1/24 scope global vmbr4
valid_lft forever preferred_lft forever
inet6 fe80::6662:66ff:fe22:9f7b/64 scope link
valid_lft forever preferred_lft forever
root@gatekeeper:~# ping -I enp4s0 8.8.8.8
ping: Warning: source address might be selected on device other than: enp4s0
PING 8.8.8.8 (8.8.8.8) from 192.168.100.1 enp4s0: 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4115ms