| Private Hosting Questions about VPS, dedicated servers and colocation. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Seasoned Poster
Joined in Aug 2005
40 posts
Gave thanks: 0
Thanked 0 times
|
Hey folks,
I'm having some problems getting logging with iptables to work on my vps box and wondered if anyone has been successful in getting it to work. At this point I'm not sure if it's because it wasn't compiled into the kernel or it's a limitation of the VPS environment. I've got a new chain setup called 'droplog'. The purpose (bet it's obvious!) is to first LOG then DROP any traffic from other rules with 'droplog' as the target. I've created the chain, no problems there. I've added the rule to DROP with no problems. However, when I add the rule to log, it bombs out. The chain DOES exist: Code:
Chain droplog (0 references) target prot opt source destination DROP all -- anywhere anywhere Code:
root@vps [/var/log]# runas iptables -A droplog -j LOG iptables: No chain/target/match by that name |
|
|
|
|
|
#2 (permalink) |
|
Surpass Fan
On a golden path...
Joined in Nov 2003
432 posts
Gave thanks: 0
Thanked 0 times
|
The firewall in the VPS control panel seems to cause problems with the use of IP tables even with the VPS firewall disabled. You might want to go to the Virtuozzo web site.
|
|
|
|