Dustin Krysak
2006-Dec-20 22:30 UTC
[CentOS] iptables command to view just nat/forward info by ip
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!
Dustin Krysak
2006-Dec-20 22:38 UTC
[CentOS] Re: iptables command to view just nat/forward info by ip
On 12/20/06, Dustin Krysak <d.k.emaillists at 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
Aleksandar Milivojevic
2006-Dec-21 01:15 UTC
[CentOS] iptables command to view just nat/forward info by ip
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). -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 187 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20061220/10a1204a/attachment.sig>
Centos Newb
2006-Dec-21 01:49 UTC
[CentOS] iptables command to view just nat/forward info by ip
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