I have to run iptables -A INPUT -p udp -m udp --dport 5060 -j ACCEPT when I start the server to be able to access my PBX remotely, but as soon I restart it stops until i run it again. How can i make it permanent?
service iptables save
I notices some changes in my iptables that where new to my understanding
then pulled a log and noticed all the changes that were new happened from
a pc that was not mine and did not show a ip address.
and the changes were made outside of the time frame i made changes yesterday
should i ask a question for an explanation?
Applied configuration Linux Firewall root 10.xxx.xxx 01/Mar/2013 00:07
Modified rule in chain INPUT in table filter Linux Firewall root 10.0.0.173 01/Mar/2013 00:07
Applied configuration Linux Firewall root 10.0.xxx.xxx 01/Mar/2013 00:06
Modified rule in chain INPUT in table filter Linux Firewall root 10.0.xxx.xxx 01/Mar/2013 00:06
Opened firewall ports 5060:5070 Linux Firewall - - 27/Feb/2013 15:45
Opened firewall ports 443:453 Linux Firewall - - 27/Feb/2013 15:44
Opened firewall ports 21:31 Linux Firewall - - 27/Feb/2013 15:44
Opened firewall ports 22:32 Linux Firewall - - 27/Feb/2013 15:43
Opened firewall ports 80:90 Linux Firewall - - 27/Feb/2013 15:42
Applied configuration Linux Firewall root 10.0.xxx.xxx 27/Feb/2013 15:14
If you are sure you did not make these changes then your system may well have been compromised. Unplug it from any Internet access immediately and investigate. Have a look at /etc/sysconfig/iptables to see the saved IP tables settings.