OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: vJoy on December 03, 2018, 09:22:18 am

Title: Port Forward two Web Server
Post by: vJoy on December 03, 2018, 09:22:18 am
I have Static Public IP in my router.
In my LAN i have 2 Servers .

1. 192.168.1.100/24
2. 192.168.1.101/24

both are using port 443. all my local client can access those server like "https://192.168.1.100" & "https://192.168.1.100"
I want to configure port forward so people can access them from internet.

What I did .. I forward port 8000 > 443 in my Router
then i configure port forward in firewall

Interface : WAN
TCP/IP Version: IPv4
Protocol : TCP
Destination : Any
Destination port range : 443
Redirect target IP : 192.168.1.100
Redirect target port : 443

Its Working Fine ..

If I repeat the same process for another server (Redirect target IP : 192.168.1.101), second server not working.. that 9000 port redirect to the first Server . I Need some help ... I think I missing something ... Before firewall i configure port forward in my Router.  forward port 192.168.1.100:443 > 8000, and 192.168.1.101:443 >9000. my user access form internet like 123.45.6.78:8000 & 123.45.6.78:9000 .