Page 1 of 1

Allow ICMP?

Posted: 21 Mar 2014, 15:03
by trubble
Can someone tell me how I would go about allowing icmp requests to a porteus kiosk?

Re: Allow ICMP?

Posted: 21 Mar 2014, 15:14
by fanthom
hi trubble,

you could disable firewall completely to have ping to the kiosk working, if you want to allow just ICMP then you'll have to remaster the ISO and add relevant iptables rule to 003-settings.xzm/etc/rc.d/rc.FireWall.

make sure you read our Kiosk FAQ which will tell you how to perform this action.

Re: Allow ICMP?

Posted: 21 Mar 2014, 15:29
by trubble
fanthom wrote:hi trubble,

you could disable firewall completely to have ping to the kiosk working, if you want to allow just ICMP then you'll have to remaster the ISO and add relevant iptables rule to 003-settings.xzm/etc/rc.d/rc.FireWall.

make sure you read our Kiosk FAQ which will tell you how to perform this action.
Well, I tried that but I was still not able to ping the kiosk. Thinking perhaps I may have overlooked it, I went ahead and created another image just now with the firewall disabled and she's still not responding.

Re: Allow ICMP?

Posted: 21 Mar 2014, 20:46
by brokenman
If you have a kiosk with ssh access then you could ssh into the kiosk and confirm that /etc/rc.d/rc.FireWall does not have the executable bit set. Then run: /etc/rc.d/rc.FireWall stop

Re: Allow ICMP?

Posted: 21 Mar 2014, 21:33
by fanthom
@trubble
works here so there must be something wrong with your setup (booting old ISO?)

Code: Select all

ping 192.168.1.4
PING 192.168.1.4 (192.168.1.4) 56(84) bytes of data.
64 bytes from 192.168.1.4: icmp_seq=1 ttl=64 time=0.459 ms
64 bytes from 192.168.1.4: icmp_seq=2 ttl=64 time=0.280 ms
64 bytes from 192.168.1.4: icmp_seq=3 ttl=64 time=0.294 ms
@Jay
stop function is not implemented in kiosk. you have to flush rules manually and unload iptables modules.