OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Port Redirection with 2 links
« previous next »
  • Print
Pages: [1]

Author Topic: Port Redirection with 2 links  (Read 3553 times)

jorgevisentini

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 5
    • View Profile
Port Redirection with 2 links
« on: February 10, 2017, 08:07:15 pm »
Hello everyone!

I'm having a problem doing port redirection.

I have 2 links, each with its gateway (WAN - GWWAN / WAN2 - GWWAN2).

For example, using WAN, when I make a target so that when a packet hits port 5555 of the WAN, it is routing to the IP 172.16.100.10 on port 22. That works fine there. I am using the Filter rule association = Add associated filter rule option.

When I create the same rule, but using WAN2, it does not work. Only works when Filter rule association = Passed

Note: The default gateway is GWWAN.

Below are the rules.

Code: [Select]
Firewall: NAT: Port Forward

If Proto Address Ports Address Ports IP Ports Description
WAN TCP * * This Firewall 5555 172.16.100.10 22 (SSH)
WAN2 TCP * * This Firewall 5555 172.16.100.10 22 (SSH)


Firewall: Rules

Tab WAN
Proto Source Port Destination Port Gateway Schedule Description
IPv4 TCP * * 172.16.100.10 22 (SSH) * NAT


Tab WAN2
Proto Source Port Destination Port Gateway Schedule Description
IPv4 TCP * * 172.16.100.10 22 (SSH) * NAT


Am I doing it wrong or having a problem?

Thank you all!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Port Redirection with 2 links
 

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