LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-12-2003, 07:05 PM   #1
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
Not a biggie, but can anyone help with forwarding port 80?


Hi all, My brother is visiting me and he runs a web server from his PC (Win 2000). He cannot access the website he's got on it from outside the LAN, so a friend of his suggested that I "forward port 80 to his machine". The internet is provided to us via a RH 8 box acting as a router, DNS server, sendmail server, etc. Know what this friend is talking about? I tried playing around with iptables but didn't really get anywhere. Lemme know if you have any ideas! Thx all

Chris
 
Old 05-12-2003, 07:38 PM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Sorry but this is going to sound very,very patronising but...just leave it and go for pint/drink with your brother and forget about it. It's the simple solution believe me other than buying/going for a drink -computers suck..
 
Old 05-12-2003, 09:11 PM   #3
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
You feeling alright? Having a bad day sir? lol. I hear ya. If you say it's a simple solution, you must know how to do it. How about spreading the knowledge wealth? Anyone know how to do this?

Chris
 
Old 05-12-2003, 10:39 PM   #4
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Nah, just having a beer day...just wondered what someone not been able to access their own hosted site had to do with your own particular set-up unless he was on your LAN...hiccupp....Monday is international beer day (least it would be if I had my way)....if it's on your LAN then port forwarding yah...hic...sorry not to be much more help for the moment
 
Old 05-14-2003, 05:51 AM   #5
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
it is an iptables thing, what you want is to learn about DNAT, basically it will take an incoming connection to port x on your gateway and rewrite the packet to head to another machine/port.

check http://www.netfilter.org in the HOWTO section, specifically the NAT HOWTO
 
Old 05-14-2003, 07:18 AM   #6
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Thanks, I took care of it. I appreciate it, all!

Chris
 
Old 05-14-2003, 12:40 PM   #7
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
tell your brother he might also wanna make sure he has all the latest patches for IIS if that's the webserver he's using.....if he's not using IIS then disregard
 
  


Reply



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
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 12:08 PM
Port 80 forwarding to port 22 with iptables zahoo Linux - Networking 3 02-22-2005 07:22 AM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 10:37 AM
No biggie, but ... Aphix Linux - General 4 10-11-2002 09:21 AM

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

All times are GMT -5. The time now is 07:21 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