Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Multi WAN + Mikrotik

    NAT
    1
    1
    196
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      karlpox last edited by

      Hi,

      good day everyone! Just wanted a quick help with port forwarding on my pfsense. This is my setup

      Main Network: 192.168.0.0/24
      WAN1: 192.168.1.0/24 (modem/router combo) (IP: 192.168.1.2)
      WAN2:192.168.254.0/24 (modem/router combo) (IP: 192.168.254.2)

      LAN1: 192.168.0.0/24 (IP: 192.168.0.4)
      LAN2: 192.168.11.0/24 (WAN1 failover to WAN2) (IP: 192.168.11.1)
      LAN3: 192.168.12.0/24 (WAN2 failover to WAN1) (IP: 192.168.12.1)
      LAN4: 192.168.13.0/24 (WAN1 & WAN2 Load Balance) (IP: 192.168.13.1)

      Mikrotik: 192.168.0.1
      WAN1: 192.168.11.2
      WAN2: 192.168.12.2
      WAN3: 192.168.13.2

      Server IP: 192.168.0.10

      What I really wanted to do is access my port 80 online. This is what I did, and its not working right now.

      From WAN1 & WAN2 (modem/router combo) Port forward public port 80 to:
      WAN1: 192.168.1.2 private port 80
      WAN2: 192.168.254.2 private port 80

      FROM Pfsense Port forward (firewall -> Nat)
      Interface: WAN1
      Protocol: TCP/UDP
      Destination Type: WAN_Address
      Destination Port: HTTP
      Redirect Target IP:192.168.11.2
      Redirect Target port: HTTP

      Interface: WAN2
      Protocol: TCP/UDP
      Destination Type: WAN2_Address
      Destination Port: HTTP
      Redirect Target IP:192.168.12.2
      Redirect Target port: HTTP

      Then from the mikrotik. I port forwarded:
      192.168.11.2:80 to 192.168.0.10:180
      192.168.12.2:80 to 192.168.0.10:180

      Is there an easier way of doing this? I think its complicated for me because there are 3 routers running. If I port forward WAN1 port 80 to itself I can see the web gui when accessing the public IP.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post