Re: provide NAT service with 1 LAN card only

From: Fool (fool_at_tom.com)
Date: 08/01/03


Date: 2 Aug 2003 01:13:38 +0800

I have tried, but it does not work.
However, your information help me to seek further solutions. I shall see
more Linux books to learn about NAT.
Thank you very much.

"Michael Forster" <admin@muckworld.com> ¼¶¼g©ó¶l¥ó
news:3f29e55f$1@news.userve.net...
>
> "Fool" <fool@tom.com> wrote in message news:3f2abaac$1@lungfunggdn.org...
> > I have a service installed Redhat 7.2.
> > It has 1 LAN card only.
> > The LAN card is connected to two machines: (via a hub)
> > - an ADSL modem
> > - another computer acting as a workstation (ip 10.10.10.61)
> >
> > I have tried the following 2 commands:
> > 1) echo 1 > /proc/sys/net/ipv4/ip_forward
> > 2) iptables -A FORWARD -s 10.10.10.61 -p icmp -j ACCEPT
> >
> The line no 2 should be somethnng like this
> iptables -t nat -A POSTROUTING -o pppoe -j MASQUERADE
>
> This assumes that your ADSL modem is device pppoe
> This would enable your NAT.
>
> Mike.
>
>
>

          * ~ let us linux ~ *

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----



Relevant Pages

  • RE: [fw-wiz] NAT Pseudo Security
    ... On Wed, 2004-05-05 at 02:49, Ben Nagy wrote: ... > Here are Paul, Mike and I rehashing the saaaame argument in 2002, two years ... of NAT and a product that does NAT ...
    (Firewall-Wizards)
  • Re: 2 LANS on 1 DSL
    ... > I'm playing around with aliasing and checking out the different NAT ... Packet filters rules can be applied to the aliased nets. ... Mike ...
    (comp.security.firewalls)
  • Re: DNS for Idiots...
    ... > NAT addresses, but are mainly for public use. ... > AD domain & it's own dns server, so I'm not sure why we'd ... Mike did my post not make it to your news server? ...
    (microsoft.public.win2000.dns)
  • Re: bridging multiple interfaces
    ... ext Manuel Rabade (MiG) wrote: ... I'm using the NAT on the ADSL router, because that's the only public IP ...
    (freebsd-questions)
  • Re: ADSL connection dropping randomly
    ... Mike> block. ... Note that I avoid your ... Mike> of a router should be put up against the wall and shot. ... Once again, NAT!= security, and a device behind NAT is still exposed to a ...
    (comp.security.ssh)