Is it possible to install APF on a VPS account?

myuserid

Verified User
Joined
Feb 23, 2008
Messages
12
I recently acquired a DirectAdmin VPS account, I'm now trying to install APF but have run into a few issues:
1) eth0: error fetching interface information: Device not found.
Contacted the host and changed to: venet0:0

2) apf: Unable to load iptables module (ip_tables).
Changed MONOKERN=”0″ Set to “1″ in conf.apf

3) Now the 3rd issue is related to the 1st issue:
apf(23782): {glob} could not verify that interface venet0:0 is routed to a network, aborting.

So anyone know how to fix the 3rd error if it is even possible?

Thanks in advance.
 
Whats the output of ifconfig ? maybe you need venet0 instead of venet0:0

I presume this is VZ based VPS and i reccomend a more simple firewall for that, you also may have more problems after you have solved the interface issue.
 
Changed interface, but now get:
apf(16303): {glob} activating firewall
apf(16348): {glob} determined (IFACE_IN) venet0 has address 127.0.0.1
apf(16348): {glob} determined (IFACE_OUT) venet0 has address 127.0.0.1
apf(16348): {glob} loading preroute.rules
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {resnet} downloading http://r-fx.ca/downloads/reserved.networks
apf(16348): {resnet} parsing reserved.networks into /etc/apf/internals/reserved.networks
apf(16348): {glob} loading reserved.networks
apf(16348): {glob} SET_REFRESH is set to 10 minutes
apf(16348): {glob} loading bt.rules
apf(16348): {dshield} downloading http://feeds.dshield.org/top10-2.txt
apf(16348): {dshield} parsing top10-2.txt into /etc/apf/ds_hosts.rules
apf(16348): {dshield} loading ds_hosts.rules
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {sdrop} downloading http://www.spamhaus.org/drop/drop.lasso
apf(16348): {sdrop} parsing drop.lasso into /etc/apf/sdrop_hosts.rules
apf(16348): {sdrop} loading sdrop_hosts.rules
iptables: Unknown error 4294967295
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables v1.3.5: Couldn't load target `SDROP':/lib/iptables/libipt_SDROP.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.5: Couldn't load target `SDROP':/lib/iptables/libipt_SDROP.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
apf(16348): {glob} loading common drop ports
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {blk_ports} deny all to/from tcp port 135:139
apf(16348): {blk_ports} deny all to/from udp port 135:139
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {blk_ports} deny all to/from tcp port 111
apf(16348): {blk_ports} deny all to/from udp port 111
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {blk_ports} deny all to/from tcp port 513
apf(16348): {blk_ports} deny all to/from udp port 513
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {blk_ports} deny all to/from tcp port 520
apf(16348): {blk_ports} deny all to/from udp port 520
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {blk_ports} deny all to/from tcp port 445
apf(16348): {blk_ports} deny all to/from udp port 445
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {blk_ports} deny all to/from tcp port 1433
apf(16348): {blk_ports} deny all to/from udp port 1433
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {blk_ports} deny all to/from tcp port 1434
apf(16348): {blk_ports} deny all to/from udp port 1434
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {blk_ports} deny all to/from tcp port 1234
apf(16348): {blk_ports} deny all to/from udp port 1234
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {blk_ports} deny all to/from tcp port 1524
apf(16348): {blk_ports} deny all to/from udp port 1524
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {blk_ports} deny all to/from tcp port 3127
apf(16348): {blk_ports} deny all to/from udp port 3127
apf(16348): {pkt_sanity} set active PKT_SANITY
apf(16348): {pkt_sanity} deny inbound tcp-flag pairs ALL NONE
apf(16348): {pkt_sanity} deny inbound tcp-flag pairs SYN,FIN SYN,FIN
apf(16348): {pkt_sanity} deny inbound tcp-flag pairs SYN,RST SYN,RST
apf(16348): {pkt_sanity} deny inbound tcp-flag pairs FIN,RST FIN,RST
apf(16348): {pkt_sanity} deny inbound tcp-flag pairs ACK,FIN FIN
apf(16348): {pkt_sanity} deny inbound tcp-flag pairs ACK,URG URG
apf(16348): {pkt_sanity} deny inbound tcp-flag pairs ACK,PSH PSH
apf(16348): {pkt_sanity} deny inbound tcp-flag pairs ALL FIN,URG,PSH
apf(16348): {pkt_sanity} deny inbound tcp-flag pairs ALL SYN,RST,ACK,FIN,URG
apf(16348): {pkt_sanity} deny inbound tcp-flag pairs ALL ALL
apf(16348): {pkt_sanity} deny inbound tcp-flag pairs ALL FIN
iptables: Unknown error 4294967295
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
apf(16348): {pkt_sanity} deny outbound tcp-flag pairs ALL NONE
apf(16348): {pkt_sanity} deny outbound tcp-flag pairs SYN,FIN SYN,FIN
apf(16348): {pkt_sanity} deny outbound tcp-flag pairs SYN,RST SYN,RST
apf(16348): {pkt_sanity} deny outbound tcp-flag pairs FIN,RST FIN,RST
apf(16348): {pkt_sanity} deny outbound tcp-flag pairs ACK,FIN FIN
apf(16348): {pkt_sanity} deny outbound tcp-flag pairs ACK,PSH PSH
apf(16348): {pkt_sanity} deny outbound tcp-flag pairs ACK,URG URG
iptables: Unknown error 4294967295
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables v1.3.5: Couldn't load target `OUT_SANITY':/lib/iptables/libipt_OUT_SANITY.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.5: Couldn't load target `IN_SANITY':/lib/iptables/libipt_IN_SANITY.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
apf(16348): {pkt_sanity} deny all fragmented udp
iptables: Unknown error 4294967295
iptables: No chain/target/match by that name
iptables v1.3.5: Couldn't load target `FRAG_UDP':/lib/iptables/libipt_FRAG_UDP.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.5: Couldn't load target `FRAG_UDP':/lib/iptables/libipt_FRAG_UDP.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
apf(16348): {pkt_sanity} deny inbound tcp port 0
apf(16348): {pkt_sanity} deny outbound tcp port 0
iptables: Unknown error 4294967295
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables v1.3.5: Couldn't load target `PZERO':/lib/iptables/libipt_PZERO.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.5: Couldn't load target `PZERO':/lib/iptables/libipt_PZERO.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
apf(16348): {blk_p2p} set active BLK_P2P
iptables: Unknown error 4294967295
apf(16348): {blk_p2p} deny all to/from tcp port 1214
apf(16348): {blk_p2p} deny all to/from udp port 1214
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
apf(16348): {blk_p2p} deny all to/from tcp port 2323
apf(16348): {blk_p2p} deny all to/from udp port 2323
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
apf(16348): {blk_p2p} deny all to/from tcp port 4660:4678
apf(16348): {blk_p2p} deny all to/from udp port 4660:4678
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
apf(16348): {blk_p2p} deny all to/from tcp port 6257
apf(16348): {blk_p2p} deny all to/from udp port 6257
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
apf(16348): {blk_p2p} deny all to/from tcp port 6699
apf(16348): {blk_p2p} deny all to/from udp port 6699
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
apf(16348): {blk_p2p} deny all to/from tcp port 6346
apf(16348): {blk_p2p} deny all to/from udp port 6346
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
apf(16348): {blk_p2p} deny all to/from tcp port 6347
apf(16348): {blk_p2p} deny all to/from udp port 6347
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
apf(16348): {blk_p2p} deny all to/from tcp port 6881:6889
apf(16348): {blk_p2p} deny all to/from udp port 6881:6889
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
apf(16348): {blk_p2p} deny all to/from tcp port 6346
apf(16348): {blk_p2p} deny all to/from udp port 6346
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
apf(16348): {blk_p2p} deny all to/from tcp port 7778
apf(16348): {blk_p2p} deny all to/from udp port 7778
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables v1.3.5: Couldn't load target `P2P':/lib/iptables/libipt_P2P.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.5: Couldn't load target `P2P':/lib/iptables/libipt_P2P.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
apf(16348): {glob} loading log.rules
apf(16348): {glob} virtual net subsystem disabled.
apf(16348): {glob} loading main.rules
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound tcp port 21 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound tcp port 25 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound tcp port 53 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound tcp port 80 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound tcp port 110 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound tcp port 143 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound tcp port 443 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound tcp port 5612 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound tcp port 6000 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound tcp port 7000 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound udp port 53 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound icmp type 3 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound icmp type 5 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound icmp type 11 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound icmp type 0 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound icmp type 30 on 0/0
iptables: Unknown error 4294967295
apf(16348): {glob} opening inbound icmp type 8 on 0/0
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {glob} resolv dns discovery for 69.65.16.101
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {glob} resolv dns discovery for 69.65.17.102
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {glob} loading postroute.rules
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16348): {glob} default (egress) output accept
apf(16348): {glob} default (ingress) input drop
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
iptables: Unknown error 4294967295
apf(16303): {glob} firewall initalized
apf(16303): {glob} fast load snapshot saved

Firewall still not working, is there another firewall I can use on VPS, all I want to do is block ports.
 
Thanks for the link, but I tried installing that, for some reason I get:

/etc/init.d/firewall start
/etc/init.d/firewall: line 5: virtuosso: command not found
/etc/init.d/firewall: line 8: sw-soft: command not found
cut: the delimiter must be a single character
Try `cut --help' for more information.
/etc/init.d/firewall: line 23: local: can only be used in a function
iptables v1.3.5: -P requires a chain and a policy
Try `iptables -h' or 'iptables --help' for more information.
/etc/init.d/firewall: line 26: syntax error near unexpected token `}'
/etc/init.d/firewall: line 26: `}'

What a pain this is.
 
There errors are from your copy/paste
Look:
Code:
#!/bin/bash 

# 
# firewall This shell script takes care of setting up a firewall for a 
virtuosso based VPS 
# (no stateful rules/connection tracking or logging. 
# Borrows heavily from a script by Dmitry Konstantinov of 
sw-soft
 
I created a version of Nobaloney's KISS firewall specifically for VPS's running DirectAdmin a few months ago.

Code:
wget -q -O /usr/local/sbin/kiss http://www.oakdns.net/downloads/kiss-DA-VPS
chmod 0700 /usr/local/sbin/kiss
echo "/usr/local/sbin/kiss start"  >> /etc/rc.d/rc.local
/usr/local/sbin/kiss start

You may also want to take a look at CSF. I created a DA-specific ruleset for CSF also, but I haven't updated the VPS version in a while.
 
Back
Top