set up NAT (network address translation) on local server
Craig White
craigwhite at azapple.com
Wed Nov 19 23:58:49 UTC 2008
On Wed, 2008-11-19 at 15:28 -0800, Antonio Olivares wrote:
>
>
> --- On Wed, 11/19/08, Christopher K. Johnson <ckjohnson at gwi.net> wrote:
>
> > From: Christopher K. Johnson <ckjohnson at gwi.net>
> > Subject: Re: set up NAT (network address translation) on local server
> > To: "Community assistance, encouragement, and advice for using Fedora." <fedora-list at redhat.com>
> > Date: Wednesday, November 19, 2008, 2:57 PM
> > What does this command produce? (shows whether your snat
> > rule is implemented correctly)
> > iptables -vnL -t nat
> >
> > And this one? (tells if ip forwarding is on)
> > cat /proc/sys/net/ipv4/ip_forward
> >
> > Chris
> >
> > -- "A society grows great when old men plant trees
> > whose shade they know
> > they shall never sit in" - Greek Proverb
> >
> > -- fedora-list mailing list
>
>
> [olivares at localhost ~]$ su -
> Password:
> [root at localhost ~]# iptables -vnL -t nat
> Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
> pkts bytes target prot opt in out source destination
>
> Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
> pkts bytes target prot opt in out source destination
>
> Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
> pkts bytes target prot opt in out source destination
> [root at localhost ~]# cat /proc/sys/net/ipv4/ip_forward
> 1
----
This is your Linux router? No way...
Craig
More information about the fedora-list
mailing list