OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • NAT issues
« previous next »
  • Print
Pages: [1]

Author Topic: NAT issues  (Read 2990 times)

assasen11

  • Newbie
  • *
  • Posts: 15
  • Karma: 1
    • View Profile
NAT issues
« on: March 27, 2019, 05:23:27 pm »
I am losing my mind over an issue that I have no idea why it is happening. I am creating accurate NAT rules and the ports are just not opening at all. Am I missing something? I saw a post not too long ago related to outbound routes but I did not entirely understand what it was suggesting I needed to fix or change. I am running the newest version of Opnsense. Does anyone know how to fix this?

-Thanks ahead of time
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: NAT issues
« Reply #1 on: March 27, 2019, 05:45:44 pm »
A NAT rule is not enough to allow the traffic. It only rewrites the address field of the packets.

Ensure you have a corresponding firewall rule on the WAN interface with the internal host as the destination.

Bart...
Logged

assasen11

  • Newbie
  • *
  • Posts: 15
  • Karma: 1
    • View Profile
Re: NAT issues
« Reply #2 on: March 27, 2019, 06:49:50 pm »
Quote from: bartjsmit on March 27, 2019, 05:45:44 pm
A NAT rule is not enough to allow the traffic. It only rewrites the address field of the packets.

Ensure you have a corresponding firewall rule on the WAN interface with the internal host as the destination.

Bart...

I have been auto generating the rules. I went ahead and checked to confirm there was a corresponding rule for the WAN interface to allow the traffic.
Logged

walkerx

  • Full Member
  • ***
  • Posts: 103
  • Karma: 4
    • View Profile
Re: NAT issues
« Reply #3 on: March 28, 2019, 10:38:48 am »
what are you wanting through the firewall for nat rules?

Logged

assasen11

  • Newbie
  • *
  • Posts: 15
  • Karma: 1
    • View Profile
Re: NAT issues
« Reply #4 on: March 28, 2019, 08:12:22 pm »
At this moment I am trying to do a straight port 443 pass through directly to a host. So if traffic hits the specific static WAN address then it forwards port 443 to the LAN host.
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: NAT issues
« Reply #5 on: March 28, 2019, 09:12:47 pm »
Did you put in a 1:1 NAT for it? These settings work for me:

Interface: WAN
Type: BINAT
External Network: <static WAN IP>
Source: Single Host or Network, <internal IP>/32
Destination: any

Allow 443 TCP to the internal IP in the WAN firewall rules

Bart...
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • NAT issues
 

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