NAT 1:1

Started by rl82, July 29, 2021, 03:35:23 PM

Previous topic - Next topic
Hello Everybody,

I was configuring a NAT 1:1 on gns3 environment.
I created a virtual ip, set the NAT Rule as screenshot shows, and a Firewall Rule.

The problem is one: From any Host of WAN, i am able ALSO to ping the internal ip address.  How is this possible?
thanks


Hi Rocco,

What is the subnet mask on your WAN side?

Can you do a packet trace and filter on 192.168.56.3 please?

Thanks,

Bart...

Hallo Bart,


thanks for your prompt reply.

This is the topology,

i will share the screenshot you asked for.

NAT 1:1 Configuration


OPNSense Logs - Live view


Is it just ping or can you also open other connections, like SSH to 192.168.56.3?

ICMP is more widely allowed than others and you may have a blanket rule somewhere for it.

Bart...

I have ICMP protocol allowed as shown in the screenshot

From 192.168.100.5 can you SSH to 192.168.100.10 please?

What about SSH from 192.168.100.5 to 192.168.56.3?


Hallo Bart, there is no address with 100.10
you mean 100.1 ?

Sorry, I missed a digit - 192.168.100.102 which is your 1:1 NAT external IP


Can you ssh from webterm1 to 192.168.56.3?