OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Problem with NAT
« previous next »
  • Print
Pages: [1]

Author Topic: Problem with NAT  (Read 2502 times)

ZLoBNbIY

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Problem with NAT
« on: June 02, 2017, 11:57:05 am »
Hello everyone, we had to do NAT but why nothing works. I made a rule, I registered ports, but why does not it work. I use Internet connection type VLAN (OPT1). It seems that everything is set up correctly but does not work, can that tell?
Logged

ZLoBNbIY

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Problem with NAT
« Reply #1 on: June 02, 2017, 12:16:52 pm »
But the logs Firewall on this moment
Logged

djGrrr

  • Full Member
  • ***
  • Posts: 112
  • Karma: 22
    • View Profile
Re: Problem with NAT
« Reply #2 on: June 04, 2017, 04:14:35 pm »
You must set a destination address (generally WAN Address) and destination port
« Last Edit: June 05, 2017, 06:40:40 am by djGrrr »
Logged

CloudHoppingFlowerChild

  • Newbie
  • *
  • Posts: 24
  • Karma: 3
    • View Profile
Re: Problem with NAT
« Reply #3 on: June 04, 2017, 07:17:34 pm »
nevermind.
« Last Edit: June 04, 2017, 07:54:23 pm by CloudHoppingFlowerChild »
Logged

ZLoBNbIY

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Problem with NAT
« Reply #4 on: June 05, 2017, 01:07:32 pm »
The problem is still relevant
Logged

djGrrr

  • Full Member
  • ***
  • Posts: 112
  • Karma: 22
    • View Profile
Re: Problem with NAT
« Reply #5 on: June 05, 2017, 03:21:14 pm »
Did you set the destination address to OPT1 address?
Logged

ZLoBNbIY

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Problem with NAT
« Reply #6 on: June 05, 2017, 04:25:33 pm »
Yes, I tried and put the OPT1 address and just any-all is useless
Logged

hutiucip

  • Sr. Member
  • ****
  • Posts: 283
  • Karma: 47
    • View Profile
Re: Problem with NAT
« Reply #7 on: June 09, 2017, 11:48:53 am »
For NAT the interface is (must be) WAN, not LAN or OPT1.

There is no NAT in between internal interfaces, only route. By default!

The NAT is always from external (public) IP and interface (a WAN, particularly) to an internal (private) IP and interface (a LAN, particularly).

NAT is (almost) always listening on WAN (very few exceptions, and particular cases when is not like this), so change the interface in the NAT rule(s)
« Last Edit: June 09, 2017, 12:20:27 pm by hutiucip »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Problem with NAT
 

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