diff options
Diffstat (limited to 'mpm/python')
-rw-r--r-- | mpm/python/usrp_mpm/xports/xportmgr_udp.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mpm/python/usrp_mpm/xports/xportmgr_udp.py b/mpm/python/usrp_mpm/xports/xportmgr_udp.py index 197a628e4..7075d38ad 100644 --- a/mpm/python/usrp_mpm/xports/xportmgr_udp.py +++ b/mpm/python/usrp_mpm/xports/xportmgr_udp.py @@ -251,14 +251,16 @@ class XportMgrUDP: int_iface = internal_ifaces[0] internal_ip_addr = self.get_fpga_internal_ip_address(int_iface) - prerouting_arguments = ['PREROUTING', + prerouting_arguments = [ + 'PREROUTING', '-t', 'nat', '-i', iface, '-p', 'udp', '--dport', str(self.chdr_port), '-j', 'DNAT', - '--to', internal_ip_addr] - forward_arguments = ['FORWARD', + '--to-destination', internal_ip_addr] + forward_arguments = [ + 'FORWARD', '-p', 'udp', '-d', internal_ip_addr, '--dport', str(self.chdr_port), |