OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of vJoy »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

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.

  • Messages
  • Topics
  • Attachments

Messages - vJoy

Pages: [1]
1
18.7 Legacy Series / Port Forward two Web Server
« 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 .

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2