OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: syukie on January 18, 2023, 04:35:34 am

Title: Port Forwarding get client real public IP
Post by: syukie on January 18, 2023, 04:35:34 am
Hi all,

I'm new user in opnsense, just want to know why the port forwarding didn't get client real public IP? in my apps log only capture the opnsense local gateway IP.

anyone know how to get real client ip on nat forwading settings?

last time i use mikrotik is no setting as long as my default gateway is the mikrotik local gateway

my NAT setting
(https://yourimageshare.com/ib/RNnaNP1R1O)

but in zimbra logm i get gateway IP
(https://yourimageshare.com/ib/vyzA1W6h98)

thanks
Syukie

Title: Re: Port Forwarding get client real public IP
Post by: tong2x on January 18, 2023, 05:16:05 am
goto
Interfaces->overview-> select the interface, you will see the assigned IP
Title: Re: Port Forwarding get client real public IP
Post by: syukie on January 18, 2023, 05:40:19 am
Thanks Tong2x, but i mean how to capture client real public ip, cause my apps log every connection is my gateway IP address, in my example my zimbra IP 192.168.18.118 my gateway(opnsense) 192.168.18.8, so every connection from outside is not outside client public IP, my zimbra always get my gateway ip