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 and port-forwarding concerns
- Date: Thu, 22 Apr 2004 10:01:37 +0200
- From: David Santinoli <u235@example.com>
- Subject: Re: [tlug] iptables and port-forwarding concerns
- References: <20040422001900.130cfff5.gstewart@example.com> <20040421225109.GA15589@example.com> <20040421233253.GG11018%jmglov@example.com>
- Organization: Fastpath Research
- User-agent: Mutt/1.5.6i
On Wed, Apr 21, 2004 at 07:32:53PM -0400, Josh Glover wrote: > > > 4) Given that I have a static public IP address, is IP > > > masquerading the right solution for distributing the Internet > > > connection to the LAN or should I be looking at full NAT instead > > > in the first place? > > > > I'm not sure I got this right: are you just wondering whether you can > > substitute "-j SNAT" for "-j MASQUERADE", or is there more? > > Nope, SNAT works like this: > > iptables -A POSTROUTING -o eth0 -j SNAT --to-source <your firewall's IP> I know. I didn't mean to imply that one can just literally s/-j MASQUERADE/-j SNAT/ and keep the rest of the rule intact; rather, I was supposing that Godwin knew about the substantial equivalence of the two forms, apart from the syntax, and therefore his question had some obscure implications I couldn't see. :-) Cheers, David -- David Santinoli, Milano + <david@example.com> Independent Linux/Unix consultant + http://www.santinoli.com
- References:
- [tlug] iptables and port-forwarding concerns
- From: Godwin Stewart
- Re: [tlug] iptables and port-forwarding concerns
- From: David Santinoli
- Re: [tlug] iptables and port-forwarding concerns
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Fixing Thinkpad for Linux
- Next by Date: Re: [tlug] iptables and port-forwarding concerns
- Previous by thread: Re: [tlug] iptables and port-forwarding concerns
- Next by thread: Re: [tlug] iptables and port-forwarding concerns
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links