Monday, September 3, 2018

networking - How are NAT rules processed in Vyatta?

I am setting up a Vyatta router to replace my pfSense box that died. As I setting up the NAT rules I am not sure how they are processed.



Are Vyatta's NAT rules processed in the order of the list until the first match?



I have several rules that are destination rules for things like Zimbra and OpenVPN.



But at the bottom of my NAT rules I have a source NAT rule that defines anything coming from my subnet 10.0.0.0/24 should be NAT'd to my second usable public IP address.




So if I needed a specific NAT rule like one for my Zimbra server which sits on the third usable public IP would that need to BEFORE the general NAT rule?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...