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

    NAT in vmware not working.. access to mgmt works

    Scheduled Pinned Locked Moved NAT
    1 Posts 1 Posters 226 Views 1 Watching
    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.
    • E Offline
      edvrfn
      last edited by edvrfn

      I am trying to access a web application behind firewall that is setup in vmware workstation and NAT is not working.
      Is there any thing wrong with this config. why NAT is not working and i don't see port 5600 open in scan.

      Vmware info
      WAN > NAT(vmware) > PFsense IP (192.168.40.134/24)
      LAN > HOST(vmware) > Pfsense IP (192.168.1.1/24)
      CENTOS > HOST (vmware) > IP 192.168.1.102/24

      NAT
      WAN> TCP/UDP > Source addr/Port (Any/Any) > Dest Addr/port (WAN Address/5600) >TArget IP/port (192.168.1.102/5600) > automatic rule creation

      Extra Firewall Rule for Web mgmt from outside WAN,, this however works
      TCP/443 > Source addr/Port (Any/Any) > Destination (Wan Address)

      pcap, traffic hitting external WAN IP of pfsense
      20:57:41.263643 IP 192.168.40.1.25955 > 192.168.40.134.5600: tcp 0
      20:57:41.515128 IP 192.168.40.1.25956 > 192.168.40.134.5600: tcp 0
      20:57:42.264873 IP 192.168.40.1.25955 > 192.168.40.134.5600: tcp 0
      20:57:42.514419 IP 192.168.40.1.25956 > 192.168.40.134.5600: tcp 0

      nmap scan shows only 1 port on WAN
      PORT STATE SERVICE VERSION

      443/tcp open ssl/http nginx

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.