Hi there... does anyone know of a handy iptables command to look at existing nat rules?
I tried:
iptables -t nat -L
Which was close, but the problem is that the DNAT and SNAT list the reverse DNS for the IP's, when I would rather see just pure IP's.
I have been reading the man pages and google looking for an answer as well.
Thanks!
On 12/20/06, Dustin Krysak d.k.emaillists@gmail.com wrote:
Hi there... does anyone know of a handy iptables command to look at existing nat rules?
I tried:
iptables -t nat -L
Which was close, but the problem is that the DNAT and SNAT list the reverse DNS for the IP's, when I would rather see just pure IP's.
I have been reading the man pages and google looking for an answer as well.
Thanks!
Disregard.... I missed the option in hte man pages (as I was reading on the CLI, but found it once I was reading it in a browser.).
Sorry about that!
Dustin
Dustin Krysak wrote:
Hi there... does anyone know of a handy iptables command to look at existing nat rules?
I tried:
iptables -t nat -L
Which was close, but the problem is that the DNAT and SNAT list the reverse DNS for the IP's, when I would rather see just pure IP's.
I have been reading the man pages and google looking for an answer as well.
Probably the most useful combination of options is -nvx -L, since it will print some additional info (most importantly the counters).
I was told that AMANDA packages are already on Centos 4.4, i did: "sudo yum install amanda" and it installed, but i have not been able to run any commands or 'locate' any files that look like config files?
I am brand new to AMANDA (tried installing it from RPMs on a few operating systems) and i have not had much success at all.
I have read the documentation on the AMANDA site, they even have a specific note for centos users on installing the RPMs (not to do it as root). But i have been told that it is not that difficult, to just use yum and that takes care of it.
I think that i may be lacking some administrative commands. What are some good ways to verify that a service is installed? How do i know which components are needed? Doesn't Yum take care of dependencies? I feel like i am missing something- Any suggestions on what i may have overlooked- or ways that i can check on my own?
Many thanks
On Wed, Dec 20, 2006 at 05:49:57PM -0800, Centos Newb enlightened us:
I was told that AMANDA packages are already on Centos 4.4, i did: "sudo yum install amanda" and it installed, but i have not been able to run any commands or 'locate' any files that look like config files?
I am brand new to AMANDA (tried installing it from RPMs on a few operating systems) and i have not had much success at all.
I have read the documentation on the AMANDA site, they even have a specific note for centos users on installing the RPMs (not to do it as root). But i have been told that it is not that difficult, to just use yum and that takes care of it.
I think that i may be lacking some administrative commands. What are some good ways to verify that a service is installed? How do i know which components are needed? Doesn't Yum take care of dependencies? I feel like i am missing something- Any suggestions on what i may have overlooked- or ways that i can check on my own?
Most likely you are missing the amanda-server package. The amanda package is just the common libraries and things.
You may also wish to look at http://wiki.centos.org/HowTos/AmandaBackups The version of Amanda included in CentOS 4 is very outdated, so you may want to use updated RPMs by following http://www.math.ohiou.edu/~hyclak/casit/amanda/ or check out the RPMs from zmanda.com.
Matt
Centos Newb wrote:
I was told that AMANDA packages are already on Centos 4.4, i did: "sudo yum install amanda" and it installed, but i have not been able to run any commands or 'locate' any files that look like config files?
I am brand new to AMANDA (tried installing it from RPMs on a few operating systems) and i have not had much success at all.
I have read the documentation on the AMANDA site, they even have a specific note for centos users on installing the RPMs (not to do it as root). But i have been told that it is not that difficult, to just use yum and that takes care of it.
You need to install amanda, amanda-client and amanda-server to get the whole thing. Then you need to edit some files in /etc/amanda, add some cron jobs to run it automatically, and enable the services in /etc/inetd.d on the target machines.
I think that i may be lacking some administrative commands. What are some good ways to verify that a service is installed? How do i know which components are needed? Doesn't Yum take care of dependencies? I feel like i am missing something- Any suggestions on what i may have overlooked- or ways that i can check on my own?
You really only need one of amanda-server or amanda-client on each machine depending on its role, but it doesn't hurt to have both.