Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Routed Network can access LAN but not internet.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Routed Network can access LAN but not internet. (Read 1656 times)
exee
Newbie
Posts: 2
Karma: 0
Routed Network can access LAN but not internet.
«
on:
January 14, 2021, 09:53:16 pm »
Please forgive me as I am very new to all this but I recently took the plunge into Opnsense and am loving it so far. I have managed to get everything setup as I want except the routing to my VM.
I have a Windows 10 VM on a linux host using Virt-manager / KVM. I have a virtual routed network on the host to connect to the VM. On my old router (Gargoyle / OpenWRT) once the route was defined access to the LAN and internet worked. With Opnsense I must be missing a step somewhere. I have defined the route, I have setup the host as a gateway. After that I was able to ping the LAN from insdie the VM and ping the VM from the host. I am able to access my DNS server (also on the LAN with the host). Samba works from the VM to the host. But for the life of me I cannot access the internet from the VM. I tried adding a WAN rule (Source = VM network and Destination WAN address), but that did not change anything. What am I missing? How do I get the routed network access to the internet?
Thank so much.
Logged
bartjsmit
Hero Member
Posts: 2016
Karma: 194
Re: Routed Network can access LAN but not internet.
«
Reply #1 on:
January 15, 2021, 08:23:05 am »
Can you NAT the client connection on the Linux host?
Bart...
Logged
exee
Newbie
Posts: 2
Karma: 0
Re: Routed Network can access LAN but not internet.
«
Reply #2 on:
January 16, 2021, 03:47:46 pm »
Thanks for the reply. The default KVM NAT virtual network worked as expected with a static route defined in Opnsense. On my old setup using OpenWRT a KVM Routed virtual network was required with a static route defined. Digging through the KVM documentation I have not quite figured out why yet, but I have managed the basic functionality I want to be able to control.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Routed Network can access LAN but not internet.