OK, I understand, Clever - I didn't know anything could read packets before
iptables.
And sorry about the formatting - I tried to make it all neat, but it looks
like it got excessively word wrapped.
Thanks for putting my mind at ease.
On 28 March 2017 at 16:12, Andres
On 3/28/17 9:32 AM, Jonathan H wrote:
My firewall and asterisk pjsip config only has "permit" options for my
ITSP's (SIP trunk) IPs.
Here's the script that sets it up.
--
#!/bin/bash
EXIF="eth0"
/sbin/iptables --flush
/sbin/iptables --policy
My firewall and asterisk pjsip config only has "permit" options for my
ITSP's (SIP trunk) IPs.
Here's the script that sets it up.
--
#!/bin/bash
EXIF="eth0"
/sbin/iptables --flush
/sbin/iptables --policy INPUT DROP
/sbin/iptables --policy OUTPUT