OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [SOLVED] Outbound NAT not working?
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Outbound NAT not working?  (Read 4035 times)

labsy

  • Newbie
  • *
  • Posts: 40
  • Karma: 0
    • View Profile
[SOLVED] Outbound NAT not working?
« on: May 23, 2017, 01:39:17 am »
Hi,

I have been struggling with setting up OUTBOUND traffic binding to different WAN IP aliases.
I own /28 subnet of Public IP addresses, which are all configured as VIRTUAL IPs on WAN adapter.

Now, I want to configure which LAN server or LAN subnet will use specific WAN IP alias for outgoing traffic. But without success. I've tried a lot, no results:
- Tried with OUTBOUND NAT, but no joy
- Created additional GATEWAYS for each WAN IP
- Created FLOATING firewall rule to use one of those gateways for OUT traffic....but no success
- followed some of this document, but no joy either: https://docs.opnsense.org/manual/how-tos/multiwan.html?highlight=multi%20wan#step-4-policy-based-routing

Any idea what am I missing?
« Last Edit: June 02, 2017, 12:55:14 am by labsy »
Logged

labsy

  • Newbie
  • *
  • Posts: 40
  • Karma: 0
    • View Profile
Re: Direct outbound traffic through different WAN IP aliases
« Reply #1 on: May 29, 2017, 07:57:09 pm »
Need to bump this, as properly setting up the outgoing WAN IP is essential for my mail server functionality.
Logged

labsy

  • Newbie
  • *
  • Posts: 40
  • Karma: 0
    • View Profile
Re: Outbound NAT not working?
« Reply #2 on: June 02, 2017, 12:54:56 am »
Yesssssssss! Update to 17.1.8 solved the problem!  8) 8) 8)
So to bind specific LAN outbound/egress traffic to specific WAN Virtual IP, simply use Outbound NAT and specify "Translated IP" as WAN Virtual IP.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [SOLVED] Outbound NAT not working?
 

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