Have had a request to enable functionality to help H.323 (from polycom video conferencing systems) traverse NAT running on routerOS. The cisco commands they’ve asked for are:
H.323 awareness
Due to the nature of the protocol used by Polycom equipment, one of the
following commands should be deployed in the configuration based on the
equipment used. ( assuming that you are using Cisco gear )
ip inspect h323 h225 ( for cisco router )
ip inspect h323 ras ( for cisco router )
fixup protocol h323 h225 1720 ( for cisco pix )
fixup protocol h323 ras 1718-1719 ( for cisco pix )
policy map + h323 ON ( for cisco ASA )
For testing there is a video device in Sydney and another in the USA.
I see there’s a h323 setting under /ip firewall service-port but I’m having trouble getting to to work. Aparently, the NAT needs to rewrite part of the H.323 header and change the source address of the stream to be the external (NAT) address. Currently the other VC device (in the USA) is trying to respond to the connection using the private internal address of the local VC device.
Are there any details on what the routerOS h323 helper does and how to correctly configure it? Do I require multiple NAT rules? What makes the helper kick in?
If anyone has a sample NAT rule that does this then that would be fantastic.
I’m not certain if the other end is also using NAT. There’s about 20 sites they need to communicate with. But, you’re saying that it won’t work if both are NAT’d?
I have already set up the NAT rules but the remote end is still trying to use the local/privat IP for my Video device which would suggest that the helper didn’t kick in. Sample NAT rules:
Hi MT guys. Please provide us or do it in the Wiki, what is the mechanism of ROS NAT helpers? How to understand what is NAT helper? If possible please provide us some examples and cases to use NAT helpers. Thank you.
So in short: helpers are code that inspects the content of packets (not just the IP header, but for example the layer 7 FTP commands within an FTP packet) to learn more about the connection.