Hybrid Outbound NAT



  • Is it possible to have the manual mappings override the automatic rules when using hybrid outbound nat?

    There are automatic rules for our 192.168.4.0/24 subnet. I want to manually specify outbound NAT for just 192.168.4.3/32. Is that possible or do I have to switch over to ful manual outbound NAT and enter all the automatic rules by hand?

    I'm trying to make 192.168.4.3 use a virtual IP for outbound. The VIP is CARP.

    Thanks!


  • Rebel Alliance Developer Netgate

    @MatthewH:

    Is it possible to have the manual mappings override the automatic rules when using hybrid outbound nat?

    That is the entire purpose of Hybrid mode. User rules are respected first, then automatic follows. So only put in your rule(s) for using the VIP(s) you want and switch to Hybrid mode.



  • @jimp:

    @MatthewH:

    Is it possible to have the manual mappings override the automatic rules when using hybrid outbound nat?

    That is the entire purpose of Hybrid mode. User rules are respected first, then automatic follows. So only put in your rule(s) for using the VIP(s) you want and switch to Hybrid mode.

    That's what I thought, but it didn't work that way. I'm on 2.2.4.
    I'm using the outbound nat so 1 subnet will use a VIP. I setup using Hybrid mode, cleared all states for the subnet, then used a website to check my external IP and it returned the main interface IP. I ended up switching to the full manual outbound NAT so there wouldn't be 2 rules for that subnet and then it worked like it should. Maybe a bug??

    Thanks for the reply.


Log in to reply