Re: iptables forwarding not working/iptables-save not saving

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- On Thu, 11/20/08, Chuck Anderson <cra@xxxxxxx> wrote:

> From: Chuck Anderson <cra@xxxxxxx>
> Subject: Re: iptables forwarding not working/iptables-save not saving
> To: fedora-test-list@xxxxxxxxxx
> Date: Thursday, November 20, 2008, 12:33 PM
> On Thu, Nov 20, 2008 at 12:26:26PM -0800, Antonio Olivares
> wrote:
> > Sorry for double post :(  Yahoo mail was misbehaving
> :(  
> > Here's some info to clarify things 
> > 
> > [root@localhost ~]# service iptables stop
> 
> > [root@localhost ~]# iptables -A FORWARD -i eth1 -o
> eth0 -j ACCEPT [1]+  Done                    gedit
> /etc/sysconfig/iptables       
> > [root@localhost ~]# iptables -A FORWARD -i eth0 -o
> eth1 -m state --state ESTABLISHED,RELATED -j ACCEPT         
>                                                
> > [root@localhost ~]# iptables -A POSTROUTING -t nat -s
> 192.168.1.0/24 -o eth0 -j SNAT --to-source 10.154.19.210    
>                                     
> > [root@localhost ~]# iptables-save
> > # Generated by iptables-save v1.4.1.1 on Thu Nov 20
> 13:14:50 2008
> 
> The output of "iptables-save" goes to your
> terminal, it isn't 
> stored anywhere.
> 
> > The iptables get back to original state.  error in
> iptables-save ?/bug
> 
> Nope, you need to do this instead:
> 
> service iptables save
> 
> -- 


Thank you all for helping me with this.  I have done this and I hope that it will work :)

Regards,

Antonio 



      

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux