LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-26-2001, 10:37 PM   #1
santiagodelgado
LQ Newbie
 
Registered: Oct 2001
Posts: 15

Rep: Reputation: 0
Good News!!


You can access your PC behind the NAT'ed Linux box from the internet. Try using these commands:

iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j DNAT --to 5.6.7.8:8080

This should send all the requests you get on the server that does the NAT on port 80 and sends them to the machine with the IP 5.6.7.8 port 8080.

If you're interested in NAT this is a great HOWTO.
 
Old 11-26-2001, 10:40 PM   #2
santiagodelgado
LQ Newbie
 
Registered: Oct 2001
Posts: 15

Original Poster
Rep: Reputation: 0
Sorry!!

This was a response to the questions about NAT and getting servers inside a NAT to receive requests from the net, that by accident became an individual Post.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Good news for a change burroughs SUSE / openSUSE 1 03-17-2005 01:38 PM
Possible good news about Patrick V. dhave Slackware 24 12-20-2004 01:44 AM
This looks like good news floppywhopper General 1 11-23-2004 07:57 AM
good news for conexant modems fool_inteligent Linux - Hardware 1 09-11-2002 02:55 AM
Oooohh good news!! Ich_hoffe Linux - General 9 09-03-2002 03:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration