Master DNL Class4
Search…
⌃K

Enable Media Proxy

To enable Media Proxy, you need to run the following commands in the server where dnl_softswitch is installed:
// Load the corresponding iptables modulels:
sudo modprobe iptable_nat ipt_MASQUERADE iptable_filter
// Enable FORWARD rule:
sudo iptables -A FORWARD -m conntrack --ctstate NEW,SNAT,DNAT,RELATED,ESTABLISHED -j ACCEPT
You can verify with the following commands:
[[email protected]~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere ctstate NEW,RELATED,ESTABLISHED,SNAT,DNAT
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
# Warning: iptables-legacy tables present, use iptables-legacy to see them