This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

QOS a VOIP adapter behind NAT

I've been using a different linux firewall for a while, and I'm evaluating moving to Astaro v5.  This is my first post to the group.  I've read a lot here, and you seem to be very helpful.

I'm a home user and I'm trying to use QOS to prioritize traffic from my VOIP adapter (Vonage).  I've set up Astaro in VMWare to take look at the interface, and have read the forums  and documentation.  

I was wondering if anyone has real world experience with the performance of a NAT'd source to the high-QOS.  The reason I ask is because when I look at the Current System QOS rules I was surprised to see that the host I added to the high QOS queue was being handled in the post-routing IPTABLES section.  According to the LARTC.org FAQ (http://www.docum.org/docum.org/faq/cache/59.html), NAT'ing is done before the postrouting, hence no packets will be seen with a source address in the internal network range.  I was just wondering if anyone can disprove this claim.

Thanks for the help,
Greg


This thread was automatically locked due to age.
Parents
  • Hi there all, 

    both are true.

    It is true that we do the QoS sorting in the POSTROUTING chain.
    But inside the mangle table.

    SourceNAT and Masquerading get handled inside the POSTROUTING chain of the nat table.

    as you can see in the chart  here  the packet first travels through the POSTROUTING chain of the mangle table, than the POSTROUTING chain of the nat table.

    that means we first do QoS, than do masquerading, therefore we can see your internal ips.

    i hope this helps

    REgards
    Gert
Reply
  • Hi there all, 

    both are true.

    It is true that we do the QoS sorting in the POSTROUTING chain.
    But inside the mangle table.

    SourceNAT and Masquerading get handled inside the POSTROUTING chain of the nat table.

    as you can see in the chart  here  the packet first travels through the POSTROUTING chain of the mangle table, than the POSTROUTING chain of the nat table.

    that means we first do QoS, than do masquerading, therefore we can see your internal ips.

    i hope this helps

    REgards
    Gert
Children
No Data