LinuxMCE Forums
May 25, 2013, 05:02:24 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: How to enable ICMP requests  (Read 520 times)
TonyBryan
Regular Poster
**
Posts: 26


View Profile
« on: January 18, 2012, 04:12:25 pm »

I have all the connectivity working between my external and internal networks - yay!  Except ping.  So I can live without it, but it aggravates me.  How is this configured?

As a test, I ran:
sudo iptables -A INPUT -p icmp -j ACCEPT

Now ping works.  But where do I place the configuration to allow ping at boot up?

Ubuntu forums suggest it is ufw.  I checked /etc/ufw/ufw.conf:

Code:
# /etc/ufw/ufw.conf
#

# set to yes to start on boot
ENABLED=no

So I'm not even sure its running.  Even so, the /etc/ufw/before.rules file contains the correct iptable rule so far as I can tell:

Code:
# ok icmp codes
-A ufw-before-input -p icmp --icmp-type destination-unreachable -j ACCEPT
-A ufw-before-input -p icmp --icmp-type source-quench -j ACCEPT
-A ufw-before-input -p icmp --icmp-type time-exceeded -j ACCEPT
-A ufw-before-input -p icmp --icmp-type parameter-problem -j ACCEPT
-A ufw-before-input -p icmp --icmp-type echo-request -j ACCEPT
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!