[clue-tech] getting a small box to perform * NATP *

Jim Ockers ockers at ockers.net
Fri Sep 23 17:19:01 MDT 2005


Hi Gus,

This is a pretty small Linux box, maybe it would work for you?

http://linuxdevices.com/news/NS8386088053.html

:)

Then do something like

iptables -t nat -I PREROUTING -d 216.17.171.234 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.2.235:2080
iptables -t filter -I INPUT -d 216.17.171.234 -p tcp -m tcp --dport 80 -j ACCEPT

I didn't test that for syntax but the actual command(s) will be something
like that.  Make sure ip forwarding is turned on, I think that'll be needed
too.

Hope this helps,
Jim

Gus Salavatore Calabrese wrote:
> 
> 
> --===============1605408366==
> Content-Type: multipart/alternative; boundary=Apple-Mail-8-1033588976
> 
> 
> --Apple-Mail-8-1033588976
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain;
> 	charset=US-ASCII;
> 	delsp=yes;
> 	format=flowed
> 
> I would like to find a baby router ( like a Linksys ) or install some
> NATP functionality on a Linksys WRT54G or similar.  Can anybody help
> me with this ?
> 
> For example: I would like 216.17.171.234:80 ( public ) to hit the  
> magic router
> and be translated to 192.168.2.235:2080 ( local )  .
> I guess I could set up a linux box, although I was shooting for  
> something smaller.
> 
> thanks
> 
> * NAT/NAPT: (Network Address and Network
> Address Port Translation): Provides enhanced
> security and flexibility by "hiding" all IP
> addresses on the LAN behind a single statically
> or dynamically assigned IP address on the
> Internet. Port Translation allows mail, Web,
> PPTP, and other servers on the LAN to be
> accessible from the Internet. (RFC 1631)
> 
> 
> 
> 
> 
> Augustus Gustavius Salvatore Calabrese 720.222.1309    AGSC
> www.omegadogs.com   Denver, CO
> 
> and now the small print:
> 
> Disclaimer: The above statements are not intended as an endorsement  
> of any kind and any inference of having any verifiable knowledge  
> about anything referenced above is purely coincidental. ( it is  
> hoped ! )  If any statement above might get the author into trouble,  
> it was not supported by the author but passed along from some mal- 
> content as an educational experience.  Alignment is with authority  
> figures at all time; especially those with large police forces.   
> PLEASE DON'T HURT ME !  I AM ON THE GROUND AND SUBMISSIVE.
> 
> If you are not part of the solution, you are precipitate.
> 
> ALL ORIGINAL COMMENTS / IDEAS / TEXT IN THIS MISSIVE ARE PUBLIC  
> DOMAIN.  USE THEM AS YOU WILL.
> 
> 
> 
> --Apple-Mail-8-1033588976
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/html;
> 	charset=ISO-8859-1
> 
> <HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
> -khtml-line-break: after-white-space; ">I would like to find a baby =
> router ( like a Linksys ) or install some<DIV>NATP functionality on a =
> Linksys WRT54G or similar.=A0 Can anybody help=A0</DIV><DIV>me with this =
> ?</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV>For =
> example: I would like 216.17.171.234:80 ( public ) to hit the magic =
> router=A0</DIV><DIV>and be translated to 192.168.2.235:2080 ( local ) =
> =A0.</DIV><DIV>I guess I could set up a linux box, although I was =
> shooting for something smaller.</DIV><DIV><BR =
> class=3D"khtml-block-placeholder"></DIV><DIV>thanks</DIV><DIV><FONT =
> class=3D"Apple-style-span" size=3D"7"><SPAN class=3D"Apple-style-span" =
> style=3D"font-size: 36px;"><BR =
> class=3D"khtml-block-placeholder"></SPAN></FONT></DIV><DIV =
> style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> margin-left: 0px; "><SPAN class=3D"Apple-style-span"><FONT =
> class=3D"Apple-style-span" size=3D"7"><SPAN class=3D"Apple-style-span" =
> style=3D"font-size: 36px;">*</SPAN></FONT> NAT/NAPT: (Network Address =
> and Network</SPAN></DIV><DIV style=3D"margin-top: 0px; margin-right: =
> 0px; margin-bottom: 0px; margin-left: 0px; ">Address Port Translation): =
> Provides enhanced</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> margin-bottom: 0px; margin-left: 0px; ">security and flexibility by =
> "hiding" all IP</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> margin-bottom: 0px; margin-left: 0px; ">addresses on the LAN behind a =
> single statically</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> margin-bottom: 0px; margin-left: 0px; ">or dynamically assigned IP =
> address on the</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> margin-bottom: 0px; margin-left: 0px; ">Internet. Port Translation =
> allows mail, Web,</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> margin-bottom: 0px; margin-left: 0px; ">PPTP, and other servers on the =
> LAN to be</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> margin-bottom: 0px; margin-left: 0px; ">accessible from the Internet. =
> (RFC 1631)</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> margin-bottom: 0px; margin-left: 0px; "><BR =
> class=3D"khtml-block-placeholder"></DIV><DIV style=3D"margin-top: 0px; =
> margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR =
> class=3D"khtml-block-placeholder"></DIV><DIV style=3D"margin-top: 0px; =
> margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR =
> class=3D"khtml-block-placeholder"></DIV><BR><BR><DIV> <SPAN =
> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
> font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
> normal; letter-spacing: normal; line-height: normal; text-align: auto; =
> -khtml-text-decorations-in-effect: none; text-indent: 0px; =
> -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
> white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
> font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
> normal; letter-spacing: normal; line-height: normal; text-align: auto; =
> -khtml-text-decorations-in-effect: none; text-indent: 0px; =
> -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
> white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
> font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
> normal; letter-spacing: normal; line-height: normal; text-align: auto; =
> -khtml-text-decorations-in-effect: none; text-indent: 0px; =
> -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
> white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
> font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
> normal; letter-spacing: normal; line-height: normal; text-align: auto; =
> -khtml-text-decorations-in-effect: none; text-indent: 0px; =
> -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
> white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
> font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
> normal; letter-spacing: normal; line-height: normal; text-align: auto; =
> -khtml-text-decorations-in-effect: none; text-indent: 0px; =
> -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
> white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
> font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
> normal; letter-spacing: normal; line-height: normal; text-align: auto; =
> -khtml-text-decorations-in-effect: none; text-indent: 0px; =
> -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
> white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
> font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
> normal; letter-spacing: normal; line-height: normal; text-align: auto; =
> -khtml-text-decorations-in-effect: none; text-indent: 0px; =
> -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
> white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
> font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
> normal; letter-spacing: normal; line-height: normal; text-align: auto; =
> -khtml-text-decorations-in-effect: none; text-indent: 0px; =
> -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
> white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
> font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
> normal; letter-spacing: normal; line-height: normal; text-align: auto; =
> -khtml-text-decorations-in-effect: none; text-indent: 0px; =
> -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
> white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
> font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
> normal; letter-spacing: normal; line-height: normal; text-align: auto; =
> -khtml-text-decorations-in-effect: none; text-indent: 0px; =
> -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
> white-space: normal; widows: 2; word-spacing: 0px; "><DIV =
> style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> margin-left: 0px; ">Augustus Gustavius Salvatore Calabrese =
> 720.222.1309=A0=A0 =A0AGSC<DIV style=3D"margin-top: 0px; margin-right: =
> 0px; margin-bottom: 0px; margin-left: 0px; ">www.omegadogs.com=A0=A0=A0Den=
> ver, CO</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> margin-bottom: 0px; margin-left: 0px; "><BR =
> class=3D"khtml-block-placeholder"></DIV><DIV style=3D"margin-top: 0px; =
> margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">and now the =
> small print:</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> margin-bottom: 0px; margin-left: 0px; "><BR =
> class=3D"khtml-block-placeholder"></DIV><DIV style=3D"margin-top: 0px; =
> margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Disclaimer: =
> The above statements are not intended as an endorsement of=A0any kind =
> and any inference of having any verifiable knowledge about=A0anything =
> referenced above is purely coincidental. ( it is hoped ! )=A0 If any =
> statement above might get the author into trouble, it was not supported =
> by the author but passed along from some mal-content as an educational =
> experience.=A0 Alignment is with authority figures at all time; =
> especially those with large police forces.=A0=A0PLEASE DON'T HURT ME !=A0 =
> I AM ON THE GROUND AND SUBMISSIVE.</DIV></DIV><DIV style=3D"margin-top: =
> 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR =
> class=3D"khtml-block-placeholder"></DIV><DIV style=3D"margin-top: 0px; =
> margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">If you are =
> not part of the solution, you are precipitate.</DIV><DIV><BR =
> class=3D"khtml-block-placeholder"></DIV><DIV>ALL ORIGINAL COMMENTS / =
> IDEAS / TEXT IN THIS MISSIVE ARE PUBLIC DOMAIN.=A0 USE THEM AS YOU =
> WILL.</DIV><BR =
> class=3D"Apple-interchange-newline"></SPAN></SPAN></SPAN></SPAN></SPAN></S=
> PAN></SPAN></SPAN></SPAN></SPAN> </DIV><BR></BODY></HTML>=
> 
> --Apple-Mail-8-1033588976--
> 
> 
> --===============1605408366==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> CLUE-tech mailing list
> CLUE-tech at cluedenver.org
> http://cluedenver.org/mailman/listinfo/clue-tech
> --===============1605408366==--
> 

_______________________________________________
CLUE-tech mailing list
CLUE-tech at cluedenver.org
http://cluedenver.org/mailman/listinfo/clue-tech



More information about the clue-tech mailing list