1
20.7 Legacy Series / Re: Lan dhcp ips firewall rule ?
« on: September 28, 2020, 07:32:02 am »
i am running opnsense as a virtual machine in proxmox
i have a additional ip 148.***.***.158 for WAN
and i have a subnet 136.***.***.224/29 for LAN
both are configured as static
the LAN ip is using the first ip of the subnet 136.***.***.224
so i am accesisng the gui using 136.***.***.224 on LAN
then i have enabled DHCP on LAN
with start 136.***.***.225 to end 136.***.***.230
so when i create a ubuntu desktop virtual machine i can obtain an ip from opnsense
and i can browse the web with the obtained ip inside ubuntu virtual machine
but the ubuntu cant be pinged from outside because firewall blocks it unless i disable the firewall
so there should be some rule to setup but i tried so many rules and nothing helped
i have a additional ip 148.***.***.158 for WAN
and i have a subnet 136.***.***.224/29 for LAN
both are configured as static
the LAN ip is using the first ip of the subnet 136.***.***.224
so i am accesisng the gui using 136.***.***.224 on LAN
then i have enabled DHCP on LAN
with start 136.***.***.225 to end 136.***.***.230
so when i create a ubuntu desktop virtual machine i can obtain an ip from opnsense
and i can browse the web with the obtained ip inside ubuntu virtual machine
but the ubuntu cant be pinged from outside because firewall blocks it unless i disable the firewall
so there should be some rule to setup but i tried so many rules and nothing helped