iptables
Posted: Tue Oct 15, 2013 4:09 am
Hi sir,
i have two nic's 1 is for public other is for local... i want to prevent my vicidial accessing from public below is my iptables but its not wrking
iptables -A INPUT -s xxx.xxx.xxx.xxx -d yyy.yyy.yyy.yyy -j ACCEPT
iptables -A OUTPUT -s yyy.yyy.yyy.yyy -d xxx.xxx.xxx.xxx -j ACCEPT
iptables -A INPUT -d yyy.yyy.yyy.yyy -j ACCEPT
iptables -A INPUT -j ACCEPT
x is for voip provider
y is for public ip
thank you
ViciBox Redux v.5.0.2-130821|Asterisk 1.8.23.0|vicidial VERSION: 2.8-415a|single server| no updates has been made
i have two nic's 1 is for public other is for local... i want to prevent my vicidial accessing from public below is my iptables but its not wrking
iptables -A INPUT -s xxx.xxx.xxx.xxx -d yyy.yyy.yyy.yyy -j ACCEPT
iptables -A OUTPUT -s yyy.yyy.yyy.yyy -d xxx.xxx.xxx.xxx -j ACCEPT
iptables -A INPUT -d yyy.yyy.yyy.yyy -j ACCEPT
iptables -A INPUT -j ACCEPT
x is for voip provider
y is for public ip
thank you
ViciBox Redux v.5.0.2-130821|Asterisk 1.8.23.0|vicidial VERSION: 2.8-415a|single server| no updates has been made