LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   iptables script error(?) (http://www.linuxquestions.org/questions/linux-networking-3/iptables-script-error-370792/)

386 10-07-2005 08:37 PM

iptables script error(?)
 
Whenever I use backslash "\" in my script it says:

[user@linux ~]# iptables-restore firewall-rules
Bad argument `\\'
Error occurred at line: 20
Try `iptables-restore -h' or 'iptables-restore --help' for more information.

What am I missing here? :confused: Without the backslash everything works fine.

Some iptables sample scripts online have backslashes, some forward slashes. :confused:

FC3 iptables-1.2.11-3.1

386 10-08-2005 02:56 PM

No line-breaks in iptables-restore scripts allowed. :rolleyes:


All times are GMT -5. The time now is 02:35 AM.