Re: provide NAT service with 1 LAN card only
From: Fool (fool_at_tom.com)
Date: 08/01/03
- Next message: /dev/rob0: "Re: single login"
- Previous message: H. S.: "Re: ssh question"
- In reply to: Michael Forster: "Re: provide NAT service with 1 LAN card only"
- Next in thread: Joe: "Re: provide NAT service with 1 LAN card only"
- Reply: Joe: "Re: provide NAT service with 1 LAN card only"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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! =-----
- Next message: /dev/rob0: "Re: single login"
- Previous message: H. S.: "Re: ssh question"
- In reply to: Michael Forster: "Re: provide NAT service with 1 LAN card only"
- Next in thread: Joe: "Re: provide NAT service with 1 LAN card only"
- Reply: Joe: "Re: provide NAT service with 1 LAN card only"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|