Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
UNABLE TO LOG IN TO OPNSENSE FROM LINUX
« previous
next »
Print
Pages: [
1
]
Author
Topic: UNABLE TO LOG IN TO OPNSENSE FROM LINUX (Read 1540 times)
NerdHunter
Newbie
Posts: 12
Karma: 0
UNABLE TO LOG IN TO OPNSENSE FROM LINUX
«
on:
January 04, 2023, 11:54:48 am »
Hello everyone ! Im new here.. and new on OPNsense.
I type 192.168.1.66 into my browser on Kali and it just says "This site cannot be reached" I tried lot of stuff but nothing works...
I have tried with different browsers and still the same issue. I installed kali on VM virtual Box and OPNSENSE too.
Is there anyone who can help me please ?
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: UNABLE TO LOG IN TO OPNSENSE FROM LINUX
«
Reply #1 on:
January 04, 2023, 12:00:11 pm »
If both VMs in Virtualbox, probably you need to revise the network types for each VM. The documentation from Virtualbox explains what type of connectivity and isolation is achieved with each type of network on the settings of the VMs.
Logged
NerdHunter
Newbie
Posts: 12
Karma: 0
Re: UNABLE TO LOG IN TO OPNSENSE FROM LINUX
«
Reply #2 on:
January 05, 2023, 09:31:51 am »
dear coockiemonster,
I set a neetwork bridge for linux and two for opnsense ( nat and internal )....
what do u think about it..?
Logged
Vilhonator
Full Member
Posts: 245
Karma: 13
Re: UNABLE TO LOG IN TO OPNSENSE FROM LINUX
«
Reply #3 on:
January 05, 2023, 10:32:26 am »
If you use default values of OpnSense, then LAN IP is 192.168.1.1 which you need to use to connect to the firewall.
Any interface other than LAN, will not be able to connect to firewall using it's WAN IP, also you have to add the IPv4 default rule from ---> Firewall ---> Rules ---> LAN to any interface your Linux is connected to.
All firewall rules are interface specific (at least for my understanding), so having IP on same network isn't going to work, if interface client is connected to doesn't have rules which allows that specific type of access
Logged
Patrick M. Hausen
Hero Member
Posts: 6801
Karma: 571
Re: UNABLE TO LOG IN TO OPNSENSE FROM LINUX
«
Reply #4 on:
January 05, 2023, 10:44:00 am »
Plus, in Virtualbox VMs cannot communicate with each other or the host in the NAT network. VMware Workstation/Fusion do this far better. In VB you must create a host-only network for that.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: UNABLE TO LOG IN TO OPNSENSE FROM LINUX
«
Reply #5 on:
January 05, 2023, 10:55:18 am »
Exactly. Host-only.
Logged
NerdHunter
Newbie
Posts: 12
Karma: 0
Re: UNABLE TO LOG IN TO OPNSENSE FROM LINUX
«
Reply #6 on:
January 05, 2023, 11:14:25 am »
I guess I will have to modify manually the kali net to in order to have the same for the subnet opnsense...
what do u think about it ? but im not able to.!
Logged
Vilhonator
Full Member
Posts: 245
Karma: 13
Re: UNABLE TO LOG IN TO OPNSENSE FROM LINUX
«
Reply #7 on:
January 05, 2023, 01:31:12 pm »
Not sure if VB has this (nor would it work), but you can try MAC spoofing (cloning of MAC addresses). If VB supports it, you can type MAC address of network interface of any computer which can access your firewall, then DHCP would give your Virtual Machine the IP of a computer which network card MAC you cloned.
Another option which could work (if you are using windows 11 as host machine) is to enable Windows subsystem for Linux and then, you can install KALI for free directly to your windows machine from Microsoft Store
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: UNABLE TO LOG IN TO OPNSENSE FROM LINUX
«
Reply #8 on:
January 05, 2023, 02:06:49 pm »
Yes, Virtuabox has an freetext field for mac address with a prepopulated mac that can be changed.
But he'd still have the same problem, as this is about network stack in the hypervisor rather than the what ip the vms get.
Logged
NerdHunter
Newbie
Posts: 12
Karma: 0
Re: UNABLE TO LOG IN TO OPNSENSE FROM LINUX
«
Reply #9 on:
January 07, 2023, 03:01:32 pm »
thanks guys , it seems I resolved.
But i have an other problem, i will open an other discussion.
Thanks to every one.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
UNABLE TO LOG IN TO OPNSENSE FROM LINUX