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