12.07.2015 Views

Porteus Kiosk Edition (PKE) - Spiceworks Community

Porteus Kiosk Edition (PKE) - Spiceworks Community

Porteus Kiosk Edition (PKE) - Spiceworks Community

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

­== 003­SETTINGS.XZM CHANGES ==­31. Unsquash the 003­settings.xzm file :cd /tmp/custom­kiosk/porteus/basesudo unsquashfs 003­settings.xzm2. Make any necessary changes within the unsquashed, squashfs­root, file system.Firefox Proxy 4a. Firefox proxy settings can be changed in:/tmp/custom­kiosk/porteus/base/squashfs­root/home/guest/.mozilla/firefox/c3pp43bg.default/prefs.js byadding or editing the following lines. These lines should be modified for your network.user_pref("network.proxy.ftp", "proxy.example.com");user_pref("network.proxy.ftp_port", 3128);user_pref("network.proxy.http", "proxy.example.com");user_pref("network.proxy.http_port", 3128);user_pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");user_pref("network.proxy.share_proxy_settings", true);user_pref("network.proxy.ssl", "proxy.example.com");user_pref("network.proxy.ssl_port", 3128);user_pref("network.proxy.type", 1);Firewallb. Firewall settings can be changed in:/tmp/custom­kiosk/porteus/base/squashfs­root/etc/rc.d/rc.FireWallFor example, adding the bolded item below, allows the <strong>PKE</strong> firewall to access a local proxy serveron tcp port 3128.# Restrict outgoing traffic to DNS/ftp/http/https ports only:iptables ­A OUTPUT ­p udp ­­dport 53 ­m state ­­state NEW,ESTABLISHED ­j ACCEPTiptables ­A OUTPUT ­p tcp ­­dport 21 ­m state ­­state NEW,ESTABLISHED ­j ACCEPTiptables ­A OUTPUT ­p tcp ­­dport 80 ­m state ­­state NEW,ESTABLISHED ­j ACCEPTiptables ­A OUTPUT ­p tcp ­­dport 443 ­m state ­­state NEW,ESTABLISHED ­j ACCEPTiptables ­A OUTPUT ­p tcp ­­dport 3128 ­m state ­­state NEW,ESTABLISHED ­j ACCEPTc. You can completely disable the <strong>PKE</strong> firewall in:/tmp/custom­kiosk/porteus/base/squashfs­root/etc/rc.d/rc.M by placing a # in front of the following line:[ ­x /etc/rc.d/rc.FireWall ] && sh /etc/rc.d/rc.FireWall &3http://forum.porteus.org/viewtopic.php?f=102&t=17414I’ve tried putting the Firefox proxy settings in the rootcopy directory, but it didn’t work. The settings get overwritten. :­(

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!