Hello,
I have a problem with config port forwarding this address https://example.com:9152. It is a server that running in LAN using https for connection and 9152 is port that define interface for configuration the application server via borwser.
I create rules in the firewall and in the NAT for 443 to the server but not working, If I check logs there is that I try connect to the ip:443 missing the 9152
Do you have any advice how to config or is it not possible?
add action=dst-nat chain=dstnat comment="Port translation (or any other comment)" dst-address-list=[fill in the public IP address] dst-port=443 log=yes protocol=tcp to-addresses=[fill in the private IP address] to-ports 9152
Thank you for reply. But problem is that I need redirect from https://example.com:9152 to https://192.168.0.20:9152. If I do what you supposed I have still same problem, in the log I´ve seen my_public:6355->lan_ip:9152
Lets say you have Server on your lan 192.168.0.20 and the server expects traffic on port 9152
So why the heck are you discussing ports 443 and showing a port on a log for 6335???
Also are you wanting EXTERNAL users only to connect to the server OR also LAN users.
If there are LAN users, then are they accessing the server via the LANIP or by the WANIP (loopback).
I do not understand how a user is going to connect to the server on port 443 and then magically get to port 9152??