Changeset 258
- Timestamp:
- 01/06/09 12:42:55 (3 years ago)
- Location:
- floppyfw-3.0
- Files:
-
- 6 modified
-
makefiles/flash.mk (modified) (1 diff)
-
makefiles/floppy.mk (modified) (1 diff)
-
makefiles/isoimage.mk (modified) (1 diff)
-
makefiles/soekris.mk (modified) (1 diff)
-
scripts/dmz-fw.ini (modified) (2 diffs)
-
scripts/dmz-udhcpd.conf.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
floppyfw-3.0/makefiles/flash.mk
r101 r258 18 18 cp $(SCRIPTS_DIR)/hosts $(FLASH_DIR)/. 19 19 cp $(SCRIPTS_DIR)/ethers $(FLASH_DIR)/. 20 cp $(SCRIPTS_DIR)/ethers $(FLASH_DIR)/dmz-ethers 20 21 cp $(SCRIPTS_DIR)/firewall.ini $(FLASH_DIR)/. 21 22 cp $(SCRIPTS_DIR)/network.ini $(FLASH_DIR)/. -
floppyfw-3.0/makefiles/floppy.mk
r182 r258 23 23 cp $(SCRIPTS_DIR)/config $(BASE_DIR)/floppy/. 24 24 cp $(SCRIPTS_DIR)/ethers $(BASE_DIR)/floppy/. 25 cp $(SCRIPTS_DIR)/ethers $(BASE_DIR)/floppy/dmz-ethers 25 26 cp $(SCRIPTS_DIR)/hosts $(BASE_DIR)/floppy/. 26 27 cp $(SCRIPTS_DIR)/firewall.ini $(BASE_DIR)/floppy/. -
floppyfw-3.0/makefiles/isoimage.mk
r77 r258 23 23 cp $(SCRIPTS_DIR)/hosts $(BASE_DIR)/isoimage/. 24 24 cp $(SCRIPTS_DIR)/ethers $(BASE_DIR)/isoimage/. 25 cp $(SCRIPTS_DIR)/ethers $(BASE_DIR)/isoimage/dmz-ethers 25 26 cp $(SCRIPTS_DIR)/firewall.ini $(BASE_DIR)/isoimage/. 26 27 cp $(SCRIPTS_DIR)/network.ini $(BASE_DIR)/isoimage/. -
floppyfw-3.0/makefiles/soekris.mk
r230 r258 18 18 cp $(SCRIPTS_DIR)/hosts $(SOEKRIS_DIR)/. 19 19 cp $(SCRIPTS_DIR)/ethers $(SOEKRIS_DIR)/. 20 cp $(SCRIPTS_DIR)/ethers $(SOEKRIS_DIR)/dmz-ethers 20 21 cp $(SCRIPTS_DIR)/firewall.ini $(SOEKRIS_DIR)/. 21 22 cp $(SCRIPTS_DIR)/network.ini $(SOEKRIS_DIR)/. -
floppyfw-3.0/scripts/dmz-fw.ini
r232 r258 28 28 iptables -A INPUT -i ${DMZ_DEVICE} -p UDP --dport 53 -j ACCEPT 29 29 30 if [ "$DMZ_DHCP_SERVER" = y ] 31 then 32 iptables -A INPUT -i ${DMZ_DEVICE} -p TCP --dport 67 -j ACCEPT 33 iptables -A INPUT -i ${DMZ_DEVICE} -p UDP --dport 67 -j ACCEPT 34 iptables -A INPUT -i ${DMZ_DEVICE} -p TCP --dport 68 -j ACCEPT 35 iptables -A INPUT -i ${DMZ_DEVICE} -p UDP --dport 68 -j ACCEPT 36 fi 37 30 38 if [ "$DMZ_USE_NAT" = "y" ] 31 39 then … … 34 42 35 43 # Open ports: 36 # The big caveat here is th et multiport only supports 15 ports..44 # The big caveat here is that multiport only supports 15 ports.. 37 45 # We will try to pad that by giving the admin more options.. 38 46 if [ -n "$DMZ_ALLOW_TO_OUTSIDE" ] -
floppyfw-3.0/scripts/dmz-udhcpd.conf.sh
r103 r258 24 24 EOF 25 25 26 # Adding the /etc/ ethers file:26 # Adding the /etc/dmz-ethers file: 27 27 # I'll use the same file for both. shouldn't matter. 28 sed -e '/^#/d;/^$/d;s/^/static_lease /' /etc/ ethers >> /etc/dmz-udhcpd.conf28 sed -e '/^#/d;/^$/d;s/^/static_lease /' /etc/dmz-ethers >> /etc/dmz-udhcpd.conf