-   Linux - Networking (
-   -   iptables script error(?) (

386 10-07-2005 07: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 01:56 PM

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

All times are GMT -5. The time now is 11:46 AM.