Iptables - vserver - server4you
Hi everybodyI have a virtual server (server4you/.com/.de) with Suse Linux 9.x. I would like to save my iptables but with the common tutorial it doesn't work because the path-structure are different. I just don't see, where it's gonna be saved. And after a reboot the entries are gone and with 'iptables-restore' nothing changes (a script would be better anyway).
Code:
$ iptables-save 2005-12-19 13:10:47.608 # Generated by iptables-save v1.3.1 on Mon Dec 19 13:10:46 2005 2005-12-19 13:10:47.608 *mangle 2005-12-19 13:10:47.608 :PREROUTING ACCEPT [13857:1507044] 2005-12-19 13:10:47.608 :INPUT ACCEPT [13857:1507044] 2005-12-19 13:10:47.624 :FORWARD ACCEPT [0:0] 2005-12-19 13:10:47.624 :OUTPUT ACCEPT [14477:4114236] 2005-12-19 13:10:47.624 :POSTROUTING ACCEPT [14477:4114236] 2005-12-19 13:10:47.624 COMMIT 2005-12-19 13:10:47.624 # Completed on Mon Dec 19 13:10:46 2005 2005-12-19 13:10:47.624 # Generated by iptables-save v1.3.1 on Mon Dec 19 13:10:46 2005 2005-12-19 13:10:47.624 *filter 2005-12-19 13:10:47.624 :INPUT ACCEPT [13857:1507044] 2005-12-19 13:10:47.624 :FORWARD ACCEPT [0:0] 2005-12-19 13:10:47.624 :OUTPUT ACCEPT [14477:4114236] 2005-12-19 13:10:47.624 -A INPUT -s 217.160.240.42 -j DROP 2005-12-19 13:10:47.624 COMMIT 2005-12-19 13:10:47.639 # Completed on Mon Dec 19 13:10:46 2005 2005-12-19 13:10:47.764
Any ideas?
Thanks!