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 - Cossack

#1
I tested a different setup, using actual hardware, everything working as intended.

Maybe it is a bug of virtual environment and my home network. I used bridged adapter, maybe that was the cause.

Still thank you for your replies.
#2
Close, but not exactly. Thank you for looking into this.

You see host 192.168.8.98? That is the place where I want to connect using SSH to VM with IP 192.168.51.10

Quote
- On OPNSense: Your OPNsense is not on a public IPv4 -> Make sure all "Block private networks" are unchecked on all (including WAN) interfaces. [Interfaces > Respective Interface settings]

This is done already.

Quote
- On OPNSense: Allow incoming traffic on WAN to OPT1 for port 22 (IP, TCP) or define the rule according to your needs.

can you please elaborate, how would rule configuration would look like?

Also, I tried setting up ICMP, but it did not work on WAN despite my best attempts...
#3
Thank you for your reply. I will try to provide a picture instead, because not sure how that I can use.

So, I am using VirtualBox on my PC

Goal: Set up network with connected switch to OPNsense and test if NAT is working to reach virtual machine connected to switch using SSH

I have set up three Virtual machines:
OPNsense
MikroTik
RockyLinux

Please see the picture.

Now, RockyLinux has access to Internet running this topology, but I want to enable NAT to RockyLinux VM on OPNsense, to test how it works. From my current experience, WAN port, what ever things I allow, it does not take effect.
#4
Hello everyone,

For three days straight, I am trying to resolve one issue.

I have set up a test environment on my PC using VirtualBox.

There is OPNsense firewall, with three interfaces:
WAN - bridged with my PC network card
LAN - Host only network, so I can manage OPNsense
OPT1 - generic interface connected to MikroTik virtual machine

MikroTik virtual machine has three interfaces:
Two are internal and one host only for management

And one virtual machine connected to MikroTik.

Now, this VM that is behind the infrastructure can reach public domain, ping google.com etc and has Internet access.

I am trying to setup a NAT, so I can using firewall public IP reach the VM using SSH. Public IP in this case is my router issued internal IP...

But its not working!!! And rules, to enable ICMP, does not work!!! I am slowly getting insane here. Any help would be very appreciated...