Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] iptables: port forwarding
- Date: Sun, 20 Apr 2003 19:27:29 +0900 (JST)
- From: Susumu ISHIZUKA <sufiyanjp@example.com>
- Subject: Re: [tlug] iptables: port forwarding
Hi, I wrote: > I think your server replied with source port 22(ssh). > But it must be masqueraded to 80. > > So, try this: > iptables -t nat -A POSTROUTING -p tcp --sport 22 > -d 130.153.xxx.yyy > -j SNAT --to IP.Address.Of.The.Server:80 I was wrong about it. The original script is correct and must work for it. (I tried today and it worked with my linux box.) I have thought REDIRECT target take care of incoming packet only. But as David Santinoli posted before, REDIRECT implicitly rewrite reverse trafic. Then, what is wrong is firewall... maybe. I'm sorry for bringing confusion. --------- Susumu ISHIZUKA <sufiyanjp@example.com> __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/
- Follow-Ups:
- [tlug] Still looking for the old d: drive...
- From: Lyle (Hiroshi) Saxon
- Re: [tlug] iptables: port forwarding
- From: Nguyen Vu Hung
- References:
- Re: [tlug] iptables: port forwarding
- From: Nguyen Vu Hung
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] iptables: port forwarding
- Next by Date: [tlug] Still looking for the old d: drive...
- Previous by thread: Re: [tlug] iptables: port forwarding
- Next by thread: [tlug] Still looking for the old d: drive...
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links