LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] iptables & DNAT

[ILUG] iptables & DNAT

Fergal Moran fergal.moran at wasptech.com
Fri May 25 14:28:22 IST 2001


> From: Dave Airlie [mailto:airlied at csn.ul.ie]
> maybe flush the tables first then try it without the 80...

done
[root at pasteur /root]# iptables -L PREROUTING -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         
DNAT       tcp  --  anywhere             anywhere           tcp dpt:http
to:192.168.1.6 

still the same

> you don't have some other rule blocking it previously?
how would I find this out then - I wouldn't think so thought because I am
creating the rules manually every time I reboot and the only other one is
for masquerading

[root at pasteur /root]# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
[root at pasteur /root]# echo 1 > /proc/sys/net/ipv4/ip_forward 
[root at pasteur /root]# iptables -L POSTROUTING -t nat
Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination         
MASQUERADE  all  --  anywhere             anywhere           

this wouldn't be the cause of the problems would it?

> flush all tables and try just the rule..
done - still the same

> I'll take another look at the script we have..
That would be splendid!

> Dave.
Fergal..




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell