LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 04-15-2007, 09:37 AM   #1
wilper
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
how to Port forward web server using iptables


Good day,

Im a newbie in iptables and i just want to know how to forward my webserver in port 80 in my private lan to see in public IP. example 192.168.2.23:80 that can see in internet 222.222.22.22:8080.? Thanks in advanced

 
Old 04-15-2007, 12:39 PM   #2
nmh+linuxquestions.o
Member
 
Registered: Feb 2007
Posts: 135

Rep: Reputation: 15
Quote:
Originally Posted by wilper
Good day,

Im a newbie in iptables and i just want to know how to forward my webserver in port 80 in my private lan to see in public IP. example 192.168.2.23:80 that can see in internet 222.222.22.22:8080.? Thanks in advanced

Have you already checked:

http://www.linuxquestions.org/questi...ad.php?t=31132
http://www.linuxquestions.org/questi...ad.php?t=31132
http://tldp.org/HOWTO/IP-Masquerade-HOWTO/index.html
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPTABLES port Forward abhijeetudas Linux - Networking 1 12-02-2005 04:00 AM
IPtables Forward 1 Port to another on the same IP KevinB Linux - Networking 2 01-13-2005 10:56 PM
How to port forward with IPTABLES... Scrag Linux - Security 6 12-13-2004 04:57 AM
iptables - change port and forward to a internal server leandrok Linux - Networking 0 01-16-2004 09:52 AM
Forward port port 80 to lan web server dulaus Linux - Networking 9 10-04-2002 03:45 AM


All times are GMT -5. The time now is 03:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration