Embedded Linux Firewall System has a character of limited resource,of which communication with the outside is an important aspect.In this paper,the usage of serial port and parallel port in the instance of limited resource is introduced. The programming m